14
0
forked from pool/python-rjsmin
Tomáš Chvátal
2020-04-20 09:44:20 +00:00
committed by Git OBS Bridge
parent eef7c7f029
commit 1b21767d99
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 20 09:44:09 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 9 09:45:29 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com> Mon Mar 9 09:45:29 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -19,6 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define mod_name rjsmin %define mod_name rjsmin
%define release_sha 53a0848b2372c1b49c03326bc8209ea39e889c47 %define release_sha 53a0848b2372c1b49c03326bc8209ea39e889c47
%bcond_without python2
Name: python-%{mod_name} Name: python-%{mod_name}
Version: 1.1.0 Version: 1.1.0
Release: 0 Release: 0
@@ -32,9 +33,11 @@ BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-mock
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Obsoletes: %{name}-doc Obsoletes: %{name}-doc
%if %{with python2}
BuildRequires: python-mock
%endif
%python_subpackages %python_subpackages
%description %description