diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-15 08:02:51 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 08:02:51 +0000 |
| commit | bd5f3160b67a7f964772d854c8d6326eeab418bd (patch) | |
| tree | f17bff5cd2e76094ff150ae4a67df354e0c21fee | |
| parent | 2acc03d4b1a5200f4c1913ebb1d4f137b3f19705 (diff) | |
automatic import of python-stups-sevenseconds
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-stups-sevenseconds.spec | 86 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 88 insertions, 0 deletions
@@ -0,0 +1 @@ +/stups-sevenseconds-1.2.112.tar.gz diff --git a/python-stups-sevenseconds.spec b/python-stups-sevenseconds.spec new file mode 100644 index 0000000..467bd42 --- /dev/null +++ b/python-stups-sevenseconds.spec @@ -0,0 +1,86 @@ +%global _empty_manifest_terminate_build 0 +Name: python-stups-sevenseconds +Version: 1.2.112 +Release: 1 +Summary: Configure AWS accounts +License: Apache License 2.0 +URL: https://github.com/zalando-stups/sevenseconds +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6c/aa/8657f96a489549a2407f23e688e2127887cde5a107ddab5adbe293e2f742/stups-sevenseconds-1.2.112.tar.gz +BuildArch: noarch + +Requires: python3-clickclick +Requires: python3-boto3 +Requires: python3-botocore +Requires: python3-netaddr +Requires: python3-requests +Requires: python3-keyring +Requires: python3-gnupg +Requires: python3-dateutil +Requires: python3-datetime +Requires: python3-PyYAML +Requires: python3-PyJWT +Requires: python3-stups-zign +Requires: python3-setuptools +Requires: python3-flake8 + +%description + + +%package -n python3-stups-sevenseconds +Summary: Configure AWS accounts +Provides: python-stups-sevenseconds +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-stups-sevenseconds + + +%package help +Summary: Development documents and examples for stups-sevenseconds +Provides: python3-stups-sevenseconds-doc +%description help + + +%prep +%autosetup -n stups-sevenseconds-1.2.112 + +%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-stups-sevenseconds -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.112-1 +- Package Spec generated @@ -0,0 +1 @@ +de627d01d0aa4c2b8b850472392f99d3 stups-sevenseconds-1.2.112.tar.gz |
