summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 01:45:33 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 01:45:33 +0000
commit6eb3b64e8c0a4ba7ff4567e1e68de7d759797602 (patch)
tree065012559d75a1ad4e6f90adcd92e61f0ae9cbdb
parentc34cd2831d5b4bdbaa8e73700845a2bf397c0933 (diff)
automatic import of python-integration-toolsopeneuler20.03
-rw-r--r--python-integration-tools.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-integration-tools.spec b/python-integration-tools.spec
index 43ff7e4..79e009c 100644
--- a/python-integration-tools.spec
+++ b/python-integration-tools.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A package in development stages which allows to integrate few data-sets using machine learning tools
License: MIT License
URL: https://github.com/sharon200102/integration_tools/tree/update_to_pytorch_lightning
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/dc/bb/acb899668c8622b168566589b19315e9a8dd01bdc0e8448781995ee58c6d/integration_tools-0.7.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/dc/bb/acb899668c8622b168566589b19315e9a8dd01bdc0e8448781995ee58c6d/integration_tools-0.7.1.tar.gz
BuildArch: noarch
Requires: python3-torch
@@ -33,7 +33,7 @@ Provides: python3-integration-tools-doc
%prep
-%autosetup -n integration-tools-0.7.1
+%autosetup -n integration_tools-0.7.1
%build
%py3_build
@@ -47,20 +47,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
- find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
- find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
- find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
- find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
- find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
@@ -73,5 +73,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.1-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.1-1
- Package Spec generated