summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 18:51:21 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 18:51:21 +0000
commit43b430629872f367c1e24c1ed0230c37a68b3dd3 (patch)
tree6e07bb5804460543300da19999f0d8fcdab70d18
parentaa5a313347668d75424d290ee3c0e5d8d4a68281 (diff)
automatic import of python-pyliblzmaopeneuler20.03
-rw-r--r--python-pyliblzma.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-pyliblzma.spec b/python-pyliblzma.spec
index aa634f5..622fb54 100644
--- a/python-pyliblzma.spec
+++ b/python-pyliblzma.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Python bindings for liblzma
License: LGPL 3
URL: https://launchpad.net/pyliblzma
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/17/48/5292ade507dafe573360560ba53783395587dc42eb32b347feb2ac70fc6b/pyliblzma-0.5.3.tar.bz2
+Source0: https://mirrors.aliyun.com/pypi/web/packages/17/48/5292ade507dafe573360560ba53783395587dc42eb32b347feb2ac70fc6b/pyliblzma-0.5.3.tar.bz2
BuildArch: noarch
@@ -34,7 +34,7 @@ to read and write data that has been compressed or can be decompressed
by Lasse Collin's xz / lzma utils.
%prep
-%autosetup -n pyliblzma-0.5.3
+%autosetup -n pyliblzma.tar-0.5.3
%build
%py3_build
@@ -48,20 +48,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 .
@@ -74,5 +74,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.3-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.3-1
- Package Spec generated