summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 18:05:46 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 18:05:46 +0000
commit586b2b60decc4f6fd8e1981ac29f0d485018037b (patch)
tree4b2d7bb0eecd7d66b2b8cf39d2cf15a97b4c414f
parenta191e63a2e4e4a1aa6fdf79a4d6f795eea07486a (diff)
automatic import of python-encapsia-apiopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-encapsia-api.spec18
-rw-r--r--sources2
3 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 8826eaa..c262b9c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/encapsia_api-0.4.0.tar.gz
+/encapsia_api-0.4.2.tar.gz
diff --git a/python-encapsia-api.spec b/python-encapsia-api.spec
index 2454cc8..219e24b 100644
--- a/python-encapsia-api.spec
+++ b/python-encapsia-api.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-encapsia-api
-Version: 0.4.0
+Version: 0.4.2
Release: 1
Summary: Client API for talking to an Encapsia system.
License: MIT
URL: https://github.com/Encapsia/encapsia-api
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c6/3e/e642bb5253a83b1decdd9eac0d1869bd5570d7db440e22504d63ae5d7af8/encapsia_api-0.4.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/3a/85/bc0ca1f4ca2a7f773849b0d0b8cf2306ba2d599aac0cae3dadcb9effbfd9/encapsia_api-0.4.2.tar.gz
BuildArch: noarch
Requires: python3-requests[security]
@@ -337,7 +337,7 @@ commit to or pull requests targeting the main branch.
%prep
-%autosetup -n encapsia-api-0.4.0
+%autosetup -n encapsia_api-0.4.2
%build
%py3_build
@@ -351,20 +351,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 .
@@ -377,5 +377,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.2-1
- Package Spec generated
diff --git a/sources b/sources
index 6a4fcca..3af43ce 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7d1293f8bc6c730ced1ba373c388c142 encapsia_api-0.4.0.tar.gz
+224b3a01fd406def27d4bb4ac12b5854 encapsia_api-0.4.2.tar.gz