summaryrefslogtreecommitdiff
path: root/python-pyopnsense.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 06:38:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 06:38:23 +0000
commitdcc9b1311f7a424f8c08cdcbdb5f4c023979ce73 (patch)
treef8f41908cde47bd602d4dc579cd789b4f5073e81 /python-pyopnsense.spec
parent8b2ee1c3cff8f0689deff8b3b2d53524920c7e0a (diff)
automatic import of python-pyopnsenseopeneuler20.03
Diffstat (limited to 'python-pyopnsense.spec')
-rw-r--r--python-pyopnsense.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-pyopnsense.spec b/python-pyopnsense.spec
index 3d414f4..9d8180f 100644
--- a/python-pyopnsense.spec
+++ b/python-pyopnsense.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A python API client for OPNsense
License: GNU General Public License v3 (GPLv3)
URL: https://pypi.org/project/pyopnsense/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/28/ca/712f71ad67c2f2eafde2b56c4d3d479d7b90902b03a31b55c9a0b872bc90/pyopnsense-0.3.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/28/ca/712f71ad67c2f2eafde2b56c4d3d479d7b90902b03a31b55c9a0b872bc90/pyopnsense-0.3.0.tar.gz
BuildArch: noarch
Requires: python3-pbr
@@ -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
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.0-1
- Package Spec generated