Hello community,

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

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xlib/python-xlib.changes  2011-09-23 
12:43:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-xlib.new/python-xlib.changes     
2012-09-06 09:04:42.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Sep  3 00:50:45 UTC 2012 - [email protected]
+
+- Remove redundant (%clean, Authors) sections
+- Make package compile on RH6-like as well
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-xlib.spec ++++++
--- /var/tmp/diff_new_pack.zELjyb/_old  2012-09-06 09:04:43.000000000 +0200
+++ /var/tmp/diff_new_pack.zELjyb/_new  2012-09-06 09:04:43.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-xlib (Version 0.14)
+# spec file for package python-xlib
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,17 +15,13 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           python-xlib
-BuildRequires:  python-devel
-License:        GPL-2.0+
-Group:          Development/Libraries/Python
-AutoReqProv:    on
 Version:        0.14
-Release:        92
+Release:        0
 Summary:        Python X11 interface
+License:        GPL-2.0+
+Group:          Development/Libraries/Python
 Url:            http://python-xlib.sourceforge.net/
 Source:         python-xlib-%{version}.tar.bz2
 # PATCH-FIX-UPSTREAM python-xlib-0.14-fix-unix-socket-in-display.patch 
deb#324443
@@ -35,8 +31,12 @@
 # PATCH-FIX-OPENSUSE python-xlib-0.14-xauthlocalhostname.patch bnc#623507
 Patch2:         python-xlib-0.14-xauthlocalhostname.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{py_requires}
-%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
+BuildRequires:  python-devel
+%if 0%{?py_requires}
+%py_requires
+%endif
+%if 0%{!?sles_version} || 0%{?sles_version} >= 12
+# SLE11 has weird location for python_sitearch
 BuildArch:      noarch
 %endif
 
@@ -44,13 +44,6 @@
 The Python X Library is intended to be a fully functional X client
 library for Python programs.
 
-
-
-Authors:
---------
-    Mike Grant <mggrant at users.sourceforge.net>
-    Peter Liljenberg <petli at users.sourceforge.net>
-
 %prep
 %setup
 %patch0 -p1
@@ -58,17 +51,16 @@
 %patch2 -p1
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="%optflags"
 python setup.py build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT 
--record-rpm=INSTALLED_FILES
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+python setup.py install --prefix="%_prefix" --root="%buildroot"
 
-%files -f INSTALLED_FILES 
+%files
 %defattr(-,root,root)
 %doc README NEWS TODO COPYING
+%python_sitelib/Xlib
+%python_sitelib/python_xlib-*py*.egg-info
 
 %changelog

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

Reply via email to