Hello community, here is the log from the commit of package python-odfpy for openSUSE:Factory checked in at Mon Sep 26 10:16:50 CEST 2011.
-------- --- python-odfpy/python-odfpy.changes 2011-03-31 16:49:36.000000000 +0200 +++ /mounts/work_src_done/STABLE/python-odfpy/python-odfpy.changes 2011-09-21 15:49:22.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Sep 21 13:47:47 UTC 2011 - sasc...@suse.de + +- Fix non-executable scripts +- Removed %clean section and CFLAGS, not needed + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-odfpy.spec ++++++ --- /var/tmp/diff_new_pack.zBadcD/_old 2011-09-26 10:16:47.000000000 +0200 +++ /var/tmp/diff_new_pack.zBadcD/_new 2011-09-26 10:16:47.000000000 +0200 @@ -11,34 +11,29 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. - +# # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%define mod_name odfpy - -Name: python-%{mod_name} +Name: python-odfpy Version: 0.9.3 -Release: 2 +Release: 0 Url: http://opendocumentfellowship.com/development/projects/odfpy Summary: Python API and tools to manipulate OpenDocument files -License: GPLv2+, ASLv2 +License: GPL-2.0+, Apache-2.0 Group: Development/Languages/Python -Source: %{mod_name}-%{version}.tar.bz2 +Source: odfpy-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python-distribute %if 0%{?suse_version} %py_requires %if 0%{?suse_version} > 1110 BuildArch: noarch %endif %endif +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description Odfpy is a library to read and write OpenDocument v. 1.1 files. @@ -68,22 +63,19 @@ Visit http://odfpy.forge.osor.eu/ for documentation and examples. %prep -%setup -q -n %{mod_name}-%{version} +%setup -q -n odfpy-%{version} +sed -i "1d" odf/{userfield,odf2xhtml,manifest,element,elementtypes,load,odfmanifest,thumbnail}.py # Fix non-executable scripts %build -export CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%clean -rm -rf %{buildroot} - %files %defattr(-,root,root,-) %{_bindir}/* %{_mandir}/man1/* -%python_sitelib/odf* +%python_sitelib/* %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org