summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 18:16:32 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 18:16:32 +0000
commit8247d6bb919a7273631747955f293bb01a37073c (patch)
tree176df8d5e7a9568cc16705180f8d92b1186be232
parenta8d49f5132d515afa94f37fc238e831eccfc911d (diff)
automatic import of python-rotate-backupsopeneuler20.03
-rw-r--r--python-rotate-backups.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-rotate-backups.spec b/python-rotate-backups.spec
index 359a628..5e74183 100644
--- a/python-rotate-backups.spec
+++ b/python-rotate-backups.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Simple command line interface for backup rotation
License: MIT
URL: https://github.com/xolox/python-rotate-backups
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bd/86/b3921ca2e2f66fc5c347f55f7c4d2bd49292f113cc65713e9337ffb3c6a8/rotate-backups-8.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/bd/86/b3921ca2e2f66fc5c347f55f7c4d2bd49292f113cc65713e9337ffb3c6a8/rotate-backups-8.1.tar.gz
BuildArch: noarch
Requires: python3-coloredlogs
@@ -118,20 +118,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 .
@@ -144,5 +144,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 8.1-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 8.1-1
- Package Spec generated