summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 03:32:45 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 03:32:45 +0000
commitf827289d1a4c264c4c3f7e1e9ed455693463df12 (patch)
tree614b57241b76f34cdd759b8a1f9602e393fdadc8
parentd3a9211398adab3ed816cefa735f3c55078c2aa8 (diff)
automatic import of python-createrepo-copeneuler20.03
-rw-r--r--python-createrepo-c.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-createrepo-c.spec b/python-createrepo-c.spec
index 95ddc40..ee416a7 100644
--- a/python-createrepo-c.spec
+++ b/python-createrepo-c.spec
@@ -28,7 +28,7 @@ Provides: python3-createrepo-c-doc
%prep
-%autosetup -n createrepo-c-0.21.1
+%autosetup -n createrepo_c-0.21.1
%build
%py3_build
@@ -42,20 +42,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 .
@@ -68,5 +68,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.21.1-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.21.1-1
- Package Spec generated