Hello community,

here is the log from the commit of package python-cups for openSUSE:Factory 
checked in at 2012-09-06 09:00:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cups (Old)
 and      /work/SRC/openSUSE:Factory/.python-cups.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cups", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cups/python-cups.changes  2012-03-29 
07:47:21.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-cups.new/python-cups.changes     
2012-09-06 09:00:31.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Sep  3 01:59:14 UTC 2012 - [email protected]
+
+- Remove redundant %clean section
+- Make package compile on RH6-like systems by using standard
+  python macros
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cups.spec ++++++
--- /var/tmp/diff_new_pack.xfwKn8/_old  2012-09-06 09:00:36.000000000 +0200
+++ /var/tmp/diff_new_pack.xfwKn8/_new  2012-09-06 09:00:36.000000000 +0200
@@ -18,17 +18,20 @@
 
 Name:           python-cups
 %define _name   pycups
-BuildRequires:  cups-devel
-BuildRequires:  python-devel
 Version:        1.9.61
 Release:        0
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Url:            http://cyberelk.net/tim/software/pycups/
-Source:         http://cyberelk.net/tim/data/pycups/%{_name}-%{version}.tar.bz2
 Summary:        Python Bindings for CUPS
 License:        GPL-2.0+
 Group:          Development/Libraries/Python
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Url:            http://cyberelk.net/tim/software/pycups/
+Source:         http://cyberelk.net/tim/data/pycups/%{_name}-%{version}.tar.bz2
+BuildRequires:  cups-devel
+BuildRequires:  python-devel
+%if 0%{?py_requires}
 %py_requires
+%endif
 
 %description
 Python Bindings for CUPS, the Common Unix Printing System
@@ -43,13 +46,10 @@
 %{__python} setup.py install --prefix=%{_prefix} --root %{buildroot}
 make install-rpmhook DESTDIR=%{buildroot}
 
-%clean
-%{__rm} -rf %{buildroot}
-
 %files
 %defattr(-,root,root)
-%{py_sitedir}/cups.so
-%{py_sitedir}/%{_name}-%{version}-py%{python_version}.egg-info
+%python_sitearch/cups.so
+%python_sitearch/%_name-%version-py%python_version.egg-info
 %{_rpmconfigdir}/fileattrs/psdriver.attr
 %{_rpmconfigdir}/postscriptdriver.prov
 

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

Reply via email to