automatic version update by autodist [release 2.2.2-1mamba;Sat Jun 08 2019]

This commit is contained in:
Automatic Build System 2024-01-06 11:04:00 +01:00
parent 84fa362071
commit 8e4b672816

View File

@ -1,6 +1,6 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: python-django
Version: 1.10.3
Version: 2.2.2
Release: 1mamba
Summary: A high-level Python Web framework
Group: System/Libraries/Python
@ -13,12 +13,12 @@ Source: https://www.djangoproject.com/m/releases/%{majver}/Django-%{versi
Source1: simplejson-init.py
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: libpython36-devel
## AUTOBUILDREQ-END
BuildRequires: python-Sphinx
BuildRequires: python-Jinja2
Requires: python3 >= %python3_version
Requires: python-simplejson-py3
Requires: python36 >= %python36_version
Requires: python-simplejson-py36
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@ -39,7 +39,7 @@ This package contains documentation for %{name} high-level Python Web framework.
#cp -p %{SOURCE1} __init__.py
%build
%{__python3} setup.py build
%{__python36} setup.py build
(
cd docs
@ -48,11 +48,11 @@ This package contains documentation for %{name} high-level Python Web framework.
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python3} setup.py install \
%{__python36} setup.py install \
--skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python3_sitearch}
--install-lib=%{python36_sitearch}
mkdir -p %{buildroot}%{_mandir}/man1/
cp -p docs/man/* %{buildroot}%{_mandir}/man1/
@ -66,29 +66,29 @@ find %{buildroot} -name "*.po" | xargs rm -f
%files
%defattr(-,root,root)
%{python3_sitearch}/Django-%{version}-py%{python3_version}.egg-info
%{python36_sitearch}/Django-%{version}-py%{python36_version}.egg-info
%{_bindir}/django-admin
%dir %{python3_sitearch}/django
%{python3_sitearch}/django/*.py*
%{python3_sitearch}/django/apps
%{python3_sitearch}/django/bin
%{python3_sitearch}/django/conf
%{python3_sitearch}/django/contrib
%{python3_sitearch}/django/core
%{python3_sitearch}/django/db
%{python3_sitearch}/django/dispatch
%{python3_sitearch}/django/forms
%{python3_sitearch}/django/http
%{python3_sitearch}/django/middleware
#%{python3_sitearch}/django/shortcuts
%{python3_sitearch}/django/template
%{python3_sitearch}/django/templatetags
%{python3_sitearch}/django/test
%{python3_sitearch}/django/urls
%{python3_sitearch}/django/utils
%{python3_sitearch}/django/views
%dir %{python3_sitearch}/django/__pycache__
%{python3_sitearch}/django/__pycache__/*
%dir %{python36_sitearch}/django
%{python36_sitearch}/django/*.py*
%{python36_sitearch}/django/apps
%{python36_sitearch}/django/bin
%{python36_sitearch}/django/conf
%{python36_sitearch}/django/contrib
%{python36_sitearch}/django/core
%{python36_sitearch}/django/db
%{python36_sitearch}/django/dispatch
%{python36_sitearch}/django/forms
%{python36_sitearch}/django/http
%{python36_sitearch}/django/middleware
#%{python36_sitearch}/django/shortcuts
%{python36_sitearch}/django/template
%{python36_sitearch}/django/templatetags
%{python36_sitearch}/django/test
%{python36_sitearch}/django/urls
%{python36_sitearch}/django/utils
%{python36_sitearch}/django/views
%dir %{python36_sitearch}/django/__pycache__
%{python36_sitearch}/django/__pycache__/*
#%{_mandir}/man1/daily_cleanup.1*
%{_mandir}/man1/django-admin.1*
#%{_mandir}/man1/gather_profile_stats.1*
@ -99,6 +99,12 @@ find %{buildroot} -name "*.po" | xargs rm -f
%doc docs/_build/html/*
%changelog
* Sat Jun 08 2019 Automatic Build System <autodist@mambasoft.it> 2.2.2-1mamba
- automatic version update by autodist
* Thu May 16 2019 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic version update by autodist
* Wed Nov 16 2016 Automatic Build System <autodist@mambasoft.it> 1.10.3-1mamba
- automatic version update by autodist