Hello community, here is the log from the commit of package python-gtk for openSUSE:Factory checked in at 2018-03-08 10:54:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gtk (Old) and /work/SRC/openSUSE:Factory/.python-gtk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gtk" Thu Mar 8 10:54:26 2018 rev:39 rq:583095 version:2.24.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gtk/python-gtk.changes 2017-07-30 11:20:52.400474935 +0200 +++ /work/SRC/openSUSE:Factory/.python-gtk.new/python-gtk.changes 2018-03-08 10:54:26.463943059 +0100 @@ -1,0 +2,5 @@ +Wed Feb 28 16:39:05 UTC 2018 - dims...@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gtk.spec ++++++ --- /var/tmp/diff_new_pack.IYoo9G/_old 2018-03-08 10:54:27.171917573 +0100 +++ /var/tmp/diff_new_pack.IYoo9G/_new 2018-03-08 10:54:27.175917429 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-gtk # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -23,9 +23,9 @@ Version: 2.24.0 Release: 0 Summary: Python bindings for the GTK+ widget set -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/Python -Url: http://www.pygtk.org/ +URL: http://www.pygtk.org/ Source: http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.24/pygtk-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM pygtk-2.22.0-capsule.patch bgo#623965 bnc#669802 jmate...@novell.com -- Conditionally use the new Capsule API instead of PyCObject Patch0: pygtk-2.22.0-capsule.patch @@ -77,8 +77,8 @@ %setup -q -n pygtk-%{version} %patch0 -p1 -find examples -type f -name "*.py" -exec sed -i "s|#!/usr/bin/env python|#!/usr/bin/python2|" {} \; -find examples -type f -name "*.py" -exec sed -i "s|#! /usr/bin/env python|#!/usr/bin/python2|" {} \; +find examples -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python|#!%{_bindir}/python2|" {} \; +find examples -type f -name "*.py" -exec sed -i "s|#! %{_bindir}/env python|#!%{_bindir}/python2|" {} \; %build %configure @@ -92,7 +92,7 @@ mkdir -p %{buildroot}%{_docdir} mv %{buildroot}%{_datadir}/gtk-doc %{buildroot}%{_docdir}/%{name} -sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|" %{buildroot}%{_bindir}/pygtk-demo +sed -i "s|#!%{_bindir}/python|#!%{_bindir}/python2|" %{buildroot}%{_bindir}/pygtk-demo rm examples/Makefile* # demo is already in devel package @@ -102,8 +102,8 @@ %fdupes %{buildroot}%{_datadir} %files -%defattr(-,root,root) -%doc AUTHORS NEWS README MAPPING ChangeLog THREADS COPYING +%license COPYING +%doc AUTHORS NEWS README MAPPING ChangeLog THREADS %exclude %{_docdir}/%{name}/html/ %{python_sitearch}/gtk-2.0/gtk/ %{python_sitearch}/gtk-2.0/atk.so @@ -111,7 +111,6 @@ %{python_sitearch}/gtk-2.0/pango*.so %files devel -%defattr(-,root,root) %{_bindir}/pygtk-codegen-2.0 %{_bindir}/pygtk-demo %{_includedir}/pygtk-2.0/pygtk/ @@ -127,7 +126,6 @@ %{_libdir}/pygtk/2.0/demos/ %files doc -%defattr(-,root,root) %doc examples/ %{_docdir}/%{name}/html/