Hello community,

here is the log from the commit of package python-logilab-astng for 
openSUSE:Factory checked in at 2011-11-25 11:13:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-logilab-astng (Old)
 and      /work/SRC/openSUSE:Factory/.python-logilab-astng.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-logilab-astng", Maintainer is "[email protected]"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-logilab-astng/python-logilab-astng.changes    
    2011-09-26 10:50:48.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-logilab-astng.new/python-logilab-astng.changes
   2011-11-25 10:13:46.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Oct  6 08:48:58 CEST 2011 - [email protected]
+
+- make it build on old distros
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-logilab-astng.spec ++++++
--- /var/tmp/diff_new_pack.7xjnL0/_old  2011-11-25 10:13:47.000000000 +0100
+++ /var/tmp/diff_new_pack.7xjnL0/_new  2011-11-25 10:13:47.000000000 +0100
@@ -27,7 +27,9 @@
 Source:         logilab-astng-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
+%if 0%{?suse_version} > 1120
 BuildRequires:  python-nose
+%endif
 Requires:       python-logilab-common
 %if 0%{?suse_version}
 %py_requires
@@ -35,6 +37,7 @@
 BuildArch:      noarch
 %endif
 %endif
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 %description
 The aim of this module is to provide a common base representation of
@@ -62,13 +65,14 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root="%{buildroot}"
-%if ! 0%{?sles_version}
-rm %{buildroot}/%{python_sitelib}/logilab/__init__.py # Avoid conflict with 
python-logilab-common
-%endif
+rm -f %{buildroot}/%{python_sitelib}/logilab/__init__.py # Avoid conflict with 
python-logilab-common
 rm -rf %{buildroot}/%{python_sitelib}/logilab/astng/test # Do not package 
testsuite
 
+%if 0%{?suse_version} > 1120
+
 %check
 nosetests # Use nosetests because upstream testsuite script is kind of broken
+%endif
 
 %files
 %defattr(-,root,root,-)

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

Reply via email to