forked from pool/python-PyInstaller
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
26c6afde9a
commit
82a9d7727c
@@ -17,12 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%if 0%{suse_version} > 1500
|
|
||||||
%bcond_with python2
|
|
||||||
%define skip_python2 1
|
|
||||||
%else
|
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
%endif
|
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
Name: python-PyInstaller
|
Name: python-PyInstaller
|
||||||
Version: 3.6
|
Version: 3.6
|
||||||
@@ -60,10 +55,12 @@ BuildRequires: %{python_module pycountry}
|
|||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module qt5}
|
BuildRequires: %{python_module qt5}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
%if %{with python2}
|
||||||
BuildRequires: python-dis3
|
BuildRequires: python-dis3
|
||||||
|
%endif
|
||||||
BuildRequires: upx
|
BuildRequires: upx
|
||||||
%endif
|
%endif
|
||||||
%if %{with python2}
|
%ifpython2
|
||||||
Requires: python-dis3
|
Requires: python-dis3
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
Reference in New Issue
Block a user