Hello community, here is the log from the commit of package python-pyside for openSUSE:Factory checked in at 2016-10-13 11:31:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyside (Old) and /work/SRC/openSUSE:Factory/.python-pyside.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyside" Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyside/python-pyside.changes 2015-11-02 12:55:12.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyside.new/python-pyside.changes 2016-10-13 11:31:03.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Sep 8 15:50:13 UTC 2016 - [email protected] + +- Changed source from github to pypi.python.org +- Produced egg_info files +- Changed build type to release + +------------------------------------------------------------------- Old: ---- pyside-1.2.4.tar.gz New: ---- PySide-1.2.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyside.spec ++++++ --- /var/tmp/diff_new_pack.BEgiIk/_old 2016-10-13 11:31:07.000000000 +0200 +++ /var/tmp/diff_new_pack.BEgiIk/_new 2016-10-13 11:31:07.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pyside # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,28 +16,28 @@ # -%define tarname pyside -Name: python-%{tarname} -%define libprefix lib%{tarname} +%define _name pyside +%define libprefix lib%{_name} %define pyname PySide +Name: python-%{_name} Version: 1.2.4 Release: 0 -%define major_version %(echo "%{version}" | sed 's/.[0-9]*$//') Summary: PySide - python bindings for Qt License: LGPL-2.1+ Group: Development/Languages/Python Url: http://qt-project.org/wiki/PySide -Source0: https://github.com/PySide/%{pyname}/archive/%{version}/%{tarname}-%{version}.tar.gz +Source0: https://pypi.python.org/packages/source/P/%{pyname}/%{pyname}-%{version}.tar.gz BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libQtWebKit-devel -BuildRequires: libqt4-devel >= 4.5 +BuildRequires: libqt4-devel >= 4.8 BuildRequires: libshiboken-devel BuildRequires: libxslt-devel BuildRequires: phonon-devel BuildRequires: python-devel BuildRequires: python-pyside-shiboken +BuildRequires: python-setuptools %description The PySide project provides LGPL-licensed Python bindings for the Qt @@ -65,16 +65,19 @@ %setup -q -n %{pyname}-%{version} %build -%cmake .. \ +python setup.py egg_info +cd sources/%{_name} +%cmake -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTS=FALSE \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DQT_PHONON_INCLUDE_DIR=%{_includedir}/phonon make %{?_smp_mflags} ctest -R qtcore || true %install -pushd build +pushd sources/%{_name}/build %makeinstall DESTDIR=%{buildroot} +# copy egg_info +cp -R %{_builddir}/%{pyname}-%{version}/%{_name}_package/%{pyname}.egg-info %{buildroot}%{py_sitedir}/%{pyname}-%{version}-py%{py_ver}.egg-info %fdupes %{buildroot} popd @@ -83,9 +86,10 @@ %files %defattr(-,root,root) -%doc COPYING +%doc sources/pyside/COPYING %{_libdir}/%{libprefix}-python%{py_ver}.so.* %{py_sitedir}/%{pyname}/ +%{py_sitedir}/%{pyname}-%{version}-py%{py_ver}.egg-info/ %{_datadir}/%{pyname}/ %files devel @@ -93,6 +97,6 @@ %{_includedir}/%{pyname}/ %{_libdir}/%{libprefix}-python%{py_ver}.so %{_libdir}/cmake/* -%{_libdir}/pkgconfig/%{tarname}.pc +%{_libdir}/pkgconfig/%{_name}.pc %changelog
