rebuilt with python3 [release 1.8.1-2mamba;Sat May 16 2015]
This commit is contained in:
parent
f43b33136a
commit
75db7c9dbe
@ -1,7 +1,7 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
Name: python-django
|
Name: python-django
|
||||||
Version: 1.8.1
|
Version: 1.8.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A high-level Python Web framework
|
Summary: A high-level Python Web framework
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -13,12 +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: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: python-Sphinx
|
||||||
BuildRequires: python-Jinja2
|
BuildRequires: python-Jinja2
|
||||||
Requires: python >= %python_version
|
Requires: python3 >= %python3_version
|
||||||
Requires: python-simplejson
|
Requires: python-simplejson-py3
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -39,21 +39,21 @@ This package contains documentation for %{name} high-level Python Web framework.
|
|||||||
#cp -p %{SOURCE1} __init__.py
|
#cp -p %{SOURCE1} __init__.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python} setup.py build
|
%{__python3} setup.py build
|
||||||
|
|
||||||
%install
|
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
||||||
%{__python} setup.py install \
|
|
||||||
--skip-build \
|
|
||||||
--root="%{buildroot}" \
|
|
||||||
--install-headers=%{_includedir}/python \
|
|
||||||
--install-lib=%{python_sitearch}
|
|
||||||
|
|
||||||
(
|
(
|
||||||
cd docs
|
cd docs
|
||||||
make html
|
make html
|
||||||
)
|
)
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%{__python3} setup.py install \
|
||||||
|
--skip-build \
|
||||||
|
--root="%{buildroot}" \
|
||||||
|
--install-headers=%{_includedir}/python \
|
||||||
|
--install-lib=%{python3_sitearch}
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_mandir}/man1/
|
mkdir -p %{buildroot}%{_mandir}/man1/
|
||||||
cp -p docs/man/* %{buildroot}%{_mandir}/man1/
|
cp -p docs/man/* %{buildroot}%{_mandir}/man1/
|
||||||
|
|
||||||
@ -66,36 +66,28 @@ find %{buildroot} -name "*.po" | xargs rm -f
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python_sitearch}/Django-%{version}-py%{python_version}.egg-info
|
%{python3_sitearch}/Django-%{version}-py%{python3_version}.egg-info
|
||||||
%{_bindir}/django-admin
|
%{_bindir}/django-admin
|
||||||
%dir %{python_sitearch}/django
|
%dir %{python3_sitearch}/django
|
||||||
%{python_sitearch}/django/*.py*
|
%{python3_sitearch}/django/*.py*
|
||||||
%dir %{python_sitearch}/django/bin
|
%{python3_sitearch}/django/apps
|
||||||
%{python_sitearch}/django/bin/*.py*
|
%{python3_sitearch}/django/bin
|
||||||
%dir %{python27_sitearch}/django/apps
|
%{python3_sitearch}/django/conf
|
||||||
%{python27_sitearch}/django/apps/*
|
%{python3_sitearch}/django/contrib
|
||||||
%dir %{python_sitearch}/django/conf
|
%{python3_sitearch}/django/core
|
||||||
%{python_sitearch}/django/conf/*.py*
|
%{python3_sitearch}/django/db
|
||||||
%dir %{python_sitearch}/django/conf/project_template
|
%{python3_sitearch}/django/dispatch
|
||||||
%{python_sitearch}/django/conf/project_template/*.py*
|
%{python3_sitearch}/django/forms
|
||||||
%dir %{python_sitearch}/django/conf/project_template/project_name
|
%{python3_sitearch}/django/http
|
||||||
%{python_sitearch}/django/conf/project_template/project_name/*.py*
|
%{python3_sitearch}/django/middleware
|
||||||
%{python_sitearch}/django/conf/app_template
|
#%{python3_sitearch}/django/shortcuts
|
||||||
%{python_sitearch}/django/conf/locale
|
%{python3_sitearch}/django/template
|
||||||
%{python_sitearch}/django/conf/urls
|
%{python3_sitearch}/django/templatetags
|
||||||
%{python_sitearch}/django/contrib
|
%{python3_sitearch}/django/test
|
||||||
%{python_sitearch}/django/core
|
%{python3_sitearch}/django/utils
|
||||||
%{python_sitearch}/django/db
|
%{python3_sitearch}/django/views
|
||||||
%{python_sitearch}/django/dispatch
|
%dir %{python3_sitearch}/django/__pycache__
|
||||||
%{python_sitearch}/django/forms
|
%{python3_sitearch}/django/__pycache__/*
|
||||||
%{python_sitearch}/django/http
|
|
||||||
%{python_sitearch}/django/middleware
|
|
||||||
#%{python_sitearch}/django/shortcuts
|
|
||||||
%{python_sitearch}/django/template
|
|
||||||
%{python_sitearch}/django/templatetags
|
|
||||||
%{python_sitearch}/django/test
|
|
||||||
%{python_sitearch}/django/utils
|
|
||||||
%{python_sitearch}/django/views
|
|
||||||
#%{_mandir}/man1/daily_cleanup.1*
|
#%{_mandir}/man1/daily_cleanup.1*
|
||||||
%{_mandir}/man1/django-admin.1*
|
%{_mandir}/man1/django-admin.1*
|
||||||
#%{_mandir}/man1/gather_profile_stats.1*
|
#%{_mandir}/man1/gather_profile_stats.1*
|
||||||
@ -106,6 +98,9 @@ find %{buildroot} -name "*.po" | xargs rm -f
|
|||||||
%doc docs/_build/html/*
|
%doc docs/_build/html/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-2mamba
|
||||||
|
- rebuilt with python3
|
||||||
|
|
||||||
* Thu May 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-1mamba
|
* Thu May 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-1mamba
|
||||||
- update to 1.8.1
|
- update to 1.8.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user