Hello community,

here is the log from the commit of package python-cairo for openSUSE:Factory 
checked in at 2012-02-17 12:08:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cairo (Old)
 and      /work/SRC/openSUSE:Factory/.python-cairo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cairo/python-cairo.changes        
2011-09-23 12:42:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-cairo.new/python-cairo.changes   
2012-02-17 12:08:33.000000000 +0100
@@ -1,0 +2,10 @@
+Wed Feb  1 11:17:32 UTC 2012 - [email protected]
+
+- Add group to devel package
+
+-------------------------------------------------------------------
+Tue Jan 10 07:51:57 UTC 2012 - [email protected]
+
+- trying to get the license right for spdx
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cairo.spec ++++++
--- /var/tmp/diff_new_pack.stbSBy/_old  2012-02-17 12:08:34.000000000 +0100
+++ /var/tmp/diff_new_pack.stbSBy/_new  2012-02-17 12:08:34.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cairo
 #
-# Copyright (c) 2011 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
@@ -16,57 +16,54 @@
 #
 
 
-
 Name:           python-cairo
-%define _name   py2cairo
 Version:        1.10.0
-Release:        1
+Release:        0
 Summary:        Python Bindings for Cairo
-License:        LGPLv2.1+ ; MPL ..
+License:        LGPL-2.1+ or MPL-1.1
 Group:          Development/Libraries/Python
 # FIXME: on update, check if we still need to manually compile the byte-code 
in %%install
 Url:            http://www.cairographics.org/
-Source:         %{_name}-%{version}.tar.bz2
+Source:         py2cairo-%{version}.tar.bz2
 BuildRequires:  cairo-devel
 BuildRequires:  fdupes
 BuildRequires:  python-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%py_requires
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%endif
 
 %description
 Python bindings for cairo.
 
 %package devel
-License:        LGPLv2.1+ ; MPL ..
 Summary:        Headers for python-cairo
-Group:          Development/Libraries/Python
+Group:          Development/Libraries/C and C++
 Requires:       %name = %{version}
-Requires:       cairo-devel python-devel
+Requires:       cairo-devel
+Requires:       python-devel
 
 %description devel
 Headers for python-cairo
 
 %prep
-%setup -n %{_name}-%{version}
+%setup -n py2cairo-%{version}
 
 %build
-./waf configure --prefix=%{_prefix} --libdir=%{_libdir}
-./waf build
+waf configure --prefix=%{_prefix} --libdir=%{_libdir}
+waf build
 
 %install
-./waf install --destdir=%{buildroot}
+waf install --destdir=%{buildroot}
 # waf is broken and generated byte-code that references the build root, see 
http://code.google.com/p/waf/issues/detail?id=986
-%py_compile $RPM_BUILD_ROOT/%{py_sitedir}
-%py_compile -O $RPM_BUILD_ROOT/%{py_sitedir}
-%fdupes $RPM_BUILD_ROOT/%{py_sitedir}
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%py_compile %{buildroot}/%{py_sitedir}
+%py_compile -O %{buildroot}/%{py_sitedir}
+%fdupes %{buildroot}/%{py_sitedir}
 
 %files
 %defattr(-,root,root)
 %doc AUTHORS COPYING COPYING-* INSTALL NEWS README
-%{py_sitedir}/cairo/
+%{python_sitearch}/cairo/
 
 %files devel
 %defattr(-,root,root)

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

Reply via email to