Hello community,

here is the log from the commit of package python-django for openSUSE:Factory
checked in at Tue Mar 8 10:23:42 CET 2011.



--------
--- python-django/python-django.changes 2011-02-09 04:40:40.000000000 +0100
+++ /mounts/work_src_done/STABLE/python-django/python-django.changes    
2011-03-03 10:49:32.000000000 +0100
@@ -1,0 +2,10 @@
+Thu Mar  3 09:32:52 UTC 2011 - [email protected]
+
+- Spec file cleanup:
+  * Removed empty lines, package authors from description
+  * Cleanup duplicates
+  * Corrected wrong file endings
+  * Added zero-length rpmlint filter
+- Added AUTHORS, LICENSE and doc files
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-django.spec ++++++
--- /var/tmp/diff_new_pack.fsVCo7/_old  2011-03-08 10:11:56.000000000 +0100
+++ /var/tmp/diff_new_pack.fsVCo7/_new  2011-03-08 10:11:56.000000000 +0100
@@ -15,50 +15,52 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+# norootforbuild
 
-%define real_version 1.2.5
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name:           python-django
 Version:        1.2.5
-Release:        1
+Release:        6
 License:        BSD
 Summary:        A high-level Python Web framework
 Url:            http://www.djangoproject.com
 Group:          Development/Libraries/Python
-Source:         Django-%{real_version}.tar.bz2
+Source:         Django-%{version}.tar.bz2
 Source1:        python-django-rpmlintrc
 # PATCH-FIX-UPSTREAM Django-1.2-completion-only-for-bash.patch
 Patch1:         Django-1.2-completion-only-for-bash.patch
 # PATCH-FIX-UPSTREAM empty-ip-2.diff
 Patch2:         empty-ip-2.diff
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
+BuildRequires:  dos2unix
 Requires:       python-xml
 Requires:       gettext-tools
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{py_requires}
 %define py_vers %(%{__python} -c 'import sys; print 
int(10*float(sys.version[:3]))')
 %if %{py_vers} < 26
 Requires:       python-sqlite2
 %endif
-%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
+%if 0%{?suse_version}
+%py_requires
+%if 0%{?suse_version} > 1010
+BuildRequires:  fdupes
+%endif
+%if 0%{?suse_version} > 1110
 BuildArch:      noarch
-%else
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(True)")}
+%endif
 %endif
 
 %description
 Django is a high-level Python Web framework that encourages rapid development 
and clean, pragmatic design.
 
-Author:
---------
-    Django Software Foundation <[email protected]>
-
 %prep
-%setup -q -n Django-%{real_version}
+%setup -q -n Django-%{version}
 %patch1 -p1
 %patch2 -p1
+find . -name admindocs.txt -print0 | xargs -0 dos2unix  # fix wrong line 
endings
 
 %build
 export CFLAGS="%{optflags}"
@@ -68,18 +70,16 @@
 %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} 
--record-rpm=INSTALLED_FILES
 %{__install} -d %{buildroot}%{_sysconfdir}/bash_completion.d
 %{__install} -m 0755 extras/django_bash_completion 
%{buildroot}%{_sysconfdir}/bash_completion.d/django_bash_completion.sh
+%if 0%{?suse_version} > 1010
+%fdupes %{buildroot}
+%endif
 
 %clean
 %{__rm} -rf %{buildroot}
 
 %files -f INSTALLED_FILES
 %defattr(-,root,root)
-#%attr(755,root,root) %{python_sitelib}/django/bin/*.py
-#%attr(644,root,root) %{python_sitelib}/django/bin/__init__.py
-#%attr(755,root,root) %{python_sitelib}/django/conf/project_template/manage.py
-#%attr(755,root,root) 
%{python_sitelib}/django/bin/profiling/gather_profile_stats.py
-#%{_bindir}/django-admin.py
-#%{python_sitelib}*
+%doc AUTHORS LICENSE README docs
 %{_sysconfdir}/bash_completion.d/django_bash_completion.sh
-%doc README
+
 %changelog

++++++ python-django-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.fsVCo7/_old  2011-03-08 10:11:56.000000000 +0100
+++ /var/tmp/diff_new_pack.fsVCo7/_new  2011-03-08 10:11:56.000000000 +0100
@@ -1 +1,2 @@
 addFilter("file-not-in-%lang")
+addFilter("zero-length")


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to