Hello community,

here is the log from the commit of package python-qt4 for openSUSE:Factory 
checked in at 2017-09-04 12:19:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-qt4 (Old)
 and      /work/SRC/openSUSE:Factory/.python-qt4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-qt4"

Mon Sep  4 12:19:50 2017 rev:84 rq:519472 version:4.12.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-qt4/python-qt4.changes    2017-06-12 
15:26:13.716859550 +0200
+++ /work/SRC/openSUSE:Factory/.python-qt4.new/python-qt4.changes       
2017-09-04 12:19:52.694232328 +0200
@@ -1,0 +2,12 @@
+Tue Aug 29 12:10:08 UTC 2017 - [email protected]
+
+- Fix shebangs
+
+-------------------------------------------------------------------
+Mon Aug 28 21:03:53 UTC 2017 - [email protected]
+
+- Update to 4.12.1
+  * SIP v4.19.1 is now required.
+  * Bug fixes.
+
+-------------------------------------------------------------------

Old:
----
  PyQt4_gpl_x11-4.12.tar.gz

New:
----
  PyQt4_gpl_x11-4.12.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-qt4.spec ++++++
--- /var/tmp/diff_new_pack.tVHjUA/_old  2017-09-04 12:19:54.377995619 +0200
+++ /var/tmp/diff_new_pack.tVHjUA/_new  2017-09-04 12:19:54.381995057 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-qt4
-Version:        4.12
+Version:        4.12.1
 Release:        0
 Summary:        PyQt - python bindings for Qt 4
 License:        SUSE-GPL-2.0-with-FLOSS-exception or GPL-3.0 or SUSE-NonFree
@@ -43,6 +43,7 @@
 BuildRequires:  python-rpm-macros
 Requires:       %{name}-utils
 Requires:       python-sip(api) = %python_sip_api_ver
+Provides:       python-PyQt4 = %{version}
 %requires_ge    python-dbus-python
 %requires_ge    libqt4-x11
 %ifpython2
@@ -80,6 +81,7 @@
 Requires:       python-qt4-utils = %{version}
 Requires:       python-sip-devel >= 4.19.1
 Recommends:     python-qscintilla
+Provides:       python-PyQt4-devel = %{version}
 Requires(post): update-alternatives
 Requires(preun): update-alternatives
 
@@ -99,6 +101,7 @@
 Summary:        Common files for PyQt4 for python2 and python3
 Group:          Development/Libraries/Python
 Provides:       %{python_module qt4-utils = %{version}}
+Provides:       %{python_module PyQt4-utils = %{version}}
 
 %description -n %{name}-utils
 PyQt is a set of Python bindings for Trolltech's Qt application
@@ -112,10 +115,29 @@
 versions of PyQt4.
 
 
+%package -n %{name}-doc
+Summary:        Documentation for %{name}
+Group:          Documentation/Other
+Provides:       %{python_module qt4-doc = %{version}}
+Provides:       %{python_module PyQt4-doc = %{version}}
+
+%description -n %{name}-doc
+PyQt is a set of Python bindings for Trolltech's Qt application
+framework and runs on all platforms supported by Qt including Windows,
+MacOS/X and Linux. There are two sets of bindings: PyQt v4 supports Qt
+v4; and the older PyQt v3 supports Qt v3 and earlier. The bindings are
+implemented as a set of Python modules and contain over 300 classes and
+nearly 6,000 functions and methods.
+
+This package contains documentation and examples for PyQt4.
+
+
 %prep
 %setup -q -n PyQt4_gpl_x11-%{version}
 %patch0 -p1
 %patch1 -p1
+# Fix wrong-script-interpreter
+find examples -name "*.py" -exec sed -i "s|^#!/usr/bin/env 
python$|#!%__python3|" {} \;
 
 %build
 export CXXFLAGS="%{optflags}"
@@ -152,10 +174,13 @@
 mv %{buildroot}%{_libdir}/qt4/plugins/designer/libpyqt4.so 
%{buildroot}%{_libdir}/qt4/plugins/designer/libpy%{$python_bin_suffix}qt4.so
 mv -T %{buildroot}%{_datadir}/qt4/qsci/api/python 
%{buildroot}%{_datadir}/qt4/qsci/api/python_%{$python_bin_suffix}
 
+%fdupes %{buildroot}%{python_sitearch}
 }
 
-%fdupes doc
-%fdupes examples
+mkdir -p %{buildroot}%{_docdir}/%{name}
+cp -r doc %{buildroot}%{_docdir}/%{name}/
+cp -r examples %{buildroot}%{_docdir}/%{name}/
+%fdupes %{buildroot}%{_docdir}/%{name}/
 
 %python_clone -a %{buildroot}%{_bindir}/pyuic4
 %python_clone -a %{buildroot}%{_bindir}/pylupdate4
@@ -171,13 +196,14 @@
 %defattr(-,root,root)
 %doc build_%{python_bin_suffix}/README
 %doc ChangeLog LICENSE NEWS THANKS 
-%doc doc/
-%doc examples/
 %{python_sitearch}/PyQt4/
 %{python_sitelib}/dbus/mainloop/qt.so
+%exclude %{_docdir}/%{name}/doc/
+%exclude %{_docdir}/%{name}/examples/
 
 %files %{python_files devel}
 %defattr(-,root,root)
+%doc LICENSE
 %python_alternative %{_bindir}/pyuic4
 %python_alternative %{_bindir}/pylupdate4
 %python_alternative %{_bindir}/pyrcc4
@@ -189,6 +215,14 @@
 
 %files -n %{name}-utils
 %defattr(-,root,root)
+%doc LICENSE
 %{_datadir}/sip/PyQt4/
 
+%files -n %{name}-doc
+%defattr(-,root,root)
+%doc LICENSE
+%dir %{_docdir}/%{name}
+%{_docdir}/%{name}/doc/
+%{_docdir}/%{name}/examples/
+
 %changelog

++++++ PyQt4_gpl_x11-4.12.tar.gz -> PyQt4_gpl_x11-4.12.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-qt4/PyQt4_gpl_x11-4.12.tar.gz 
/work/SRC/openSUSE:Factory/.python-qt4.new/PyQt4_gpl_x11-4.12.1.tar.gz differ: 
char 5, line 1


Reply via email to