Move BRs to subpackages, support python- vs python2- BRs on non-Fedora
This commit is contained in:
parent
0da9b6601e
commit
9cb6859651
@ -13,6 +13,9 @@ services and WSDL based objects can be easily inspected.
|
||||
|
||||
%if 0%{?fedora}
|
||||
%global with_python3 1
|
||||
%global py2_deps python2-devel python2-pytest python2-six
|
||||
%else
|
||||
%global py2_deps python-devel python-pytest python-six
|
||||
%endif
|
||||
|
||||
Summary: %{sum}
|
||||
@ -24,19 +27,19 @@ Patch0: fix_http_test.patch
|
||||
License: LGPLv3+
|
||||
Group: Development/Libraries
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-devel python2-pytest python2-six
|
||||
BuildRequires: python3-devel python3-pytest python3-six
|
||||
URL: https://bitbucket.org/jurko/suds
|
||||
|
||||
%description %{desc}
|
||||
|
||||
%package -n python2-%{srcname}
|
||||
BuildRequires: %{py2_deps}
|
||||
Summary: %{sum}
|
||||
%{?python_provide:%python_provide python2-%{srcname}}
|
||||
%description -n python2-%{srcname} %{desc}
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%package -n python3-%{srcname}
|
||||
BuildRequires: python3-devel python3-pytest python3-six
|
||||
Summary: %{sum}
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
%description -n python3-%{srcname} %{desc}
|
||||
@ -97,6 +100,7 @@ popd
|
||||
%changelog
|
||||
* Sat Feb 06 2016 Scott Talbert <swt@techie.net> - 0.7-0.2.94664ddd46a6
|
||||
- Applied patch from Haikel Guemar to support building on CentOS w/o Python 3
|
||||
- Move BRs to subpackages, support python- vs python2- BRs on non-Fedora
|
||||
|
||||
* Fri Jan 01 2016 Scott Talbert <swt@techie.net> - 0.7-0.1.94664ddd46a6
|
||||
- Switched to Jurko fork of suds
|
||||
|
Loading…
Reference in New Issue
Block a user