summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 17:49:58 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 17:49:58 +0000
commit4e14291ac15be6088b13d5a8387e0fd6460fedca (patch)
treef29812bd4da8c15374dce4207af22487cb415728
parent1cf5473cb59d217b8068af0568e44f8678bb8552 (diff)
automatic import of python-django-jsonfield-backport
-rw-r--r--.gitignore1
-rw-r--r--python-django-jsonfield-backport.spec73
-rw-r--r--sources1
3 files changed, 75 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..92edcdb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-jsonfield-backport-1.0.5.tar.gz
diff --git a/python-django-jsonfield-backport.spec b/python-django-jsonfield-backport.spec
new file mode 100644
index 0000000..8ff62e2
--- /dev/null
+++ b/python-django-jsonfield-backport.spec
@@ -0,0 +1,73 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-jsonfield-backport
+Version: 1.0.5
+Release: 1
+Summary: Backport of the cross-DB JSONField model and form fields from Django 3.1.
+License: BSD
+URL: https://github.com/laymonage/django-jsonfield-backport
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ab/f5/669c9c89fd1f1b9d53104fb6007b11044d19cee47108d7d3ccb0df4a4d48/django-jsonfield-backport-1.0.5.tar.gz
+BuildArch: noarch
+
+Requires: python3-Django
+
+%description
+
+
+%package -n python3-django-jsonfield-backport
+Summary: Backport of the cross-DB JSONField model and form fields from Django 3.1.
+Provides: python-django-jsonfield-backport
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-jsonfield-backport
+
+
+%package help
+Summary: Development documents and examples for django-jsonfield-backport
+Provides: python3-django-jsonfield-backport-doc
+%description help
+
+
+%prep
+%autosetup -n django-jsonfield-backport-1.0.5
+
+%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-jsonfield-backport -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..938660a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e65c86c743e269cfcfcda3387f1ae1c5 django-jsonfield-backport-1.0.5.tar.gz