summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 07:28:47 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 07:28:47 +0000
commitb89540bf1051862e08afff5dde7f2c6742fcd836 (patch)
treebc5fd21ec442c355ea5b3f1ecbc1e2762115b2af
parent035d7956fe4fe3eebd77bf7b8cbfc743d4d07938 (diff)
automatic import of python-duo-universalopeneuler20.03
-rw-r--r--python-duo-universal.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-duo-universal.spec b/python-duo-universal.spec
index de2752a..3ee1ed3 100644
--- a/python-duo-universal.spec
+++ b/python-duo-universal.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Duo Web SDK for two-factor authentication
License: BSD
URL: https://github.com/duosecurity/duo_universal_python
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2d/66/b4fbfaa211eda3547695c7aae0781d9b462b5e84b4280f4cfa4001dccd27/duo_universal-2.0.3.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/2d/66/b4fbfaa211eda3547695c7aae0781d9b462b5e84b4280f4cfa4001dccd27/duo_universal-2.0.3.tar.gz
BuildArch: noarch
Requires: python3-cryptography
@@ -234,7 +234,7 @@ https://duo.com/
%prep
-%autosetup -n duo-universal-2.0.3
+%autosetup -n duo_universal-2.0.3
%build
%py3_build
@@ -248,20 +248,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 .
@@ -274,5 +274,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.3-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.3-1
- Package Spec generated