summaryrefslogtreecommitdiff
path: root/python-setux-core.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 22:39:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 22:39:28 +0000
commit3d82a6a1b6f4a77f98b7d557bf99641679b77a3c (patch)
tree056f067139a5774a08e3829848084e66f07d25e5 /python-setux-core.spec
parent64c7d79df5f893d6e4b3ed74f6954d60b96e9f76 (diff)
automatic import of python-setux-coreopeneuler20.03
Diffstat (limited to 'python-setux-core.spec')
-rw-r--r--python-setux-core.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-setux-core.spec b/python-setux-core.spec
index f4c376e..e1d9d14 100644
--- a/python-setux-core.spec
+++ b/python-setux-core.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: System deployment
License: MIT
URL: https://github.com/louis-riviere-xyz/setux_core
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0d/7c/45b12a750c15f2edc97f442151d0f21aa4b4f3b3b8b795d3c0a5479b343f/setux_core-0.2310.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/0d/7c/45b12a750c15f2edc97f442151d0f21aa4b4f3b3b8b795d3c0a5479b343f/setux_core-0.2310.0.tar.gz
BuildArch: noarch
Requires: python3-pybrary
@@ -62,7 +62,7 @@ Provides: python3-setux-core-doc
%prep
-%autosetup -n setux-core-0.2310.0
+%autosetup -n setux_core-0.2310.0
%build
%py3_build
@@ -76,20 +76,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 .
@@ -102,5 +102,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2310.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2310.0-1
- Package Spec generated