summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 04:00:54 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 04:00:54 +0000
commitb48e51dc9f76dbc9128c9b2c6414fedf479d03ec (patch)
tree46cefdc4c11f1fe1658d0d3e8a25d4c728134e1a
parent3a6cf26ab03b0ad7220ec401d61d360184bba0ea (diff)
automatic import of python-django-oscar-promotions
-rw-r--r--.gitignore1
-rw-r--r--python-django-oscar-promotions.spec74
-rw-r--r--sources1
3 files changed, 76 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7344ffa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-oscar-promotions-1.0.0b1.tar.gz
diff --git a/python-django-oscar-promotions.spec b/python-django-oscar-promotions.spec
new file mode 100644
index 0000000..926baa6
--- /dev/null
+++ b/python-django-oscar-promotions.spec
@@ -0,0 +1,74 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-oscar-promotions
+Version: 1.0.0b1
+Release: 1
+Summary: Promotions for Django Oscar
+License: BSD
+URL: https://github.com/oscaro/django-oscar-promotins
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3f/85/8ea98ddf72cd6a2e65115e06410b6546e3bc22743c3fade980b2c21e6a37/django-oscar-promotions-1.0.0b1.tar.gz
+BuildArch: noarch
+
+Requires: python3-django
+Requires: python3-django-oscar
+
+%description
+
+
+%package -n python3-django-oscar-promotions
+Summary: Promotions for Django Oscar
+Provides: python-django-oscar-promotions
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-oscar-promotions
+
+
+%package help
+Summary: Development documents and examples for django-oscar-promotions
+Provides: python3-django-oscar-promotions-doc
+%description help
+
+
+%prep
+%autosetup -n django-oscar-promotions-1.0.0b1
+
+%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-oscar-promotions -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0b1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..3e5e7b1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6c76729ed231e66928a06f122ee20001 django-oscar-promotions-1.0.0b1.tar.gz