Hello community,

here is the log from the commit of package python-rjsmin for openSUSE:Factory 
checked in at 2020-04-22 20:51:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rjsmin (Old)
 and      /work/SRC/openSUSE:Factory/.python-rjsmin.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rjsmin"

Wed Apr 22 20:51:28 2020 rev:7 rq:795741 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rjsmin/python-rjsmin.changes      
2020-03-10 12:33:38.644838396 +0100
+++ /work/SRC/openSUSE:Factory/.python-rjsmin.new.2738/python-rjsmin.changes    
2020-04-22 20:51:29.635216223 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 09:44:09 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-rjsmin.spec ++++++
--- /var/tmp/diff_new_pack.SX4Grv/_old  2020-04-22 20:51:30.367217656 +0200
+++ /var/tmp/diff_new_pack.SX4Grv/_new  2020-04-22 20:51:30.371217664 +0200
@@ -19,6 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define mod_name rjsmin
 %define release_sha 53a0848b2372c1b49c03326bc8209ea39e889c47
+%bcond_without python2
 Name:           python-%{mod_name}
 Version:        1.1.0
 Release:        0
@@ -32,9 +33,11 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-mock
 BuildRequires:  python-rpm-macros
 Obsoletes:      %{name}-doc
+%if %{with python2}
+BuildRequires:  python-mock
+%endif
 %python_subpackages
 
 %description


Reply via email to