summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 07:02:21 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 07:02:21 +0000
commitb9fbce923c1623849a3f8a951bca88a0013a3f34 (patch)
tree9b389c721f61fc74c3400cc5da400995b0d2a94f
parent0273867f89785a0e2acbb5fce5b20bd5895fe13c (diff)
automatic import of python-validations-libs
-rw-r--r--.gitignore1
-rw-r--r--python-validations-libs.spec78
-rw-r--r--sources1
3 files changed, 80 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c116359 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/validations-libs-1.9.0.tar.gz
diff --git a/python-validations-libs.spec b/python-validations-libs.spec
new file mode 100644
index 0000000..47cccf5
--- /dev/null
+++ b/python-validations-libs.spec
@@ -0,0 +1,78 @@
+%global _empty_manifest_terminate_build 0
+Name: python-validations-libs
+Version: 1.9.0
+Release: 1
+Summary: A common library for the validations framework
+License: Apache Software License
+URL: https://docs.openstack.org/validations-libs/latest/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3d/3d/aa9e9fe6b41fdfe91e34eac48e17aec20c4436a2c50432c68a51ef2640aa/validations-libs-1.9.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-PyYAML
+Requires: python3-ansible
+Requires: python3-ansible-runner
+Requires: python3-cliff
+Requires: python3-pbr
+Requires: python3-six
+
+%description
+
+
+%package -n python3-validations-libs
+Summary: A common library for the validations framework
+Provides: python-validations-libs
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-validations-libs
+
+
+%package help
+Summary: Development documents and examples for validations-libs
+Provides: python3-validations-libs-doc
+%description help
+
+
+%prep
+%autosetup -n validations-libs-1.9.0
+
+%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-validations-libs -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.9.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..4ad5c34
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b0f535b1de91d20d92ef195164849101 validations-libs-1.9.0.tar.gz