Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2012-06-15 14:05:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-decorator (Old)
 and      /work/SRC/openSUSE:Factory/.python-decorator.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-decorator", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-decorator/python3-decorator.changes       
2012-05-29 10:35:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-decorator.new/python3-decorator.changes  
2012-06-15 14:05:23.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jun 14 12:06:48 UTC 2012 - toddrme2...@gmail.com
+
+- Fix building on openSUSE <= 12.1
+- Minor spec file cleanups
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python3-decorator.spec ++++++
--- /var/tmp/diff_new_pack.H8W8Wr/_old  2012-06-15 14:05:24.000000000 +0200
+++ /var/tmp/diff_new_pack.H8W8Wr/_new  2012-06-15 14:05:24.000000000 +0200
@@ -16,7 +16,6 @@
 #
 
 
-
 Name:           python3-decorator
 Version:        3.3.3
 Release:        0
@@ -26,23 +25,18 @@
 Group:          Development/Languages/Python
 Source:         
http://pypi.python.org/packages/source/d/decorator/decorator-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  python3-2to3
 BuildRequires:  python3-devel
 BuildRequires:  python3-distribute
 BuildRequires:  python3-nose
-BuildRequires: python3-2to3
-
 %if 0%{?suse_version} && 0%{?suse_version} <= 1140
 %{!?python3_sitelib: %global python3_sitelib %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 %{!?py3_ver: %global py3_ver %(python3 -c "import sys; 
version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); 
print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
-%endif
-Requires:       python(abi) = %{py3_ver}
-%if 0%{?suse_version} && 0%{?suse_version} > 1140
+%else
 BuildRequires:  python3-base
 %endif
-
-%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
-BuildArchitectures: noarch
-%endif
+Requires:       python(abi) = %{py3_ver}
+BuildArch:      noarch
 
 %description
 As of now, writing custom decorators correctly requires some experience and it
@@ -65,9 +59,7 @@
 
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%if 0%{?suse_version} > 1210
-rm -r %{buildroot}%{python3_sitelib}/__pycache__/
-%endif
+rm -rf %{buildroot}%{python3_sitelib}/__pycache__/
 
 %files
 %defattr(-,root,root,-)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to