diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 05:24:12 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 05:24:12 +0000 |
commit | 3e74a24313e2d62f23066691b5ae78368179fe26 (patch) | |
tree | e5a270a25e222ce69403c577fa1f0996f356decb | |
parent | 84f097bc63c16bbd2d81ec70dc7de5dc215d16dc (diff) |
automatic import of python-stups-senzaopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-stups-senza.spec | 84 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 86 insertions, 0 deletions
@@ -0,0 +1 @@ +/stups-senza-2.1.143.tar.gz diff --git a/python-stups-senza.spec b/python-stups-senza.spec new file mode 100644 index 0000000..08a3d16 --- /dev/null +++ b/python-stups-senza.spec @@ -0,0 +1,84 @@ +%global _empty_manifest_terminate_build 0 +Name: python-stups-senza +Version: 2.1.143 +Release: 1 +Summary: AWS Cloud Formation deployment CLI +License: Apache License 2.0 +URL: https://github.com/zalando-stups/senza +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6a/ea/01e4b20293b6bca24020b1cb8e67104bda61c0636d5e3cc0a37d3a5f389c/stups-senza-2.1.143.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-arrow +Requires: python3-clickclick +Requires: python3-pystache +Requires: python3-PyYAML +Requires: python3-dnspython +Requires: python3-stups-pierone +Requires: python3-boto3 +Requires: python3-botocore +Requires: python3-pytest +Requires: python3-raven +Requires: python3-typing + +%description + + +%package -n python3-stups-senza +Summary: AWS Cloud Formation deployment CLI +Provides: python-stups-senza +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-stups-senza + + +%package help +Summary: Development documents and examples for stups-senza +Provides: python3-stups-senza-doc +%description help + + +%prep +%autosetup -n stups-senza-2.1.143 + +%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-senza -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.143-1 +- Package Spec generated @@ -0,0 +1 @@ +845916b3e38bf05c94af0bfa2f0716c7 stups-senza-2.1.143.tar.gz |