Hello community, here is the log from the commit of package python-pmw for openSUSE:Leap:15.2 checked in at 2020-03-09 18:10:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-pmw (Old) and /work/SRC/openSUSE:Leap:15.2/.python-pmw.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pmw" Mon Mar 9 18:10:26 2020 rev:11 rq:776923 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-pmw/python-pmw.changes 2020-01-15 15:51:37.487535361 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-pmw.new.26092/python-pmw.changes 2020-03-09 18:10:27.141118026 +0100 @@ -1,0 +2,5 @@ +Fri Dec 7 11:47:08 UTC 2018 - Tomáš Chvátal <[email protected]> + +- Make sure to run %fdupes correctly + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pmw.spec ++++++ --- /var/tmp/diff_new_pack.gS3K37/_old 2020-03-09 18:10:27.489118525 +0100 +++ /var/tmp/diff_new_pack.gS3K37/_new 2020-03-09 18:10:27.489118525 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pmw # -# 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,25 +21,22 @@ Name: python-pmw Version: 2.0.1 Release: 0 -Url: http://pmw.sourceforge.net/ Summary: High-level compound widgets in Python using the Tkinter module -#PATCH-FIX-UPSTREAM py36.patch https://sourceforge.net/p/pmw/patches/7/ License: MIT Group: Development/Languages/Python -Patch: py36.patch -Source: https://pypi.python.org/packages/e7/20/8d0c4ba96a5fe62e1bcf2b8a212ccfecd67ad951e8f3e89cf147d63952aa/Pmw-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{python_module base} +URL: http://pmw.sourceforge.net/ +Source: https://files.pythonhosted.org/packages/source/P/Pmw/Pmw-%{version}.tar.gz +#PATCH-FIX-UPSTREAM py36.patch https://sourceforge.net/p/pmw/patches/7/ +Patch0: py36.patch +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-tk -BuildRequires: fdupes BuildArch: noarch -%define oldpython python %ifpython2 Obsoletes: %{oldpython}-pmw < %{version} Provides: %{oldpython}-pmw = %{version} %endif - %python_subpackages %description @@ -50,7 +47,7 @@ %prep %setup -q -n Pmw-%{version} -%patch +%patch0 sed -i '1d' Pmw/Pmw_1_3_3/{demos/All,bin/bundlepmw,tests/All,tests/ManualTests}.py # Fix non-executable scripts sed -i '1d' Pmw/Pmw_2_0_1/{demos/All,bin/bundlepmw,tests/All,tests/ManualTests}.py # Fix non-executable scripts @@ -59,10 +56,9 @@ %install %python_install -%fdupes %{buildroot}/%{_prefix} +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files %python_files -%defattr(-,root,root,-) +%files %{python_files} %{python_sitelib}/* %changelog
