summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python-pootle.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-pootle.spec b/python-pootle.spec
index c5b40f5..782aaac 100644
--- a/python-pootle.spec
+++ b/python-pootle.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: An online collaborative localization tool.
License: GNU General Public License 3 or later (GPLv3+)
URL: http://pootle.translatehouse.org
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1d/b5/74de9b1ee914589a7e6bea90a6be376a06d523887c1f4b17e602a4a97aa6/Pootle-2.8.2.tar.bz2
+Source0: https://mirrors.aliyun.com/pypi/web/packages/1d/b5/74de9b1ee914589a7e6bea90a6be376a06d523887c1f4b17e602a4a97aa6/Pootle-2.8.2.tar.bz2
BuildArch: noarch
@@ -55,7 +55,7 @@ localization tool. It works to lower the barrier of entry, providing tools to
enable teams to work towards higher quality while welcoming newcomers.
%prep
-%autosetup -n Pootle-2.8.2
+%autosetup -n Pootle.tar-2.8.2
%build
%py3_build
@@ -69,20 +69,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 .
@@ -95,5 +95,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 2.8.2-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2.8.2-1
- Package Spec generated