diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 21:25:07 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 21:25:07 +0000 |
commit | 88bee79a7683c19b5c35e077962e61127049faea (patch) | |
tree | c7c5fb4826cd3893a5746624b6db1ddec253cb02 | |
parent | 5a79b8ceb725e4a873e1c17f03ae0476fb0d468e (diff) |
automatic import of python-durable-rules
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-durable-rules.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/durable_rules-2.0.28.tar.gz diff --git a/python-durable-rules.spec b/python-durable-rules.spec new file mode 100644 index 0000000..ac80508 --- /dev/null +++ b/python-durable-rules.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-durable-rules +Version: 2.0.28 +Release: 1 +Summary: for real time analytics (a Python Rules Engine) +License: MIT +URL: https://github.com/jruizgit/rules +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/91/f2/3194b4eaf7260bae0a4f046dfdda5db2ed9d58b3d7a051e375b3c14d8f26/durable_rules-2.0.28.tar.gz +BuildArch: noarch + + +%description + + +%package -n python3-durable-rules +Summary: for real time analytics (a Python Rules Engine) +Provides: python-durable-rules +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-durable-rules + + +%package help +Summary: Development documents and examples for durable-rules +Provides: python3-durable-rules-doc +%description help + + +%prep +%autosetup -n durable-rules-2.0.28 + +%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-durable-rules -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.28-1 +- Package Spec generated @@ -0,0 +1 @@ +65678d26cfc4fd72f7413662887cfdf3 durable_rules-2.0.28.tar.gz |