Hello community,

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

Package is "python-rjsmin"

Thu Apr 30 18:51:54 2020 rev:13 rq:796338 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-rjsmin/python-rjsmin.changes    
2020-03-15 13:35:55.982822764 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-rjsmin.new.2738/python-rjsmin.changes  
2020-04-30 18:51:55.264659386 +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.URIpWi/_old  2020-04-30 18:51:55.608660112 +0200
+++ /var/tmp/diff_new_pack.URIpWi/_new  2020-04-30 18:51:55.608660112 +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