summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 15:44:56 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 15:44:56 +0000
commitf88c4788309faff7cfac292290025244714cea66 (patch)
treef2ec4f069a88587f2afac96f1504ae91c0c7fd1b
parent088fdb8ace4fc1272eef84d648b2ea8ea3e3ab53 (diff)
automatic import of python-ungi-utilsopeneuler20.03
-rw-r--r--python-ungi-utils.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-ungi-utils.spec b/python-ungi-utils.spec
index 26820d0..f8985fb 100644
--- a/python-ungi-utils.spec
+++ b/python-ungi-utils.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Utils needed for the UNGI project
License: GPL 3.0
URL: https://pypi.org/project/ungi-utils/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/08/8f/c5184752ca6d5eddeb1af9c3f77bb2e01269dc3979717cdb0aa87d2084a9/ungi_utils-0.1.13.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/08/8f/c5184752ca6d5eddeb1af9c3f77bb2e01269dc3979717cdb0aa87d2084a9/ungi_utils-0.1.13.tar.gz
BuildArch: noarch
@@ -34,7 +34,7 @@ Provides: python3-ungi-utils-doc
Nothing here should be ran as standalone code, to use ungi please use the standalone "ungi"
%prep
-%autosetup -n ungi-utils-0.1.13
+%autosetup -n ungi_utils-0.1.13
%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.1.13-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.13-1
- Package Spec generated