Hello community,

here is the log from the commit of package python-pgmagick for 
openSUSE:Leap:15.2 checked in at 2020-04-30 18:52:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pgmagick (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-pgmagick.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pgmagick"

Thu Apr 30 18:52:19 2020 rev:4 rq:798408 version:0.7.4

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-pgmagick/python-pgmagick.changes        
2020-03-09 18:10:15.121100799 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-pgmagick.new.2738/python-pgmagick.changes  
    2020-04-30 18:52:20.308712286 +0200
@@ -1,0 +2,5 @@
+Thu Apr 23 10:22:11 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix building without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pgmagick.spec ++++++
--- /var/tmp/diff_new_pack.GbXEYe/_old  2020-04-30 18:52:20.620712945 +0200
+++ /var/tmp/diff_new_pack.GbXEYe/_new  2020-04-30 18:52:20.624712954 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pgmagick
 #
-# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,36 +12,37 @@
 # 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/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without  test
+%bcond_without  python2
 Name:           python-pgmagick
 Version:        0.7.4
 Release:        0
-Url:            https://github.com/hhatto/pgmagick/
 Summary:        Yet Another Python wrapper for GraphicsMagick
 License:        MIT
 Group:          Development/Languages/Python
+URL:            https://github.com/hhatto/pgmagick/
 Source:         
https://files.pythonhosted.org/packages/source/p/pgmagick/pgmagick-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM https://github.com/hhatto/pgmagick/pull/47
 Patch0:         reproducible.patch
-BuildRequires:  boost-devel
-BuildRequires:  fdupes
-BuildRequires:  pkgconfig(GraphicsMagick++)
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  ghostscript-fonts-std
+BuildRequires:  pkgconfig
+BuildRequires:  python-rpm-macros
+BuildRequires:  pkgconfig(GraphicsMagick++)
 %if 0%{?suse_version} >= 1500
-BuildRequires:  libboost_python-devel
 BuildRequires:  libboost_python3-devel
+%if %{with python2}
+BuildRequires:  libboost_python-devel
 %endif
-%if %{with test}
-BuildRequires:  ghostscript-fonts-std
+%else
+BuildRequires:  boost-devel
 %endif
-
 %python_subpackages
 
 %description
@@ -60,20 +61,15 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
-%if %{with test}
 %check
 mkdir tester
 pushd tester
 cp -r ../test .
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
-$python -m unittest discover 
-}
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m unittest 
discover -v
 popd
 rm -r tester
-%endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc README.rst
 %license LICENSE
 %{python_sitearch}/pgmagick/


Reply via email to