automatic version update by autodist [release 3.2.4-1mamba;Wed Jun 02 2021]

This commit is contained in:
Automatic Build System 2024-01-06 11:04:01 +01:00
parent d49422900c
commit fcfedbf9eb

View File

@ -1,6 +1,6 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: python-django Name: python-django
Version: 3.1.7 Version: 3.2.4
Release: 1mamba Release: 1mamba
Summary: A high-level Python Web framework Summary: A high-level Python Web framework
Group: System/Libraries/Python Group: System/Libraries/Python
@ -13,13 +13,12 @@ Source: https://www.djangoproject.com/m/releases/%{majver}/Django-%{versi
Source1: simplejson-init.py Source1: simplejson-init.py
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython36-devel BuildRequires: libpython3-devel
BuildRequires: python3.7dist(asgiref)
BuildRequires: python3.7dist(pytz)
BuildRequires: python3.7dist(setuptools)
BuildRequires: python3.7dist(sqlparse)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python-Sphinx
BuildRequires: python-Jinja2
Requires: python36 >= %python36_version
Requires: python-simplejson-py36
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Django is a high-level Python Web framework that encourages rapid development and a clean, pragmatic design. It focuses on automating as much as possible and adhering to the DRY (Don't Repeat Yourself) principle. Django is a high-level Python Web framework that encourages rapid development and a clean, pragmatic design. It focuses on automating as much as possible and adhering to the DRY (Don't Repeat Yourself) principle.
@ -32,73 +31,55 @@ Summary: Documentation for %{name}
Django is a high-level Python Web framework that encourages rapid development and a clean, pragmatic design. It focuses on automating as much as possible and adhering to the DRY (Don't Repeat Yourself) principle. Django is a high-level Python Web framework that encourages rapid development and a clean, pragmatic design. It focuses on automating as much as possible and adhering to the DRY (Don't Repeat Yourself) principle.
This package contains documentation for %{name} high-level Python Web framework. This package contains documentation for %{name} high-level Python Web framework.
%if "%{?with_pyver}"
%pyver_package
%endif
%prep %prep
%setup -q -n Django-%{version} %setup -q -n Django-%{version}
#cd django/utils/simplejson/
#rm -rf *
#cp -p %{SOURCE1} __init__.py
%build %build
%{__python36} setup.py build CFLAGS="%{optflags}" %{__python} setup.py build
(
cd docs
make html
)
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python36} setup.py install \ %{__python} setup.py install \
--skip-build \ -O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{_includedir}/python \ --install-headers=%{python_inc} \
--install-lib=%{python36_sitearch} --install-lib=%{python_sitearch} \
--record=%{name}.filelist
mkdir -p %{buildroot}%{_mandir}/man1/ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
cp -p docs/man/* %{buildroot}%{_mandir}/man1/
mv %{buildroot}%{_bindir}/django-admin.py %{buildroot}%{_bindir}/django-admin
find %{buildroot} -name "*.po" | xargs rm -f
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%{python36_sitearch}/Django-%{version}-py%{python36_version}.egg-info %dir %{python_sitearch}/Django-%{version}-py*.egg-info
%{_bindir}/django-admin %{python_sitearch}/Django-%{version}-py*.egg-info/*
%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*
%doc AUTHORS LICENSE %doc AUTHORS LICENSE
%files doc
%defattr(-,root,root)
%doc docs/_build/html/*
%changelog %changelog
* Wed Jun 02 2021 Automatic Build System <autodist@mambasoft.it> 3.2.4-1mamba
- automatic version update by autodist
* Fri May 14 2021 Automatic Build System <autodist@mambasoft.it> 3.2.3-1mamba
- automatic version update by autodist
* Wed May 12 2021 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
- automatic version update by autodist
* Tue May 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-2mamba
- rebuilt with distdeps
* Tue May 04 2021 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
- automatic version update by autodist
* Tue Apr 13 2021 Automatic Build System <autodist@mambasoft.it> 3.2-1mamba
- automatic version update by autodist
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 3.1.7-1mamba * Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 3.1.7-1mamba
- automatic version update by autodist - automatic version update by autodist