diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 11:54:27 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 11:54:27 +0000 |
| commit | e667aa605ee0836a50a1a2f5c282178444a06dbe (patch) | |
| tree | 975e4b9554fb4f2cfb82188a3884f0dd134a2138 | |
| parent | 41e36dc43458f7bf0892c14d0716a9760b49fe3f (diff) | |
automatic import of python-requests-sigv4
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-requests-sigv4.spec | 78 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 80 insertions, 0 deletions
@@ -0,0 +1 @@ +/requests-sigv4-0.1.6.tar.gz diff --git a/python-requests-sigv4.spec b/python-requests-sigv4.spec new file mode 100644 index 0000000..acff6a0 --- /dev/null +++ b/python-requests-sigv4.spec @@ -0,0 +1,78 @@ +%global _empty_manifest_terminate_build 0 +Name: python-requests-sigv4 +Version: 0.1.6 +Release: 1 +Summary: Library for making sigv4 requests to AWS API endpoints +License: Apache License 2.0 +URL: https://github.com/cleardataeng/requests-sigv4 +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cb/1a/87638abd6ef571b0cca1a23e30bd412622f1e86d3de6f51f4ae989d711b3/requests-sigv4-0.1.6.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-requests-aws-sign +Requires: python3-boto3 + +%description +Library for making sigv4 requests to AWS API endpoints + + +%package -n python3-requests-sigv4 +Summary: Library for making sigv4 requests to AWS API endpoints +Provides: python-requests-sigv4 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-requests-sigv4 +Library for making sigv4 requests to AWS API endpoints + + +%package help +Summary: Development documents and examples for requests-sigv4 +Provides: python3-requests-sigv4-doc +%description help +Library for making sigv4 requests to AWS API endpoints + + +%prep +%autosetup -n requests-sigv4-0.1.6 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +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 +fi +if [ -d usr/lib64 ]; then + 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 +fi +if [ -d usr/sbin ]; then + 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 +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-requests-sigv4 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.6-1 +- Package Spec generated @@ -0,0 +1 @@ +5b62fdb2c233318e164b585cadb63de3 requests-sigv4-0.1.6.tar.gz |
