Hello community, here is the log from the commit of package python-pyside-shiboken for openSUSE:Factory checked in at 2014-02-19 07:24:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyside-shiboken (Old) and /work/SRC/openSUSE:Factory/.python-pyside-shiboken.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pyside-shiboken" Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyside-shiboken/python-pyside-shiboken.changes 2014-02-03 09:57:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyside-shiboken.new/python-pyside-shiboken.changes 2014-02-19 07:24:24.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Feb 7 23:42:41 UTC 2014 - dimstar@opensuse.org + +- Fix %post scriptlets: /sbin/ldconfig can't be the parser of + the script: it does not know how to do it (remove -p). + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/python-pyside-shiboken/python3-pyside-shiboken.changes 2014-02-03 09:57:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyside-shiboken.new/python3-pyside-shiboken.changes 2014-02-19 07:24:24.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Feb 7 23:43:21 UTC 2014 - dimstar@opensuse.org + +- Fix %post scriptlets: /sbin/ldconfig can't be the parser of + the script: it does not know how to do it (remove -p). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyside-shiboken.spec ++++++ --- /var/tmp/diff_new_pack.NQYUXp/_old 2014-02-19 07:24:25.000000000 +0100 +++ /var/tmp/diff_new_pack.NQYUXp/_new 2014-02-19 07:24:25.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pyside-shiboken # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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,9 +15,11 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define tarname shiboken Name: python-pyside-%{tarname} Version: 1.2.1 +Release: 0 %define majorver %(echo "%{version}" | sed 's/\\.[0-9]*$//') %define libsoname %(echo "%{majorver}" | sed 's/\\./_/') %define libprefix lib%{tarname} @@ -25,9 +27,8 @@ %define libpyname %{libprefix}-python%{py_ver} %define libname %{libprefix}-python%{py_ver_mod}-%{libsoname} %define pyname Shiboken -Release: 0 -License: GPL-2.0 Summary: Generate CPython bindings from C++ code +License: GPL-2.0 Group: Development/Libraries/C and C++ Url: http://qt-project.org/wiki/PySide Source0: http://download.qt-project.org/official_releases/pyside/%{tarname}-%{version}.tar.bz2 @@ -35,9 +36,9 @@ BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libqt4-devel -BuildRequires: python-devel BuildRequires: libxml2-devel BuildRequires: libxslt-devel +BuildRequires: python-devel Obsoletes: libapiextractor < %{version} Provides: libapiextractor = %{version} Obsoletes: libapiextractor-doc < %{version} @@ -54,8 +55,8 @@ code. %package -n %{libname} -License: LGPL-2.1 Summary: Generate CPython bindings from C++ code +License: LGPL-2.1 Group: Development/Libraries/C and C++ %description -n %{libname} @@ -64,8 +65,8 @@ code. %package doc -License: GPL-2.0 Summary: Documentation for %{name} +License: GPL-2.0 Group: Development/Libraries/C and C++ Recommends: %{libname} = %{version} @@ -73,8 +74,8 @@ Documentation and manuals for %{name} %package -n %{libprefix}-devel -License: LGPL-2.1 Summary: Development files for %{name} +License: LGPL-2.1 Group: Development/Libraries/C and C++ Recommends: %{libname} = %{version} # As cmake config files are not python version agnostic, python2 and 3 versions of developement @@ -82,9 +83,9 @@ Conflicts: lib%{tarname}-python3-devel Requires: cmake Requires: libqt4-devel -Requires: python-devel Requires: libxml2-devel Requires: libxslt-devel +Requires: python-devel %description -n %{libprefix}-devel Development libraries and headers needed to build software using %{name} @@ -115,7 +116,8 @@ [[ ! -L %{_mandir}/man1/%{tarname}.1.gz ]] && rm -f %{_mandir}/man1/%{tarname}.1.gz exit 0 -%post -p /sbin/ldconfig +%post +/sbin/ldconfig update-alternatives --install %{_bindir}/%{tarname} %{tarname} %{_bindir}/%{tarname}-%{py_ver} 20 \ --slave %{_mandir}/man1/%{tarname}.1.gz %{tarname}.1 %{_mandir}/man1/%{tarname}-%{py_ver}.1.gz ++++++ python3-pyside-shiboken.spec ++++++ --- /var/tmp/diff_new_pack.NQYUXp/_old 2014-02-19 07:24:25.000000000 +0100 +++ /var/tmp/diff_new_pack.NQYUXp/_new 2014-02-19 07:24:25.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-pyside-shiboken # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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,19 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define tarname shiboken Name: python3-pyside-%{tarname} %define pyname Shiboken Version: 1.2.1 +Release: 0 %define majorver %(echo "%{version}" | sed 's/\\.[0-9]*$//') %define libsoname %(echo "%{majorver}" | sed 's/\\./_/') %define libprefix lib%{tarname} %define pyver_mod2 %(python3 -c "import sys; sys.stdout.write(sys.version[:3].replace('.','')+sys.abiflags)") %define libpyname %{libprefix}-%{majorver}.cpython-%{pyver_mod2} %define libname %{libprefix}-%{libsoname}_cpython-%{pyver_mod2}%{libsoname} -Release: 0 -License: GPL-2.0 Summary: Generate CPython 3 bindings from C++ code +License: GPL-2.0 Group: Development/Libraries/C and C++ Url: http://qt-project.org/wiki/PySide Source0: http://download.qt-project.org/official_releases/pyside/%{tarname}-%{version}.tar.bz2 @@ -55,8 +56,8 @@ code. %package -n %{libname} -License: LGPL-2.1 Summary: Generate CPython 3 bindings from C++ code +License: LGPL-2.1 Group: Development/Libraries/C and C++ %description -n %{libname} @@ -65,24 +66,24 @@ code. %package doc -License: GPL-2.0 Summary: Documentation for %{name} +License: GPL-2.0 Group: Development/Libraries/C and C++ %description doc Documentation and manuals for %{name} %package -n %{libprefix}-python3-devel -License: LGPL-2.1 Summary: Development files for %{name} +License: LGPL-2.1 Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} Requires: cmake Requires: libqt4-devel Requires: libxml2-devel Requires: libxslt-devel -Requires: python3-devel >= %{py3_ver} Requires: python3-Sphinx +Requires: python3-devel >= %{py3_ver} # As cmake config files are not python version agnostic, python2 and 3 versions of developement # package can't be installed at the same time Conflicts: lib%{tarname}-python3-devel @@ -119,7 +120,8 @@ [[ ! -L %{_mandir}/man1/%{tarname}.1.gz ]] && rm -f %{_mandir}/man1/%{tarname}.1.gz exit 0 -%post -p /sbin/ldconfig +%post +/sbin/ldconfig update-alternatives --install %{_bindir}/%{tarname} %{tarname} %{_bindir}/%{tarname}-%{py3_ver} 20 \ --slave %{_mandir}/man1/%{tarname}.1.gz %{tarname}.1 %{_mandir}/man1/%{tarname}-%{py3_ver}.1.gz -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org