diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-03-09 07:09:17 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-03-09 07:09:17 +0000 |
commit | 9a331782520b172f7b4bab09f2d77266edcfa4f9 (patch) | |
tree | ad2e458b3d778b31c6cf570d3caeedb1f5f6c3b4 | |
parent | e883ece75f6fe2c694bebda02cee51f7c464329a (diff) |
automatic import of python-django-rq
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-django-rq.spec | 77 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 79 insertions, 0 deletions
@@ -0,0 +1 @@ +/django-rq-2.7.0.tar.gz diff --git a/python-django-rq.spec b/python-django-rq.spec new file mode 100644 index 0000000..bd8f676 --- /dev/null +++ b/python-django-rq.spec @@ -0,0 +1,77 @@ +%global _empty_manifest_terminate_build 0 +Name: python-django-rq +Version: 2.7.0 +Release: 1 +Summary: An app that provides django integration for RQ (Redis Queue) +License: MIT +URL: https://github.com/rq/django-rq +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e4/0c/3f3efc1ea662989b37b8953f161225f98c981fd0ba5610850b9da5b9b68a/django-rq-2.7.0.tar.gz +BuildArch: noarch + +Requires: python3-django +Requires: python3-rq +Requires: python3-redis +Requires: python3-raven +Requires: python3-mock + +%description + + +%package -n python3-django-rq +Summary: An app that provides django integration for RQ (Redis Queue) +Provides: python-django-rq +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-django-rq + + +%package help +Summary: Development documents and examples for django-rq +Provides: python3-django-rq-doc +%description help + + +%prep +%autosetup -n django-rq-2.7.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-django-rq -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2.7.0-1 +- Package Spec generated @@ -0,0 +1 @@ +cd99d99a9b8fd0740d95f422443329fa django-rq-2.7.0.tar.gz |