Hello community, here is the log from the commit of package python-OpenEXR for openSUSE:Factory checked in at Fri Sep 23 10:36:16 CEST 2011. -------- --- python-OpenEXR/python-OpenEXR.changes 2009-08-26 15:46:55.000000000 +0200 +++ /mounts/work_src_done/STABLE/python-OpenEXR/python-OpenEXR.changes 2011-09-22 10:06:26.000000000 +0200 @@ -1,0 +2,8 @@ +Thu Sep 22 08:03:48 UTC 2011 - saschpe@suse.de + +- Update to 1.2.0: + * Support for the StringVector attribute, used in multiView. +- Spec file cleanup: + * Use SUSE version check around %py_requires + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- OpenEXR-1.0.3.tar.bz2 New: ---- OpenEXR-1.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-OpenEXR.spec ++++++ --- /var/tmp/diff_new_pack.S7Ab0v/_old 2011-09-23 10:36:12.000000000 +0200 +++ /var/tmp/diff_new_pack.S7Ab0v/_new 2011-09-23 10:36:12.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-OpenEXR (Version 1.0.3) +# spec file for package python-OpenEXR # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: python-OpenEXR -Version: 1.0.3 -Release: 1 +Version: 1.2.0 +Release: 0 Summary: Python bindings for OpenEXR Group: Development/Libraries/Python License: BSD 3-clause (or similar) Url: http://excamera.com/articles/26/openexr.html -Source0: http://pypi.python.org/packages/source/O/OpenEXR/OpenEXR-%{version}.tar.bz2 +Source0: http://pypi.python.org/packages/source/O/OpenEXR/OpenEXR-%{version}.tar.gz Source1: http://excamera.com/files/OpenEXR.pdf # license will be included in future release # see http://www.mail-archive.com/openexr-devel@nongnu.org/msg00844.html @@ -34,7 +33,10 @@ BuildRequires: python-devel BuildRequires: OpenEXR-devel BuildRequires: gcc-c++ -%{py_requires} +%if 0%{?suse_version} +%py_requires +%endif +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %description OpenEXR is an image format developed by ILM. Its main innovation is @@ -46,6 +48,7 @@ Note that this module only loads and stores images: it does not do any image manipulation operations. For that you might want to use one of: + * PIL * NumPy * vop @@ -69,6 +72,7 @@ Note that this module only loads and stores images: it does not do any image manipulation operations. For that you might want to use one of: + * PIL * NumPy * vop @@ -77,32 +81,23 @@ * UINT * FLOAT - %prep %setup -q -n OpenEXR-%{version} cp %{SOURCE1} %{SOURCE1000} . %build -export CFLAGS="%{optflags}" -python setup.py build +CFLAGS="%{optflags}" python setup.py build %install -python setup.py install \ - --root=%{buildroot} \ - --prefix=%{_prefix} \ - --install-data=%{_datadir}/%{name}-%{version} \ - --record-rpm=INSTALLED_FILES - -%clean -rm -rf %{buildroot} +python setup.py install --root=%{buildroot} --prefix=%{_prefix} -%files -f INSTALLED_FILES -%defattr(-,root,root,0755) +%files +%defattr(-,root,root,-) %doc license.txt -%dir %{_datadir}/%{name}-%{version}/ +%{python_sitearch}/* %files doc -%defattr(-,root,root,0755) +%defattr(-,root,root,-) %doc OpenEXR.pdf %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org