Hello community, here is the log from the commit of package python3-cairo for openSUSE:Factory checked in at Sun Oct 2 11:13:14 CEST 2011.
-------- --- openSUSE:Factory/python3-cairo/python3-cairo.changes 2011-09-23 12:43:31.000000000 +0200 +++ /mounts/work_src_done/STABLE/python3-cairo/python3-cairo.changes 2011-09-30 09:59:38.000000000 +0200 @@ -1,0 +2,10 @@ +Fri Sep 30 07:39:34 UTC 2011 - [email protected] + +- Add python3 BuildRequires, since the hash algorithm are not in + python3-base anymore. +- Use %{python3_sitearch} now that it's defined, instead of our own + custom macro. +- Change python3 Requires to python(abi) = %py3_ver, which is + saner. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-cairo.spec ++++++ --- /var/tmp/diff_new_pack.KHQpQ8/_old 2011-10-02 11:13:10.000000000 +0200 +++ /var/tmp/diff_new_pack.KHQpQ8/_new 2011-10-02 11:13:10.000000000 +0200 @@ -17,9 +17,7 @@ # We manually define those because we don't have any python3 macros yet -%define local_python3_abi 3.1 -%define local_python3_requires Requires: python3 -%define local_python3_sitelib %{_libdir}/python%{local_python3_abi}/site-packages +%define local_python3_requires Requires: python(abi) = %py3_ver Name: python3-cairo %define _name pycairo @@ -33,6 +31,8 @@ Url: http://www.cairographics.org/ Source: %{_name}-%{version}.tar.bz2 BuildRequires: cairo-devel +# Needed to have the modules for different hash algorithms; python3-devel only brings in python3-base +BuildRequires: python3 BuildRequires: python3-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %local_python3_requires @@ -51,7 +51,7 @@ Headers for python-cairo %prep -%setup -n %{_name}-%{version} +%setup -q -n %{_name}-%{version} %build PYTHON=python3 python3 ./waf configure --prefix=%{_prefix} --libdir=%{_libdir} @@ -60,7 +60,7 @@ %install python3 ./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 -rm %{buildroot}%{local_python3_sitelib}/cairo/*.py[co] +rm %{buildroot}%{python3_sitearch}/cairo/*.py[co] %clean rm -rf %{buildroot} @@ -68,7 +68,7 @@ %files %defattr(-,root,root) %doc AUTHORS COPYING.LESSER INSTALL NEWS README -%{local_python3_sitelib}/cairo/ +%{python3_sitearch}/cairo/ %files devel %defattr(-,root,root) continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
