diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 21:48:39 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 21:48:39 +0000 |
commit | 8406c4560e4d5636dcce7864aa10b93840e864ca (patch) | |
tree | 7b9d746f286bcfe8e99cf7b7a9bf114c1507a22f /python-dbnd-airflow-operator.spec | |
parent | 34543e1afa77e0cf16987ccf85e432b4b5026989 (diff) |
automatic import of python-dbnd-airflow-operator
Diffstat (limited to 'python-dbnd-airflow-operator.spec')
-rw-r--r-- | python-dbnd-airflow-operator.spec | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/python-dbnd-airflow-operator.spec b/python-dbnd-airflow-operator.spec new file mode 100644 index 0000000..17b13be --- /dev/null +++ b/python-dbnd-airflow-operator.spec @@ -0,0 +1,73 @@ +%global _empty_manifest_terminate_build 0 +Name: python-dbnd-airflow-operator +Version: 0.49.6 +Release: 1 +Summary: Machine Learning Orchestration +License: Apache Software License +URL: https://github.com/databand-ai/dbnd +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/19/f5/a3899c5f47e32caf2e0f62ced622d43b3ea78d4bb601dc7353a126f34c52/dbnd-airflow-operator-0.49.6.tar.gz +BuildArch: noarch + +Requires: python3-dbnd-airflow + +%description + + +%package -n python3-dbnd-airflow-operator +Summary: Machine Learning Orchestration +Provides: python-dbnd-airflow-operator +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-dbnd-airflow-operator + + +%package help +Summary: Development documents and examples for dbnd-airflow-operator +Provides: python3-dbnd-airflow-operator-doc +%description help + + +%prep +%autosetup -n dbnd-airflow-operator-0.49.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-dbnd-airflow-operator -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.49.6-1 +- Package Spec generated |