Hello community, here is the log from the commit of package python-4Suite-XML for openSUSE:Factory checked in at 2017-08-24 18:44:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-4Suite-XML (Old) and /work/SRC/openSUSE:Factory/.python-4Suite-XML.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-4Suite-XML" Thu Aug 24 18:44:59 2017 rev:13 rq:514419 version:1.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-4Suite-XML/python-4Suite-XML.changes 2012-06-18 17:34:12.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-4Suite-XML.new/python-4Suite-XML.changes 2017-08-24 18:45:51.964611427 +0200 @@ -1,0 +2,5 @@ +Thu Aug 3 19:36:00 UTC 2017 - [email protected] + +- Fix shebangs + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-4Suite-XML.spec ++++++ --- /var/tmp/diff_new_pack.sdpKwV/_old 2017-08-24 18:45:52.900479655 +0200 +++ /var/tmp/diff_new_pack.sdpKwV/_new 2017-08-24 18:45:52.904479092 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-4Suite-XML # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -23,7 +23,7 @@ Summary: An open-source platform for XML processing License: Apache-1.1 Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/4/4Suite-XML/4Suite-XML-%{version}.tar.bz2 +Source: https://files.pythonhosted.org/packages/source/4/4Suite-XML/4Suite-XML-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-xml @@ -34,9 +34,6 @@ Provides: python-4suite-xml = %{version} #TODO: Change to '<' after version update: Obsoletes: python-4suite-xml <= %{version} -%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 XML tools and libraries for Python: Domlette, XPath, XSLT, XPointer, XLink, @@ -52,6 +49,8 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +sed -i "s|#!/usr/bin/env python|#!%{_bindir}/python2|" %{buildroot}%{_bindir}/* + # Move documentation into proper place /usr/share/doc/packages/%%{name} install -d %{buildroot}%{_docdir}/%{name} mv %{buildroot}%{_datadir}/doc/4Suite/* %{buildroot}%{_docdir}/%{name} @@ -59,7 +58,7 @@ mv %{buildroot}%{_prefix}/lib/4Suite/profiles %{buildroot}%{_datadir}/%{name}/ # Move 'profiles' away from /usr/lib rm -rf %{buildroot}%{_prefix}/lib/4Suite/tests # Remove unwanted tests from /usr/lib %if 0%{?suse_version} -%fdupes %{buildroot}%{_prefix}%{python_sitearch} +%fdupes %{buildroot}%{python_sitearch} %endif %files @@ -69,8 +68,8 @@ %{_bindir}/4xpath %{_bindir}/4xslt %{_bindir}/4xupdate -%{_datadir}/%{name} -%{_datadir}/4Suite %{python_sitearch}/* +%{_datadir}/python-4Suite-XML/ +%{_datadir}/4Suite/ %changelog
