diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 07:31:27 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 07:31:27 +0000 |
| commit | aa62a8dc7f573c64fdb891238bcc5be7129e0acd (patch) | |
| tree | 6c842246f3330a377b53bf6088ff9037d3e755cf | |
| parent | 2571638b29fac97808af8a76c5629a49634f4abc (diff) | |
automatic import of python-validatesnsopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-validatesns.spec | 72 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/validatesns-0.1.1.tar.gz diff --git a/python-validatesns.spec b/python-validatesns.spec new file mode 100644 index 0000000..5321bba --- /dev/null +++ b/python-validatesns.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-validatesns +Version: 0.1.1 +Release: 1 +Summary: Validate integrity of Amazon SNS messages +License: UNKNOWN +URL: https://github.com/nathforge/validatesns +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/37/0b/853d508150da9f568fdb6b2a510da1c869c7efb9643af363d8ddf1090b0b/validatesns-0.1.1.tar.gz +BuildArch: noarch + + +%description + + +%package -n python3-validatesns +Summary: Validate integrity of Amazon SNS messages +Provides: python-validatesns +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-validatesns + + +%package help +Summary: Development documents and examples for validatesns +Provides: python3-validatesns-doc +%description help + + +%prep +%autosetup -n validatesns-0.1.1 + +%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-validatesns -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.1-1 +- Package Spec generated @@ -0,0 +1 @@ +a3bdbbd36aaed2a56f7c30a78a4c028d validatesns-0.1.1.tar.gz |
