summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 03:14:35 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 03:14:35 +0000
commitc77f61181bb17248818fdc3be7a3b98f6be2e5e6 (patch)
tree41f07f79a4105f2b6c7e62c1b88ff73f22ccaf5a
parent407f48391caf736ac9d9eb896f404276db25e041 (diff)
automatic import of python-blkinfoopeneuler20.03
-rw-r--r--python-blkinfo.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-blkinfo.spec b/python-blkinfo.spec
index ab02b9c..9c11c33 100644
--- a/python-blkinfo.spec
+++ b/python-blkinfo.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: blkinfo is a python package to list information about all available or the specified block devices.
License: GPLv3
URL: https://github.com/grinrag/blkinfo
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/51/04/92c0f6d2cae019384f01db784014408c98c01a9520a757cd1fd382ab95c4/blkinfo-0.2.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/51/04/92c0f6d2cae019384f01db784014408c98c01a9520a757cd1fd382ab95c4/blkinfo-0.2.0.tar.gz
BuildArch: noarch
@@ -45,20 +45,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 .
@@ -71,5 +71,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.0-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.0-1
- Package Spec generated