diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-24 07:29:26 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-24 07:29:26 +0000 |
commit | e7090eb309090e64a16fc60d8c6d6d425603c97b (patch) | |
tree | aa21be7b13cdcff386b29cd118aeac3a3acc75c8 | |
parent | 5fd9d3af711415e4f5fbf046d67e1c102462b300 (diff) |
automatic import of python3-django-rqopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-django-rq.spec | 76 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 78 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..0a62883 --- /dev/null +++ b/python-django-rq.spec @@ -0,0 +1,76 @@ +%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 +%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 +* Fri Feb 24 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 |