diff --git a/2.2.3.tar.gz b/Django-1.11.13.tar.gz similarity index 49% rename from 2.2.3.tar.gz rename to Django-1.11.13.tar.gz index 54e650ff1b761a9d2589c103da3dbb41bf95e6f1..ba99816e7edc0221dbd6cf322baf44b27084df24 100644 Binary files a/2.2.3.tar.gz and b/Django-1.11.13.tar.gz differ diff --git a/python-django.spec b/python-django.spec index 2cf9e86e788eba5fa24c1eb2f5f9f1e9384691ba..619978fc600c3d4b262cf95fe9b2c6e98d229edf 100644 --- a/python-django.spec +++ b/python-django.spec @@ -1,44 +1,44 @@ %global _empty_manifest_terminate_build 0 Name: python-django -Version: 2.2.3 -Release: 2 +Version: 1.11.13 +Release: 1 Summary: A high-level Python Web framework that encourages rapid development and clean, pragmatic design. -License: BSD-3-Clause and OFL-1.1 and Apache-2.0 and MIT -URL: https://github.com/django/django -Source0: https://github.com/django/django/archive/%{version}.tar.gz -BuildArch: noarch - -Requires: python3-asgiref -Requires: python3-pytz -Requires: python3-sqlparse -Requires: python3-argon2-cffi -Requires: python3-bcrypt - +License: MIT and Python-2.0 and Apache-2.0 +URL: https://www.djangoproject.com/ +Source0: https://files.pythonhosted.org/packages/f9/e3/b9226c6a12bd5984daa68d41f066df0021a511bfbc86b83cdfc7dce956d9/Django-1.11.13.tar.gz +BuildArch: noarch %description -A high-level Python Web framework that encourages rapid development and clean, pragmatic design. +Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. + -%package -n python3-Django +%package -n python2-django Summary: A high-level Python Web framework that encourages rapid development and clean, pragmatic design. -Provides: python-Django, python3-django -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%description -n python3-Django -A high-level Python Web framework that encourages rapid development and clean, pragmatic design. +Provides: python2-django, python2-Django +BuildRequires: python2-devel +BuildRequires: python2-setuptools +BuildRequires: python2-pip +Requires: python2-pytz +Requires: python2-argon2-cffi +Requires: python2-bcrypt +%description -n python2-django +Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. + %package help Summary: Development documents and examples for Django -Provides: python3-Django-doc +Provides: python2-django-doc %description help -Development documents and examples for Django +Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. + %prep -%autosetup -n django-%{version} +%autosetup -n Django-1.11.13 %build -%py3_build +%py2_build %install -%py3_install +%py2_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 @@ -65,15 +65,12 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-Django -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-django -f filelist.lst +%dir %{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Tus Feb 09 2021 wangxiyuan -- Add python3-django for correct package name. Due to backward compatibility, the python3-Django is kept and it should be removed in the future. - -* Fri Jan 08 2021 Python_Bot +* Thu Apr 29 2021 openstack-sig - Package Spec generated diff --git a/python-django.yaml b/python-django.yaml deleted file mode 100644 index 04368d5ad3850e21e2da410010049d54578e513e..0000000000000000000000000000000000000000 --- a/python-django.yaml +++ /dev/null @@ -1,4 +0,0 @@ -version_control: github -src_repo: django/django -tag_prefix: "^" -separator: "."