[python-django] update to Django-1.5.1

Matthias Runge mrunge at fedoraproject.org
Tue Apr 2 08:36:30 UTC 2013


commit 55390a46e8e932b95c1c804111194644f3bfd4d8
Author: Matthias Runge <mrunge at redhat.com>
Date:   Tue Apr 2 10:36:10 2013 +0200

    update to Django-1.5.1

 .gitignore         |    1 +
 python-django.spec |   23 ++++++-----------------
 sources            |    2 +-
 3 files changed, 8 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a1a01b1..4721d9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
 /Django-1.4.5.tar.gz
 /simplejson-init.py
 /Django-1.5.tar.gz
+/Django-1.5.1.tar.gz
diff --git a/python-django.spec b/python-django.spec
index a5b6668..f5a331c 100644
--- a/python-django.spec
+++ b/python-django.spec
@@ -16,8 +16,8 @@
 %global         obs_ver 1.4.5-2
 
 Name:           python-django
-Version:        1.5
-Release:        3%{?dist}
+Version:        1.5.1
+Release:        1%{?dist}
 Summary:        A high-level Python Web framework
 
 Group:          Development/Languages
@@ -58,7 +58,6 @@ development and a clean, pragmatic design. It focuses on automating as
 much as possible and adhering to the DRY (Don't Repeat Yourself)
 principle.
 
-%if 0%{?rhel} > 4 || 0%{?fedora} >= 12
 %package doc
 Summary:        Documentation for Django
 Group:          Documentation
@@ -71,7 +70,6 @@ Obsoletes:      %{pkgname}-docs < %{obs_ver}
 %description doc
 This package contains the documentation for the Django high-level
 Python Web framework.
-%endif
 
 %if 0%{?with_python3}
 %package -n python3-django-doc
@@ -376,23 +374,11 @@ popd
 %{python_sitelib}/django/conf/locale/*/*.py*
 %{python_sitelib}/django/conf/locale/*.py*
 
-# Leaving these since people may want to rebuild on lower dists
-%if 0%{?fedora} >= 9 || 0%{?rhel} >= 6
 %{python_sitelib}/*.egg-info
-%endif
 
-%if 0%{?fedora} > 0 && 0%{?fedora} <= 9
-%ghost %{_bindir}/django-admin.pyc
-%ghost %{_bindir}/django-admin.pyo
-%endif
-# -----------------
- 
 
-%if 0%{?rhel} > 4 || 0%{?fedora} >= 12
 %files doc
-%defattr(-,root,root,-)
 %doc docs/_build/html/*
-%endif
 
 %if 0%{?with_python3}
 %files -n python3-django-doc
@@ -576,7 +562,7 @@ popd
 %{python3_sitelib}/django/conf/urls/
 %{python3_sitelib}/django/conf/locale/*/*.py*
 %{python3_sitelib}/django/conf/locale/*.py*
-%{python3_sitelib}/Django-1.5-py3.3.egg-info
+%{python3_sitelib}/%{pkgname}-%{version}-py3.3.egg-info
 %{python3_sitelib}/django/__pycache__
 %{python3_sitelib}/django/bin/__pycache__
 %{python3_sitelib}/django/bin/profiling/__pycache__
@@ -605,6 +591,9 @@ popd
 
 
 %changelog
+* Tue Apr 02 2013 Matthias Runge <mrunge at redhat.com> - 1.5.1-1
+- update to Django-1.5.1 (rhbz#929413)
+
 * Wed Mar 27 2013 Miro HronĨok <mhroncok at redhat.com> - 1.5-3
 - separated lang files for Python 2 and 3
 - list %%files in Python 3 subpackage more precisely to not include locale files
diff --git a/sources b/sources
index 165c1f2..c5ef605 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fac09e1e0f11bb83bb187d652a9be967  Django-1.5.tar.gz
+7465f6383264ba167a9a031d6b058bff  Django-1.5.1.tar.gz


More information about the scm-commits mailing list