summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 06:45:43 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 06:45:43 +0000
commit869b6c5132a0528e6b6c6449559c362131cbb531 (patch)
tree7c6a1b14647e32a135170f5d5c06ae3b3823e58e
parent67a475517bba63cfd9ab0af2f293f09e4858b0ad (diff)
automatic import of python-kocher-toolsopeneuler20.03
-rw-r--r--python-kocher-tools.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-kocher-tools.spec b/python-kocher-tools.spec
index 0036f29..edb8761 100644
--- a/python-kocher-tools.spec
+++ b/python-kocher-tools.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Bioinformatic Tools for the Kocher Lab
License: MIT
URL: https://kocher-guides.readthedocs.io/en/latest/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ae/92/271cf6bb8c7a477b4abfdd7b234ad9dac319e66d887eb17bb6d109d86cd3/kocher_tools-0.1.48.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/ae/92/271cf6bb8c7a477b4abfdd7b234ad9dac319e66d887eb17bb6d109d86cd3/kocher_tools-0.1.48.tar.gz
BuildArch: noarch
Requires: python3-pyyaml
@@ -35,7 +35,7 @@ Provides: python3-kocher-tools-doc
%prep
-%autosetup -n kocher-tools-0.1.48
+%autosetup -n kocher_tools-0.1.48
%build
%py3_build
@@ -49,20 +49,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 .
@@ -75,5 +75,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.48-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.48-1
- Package Spec generated