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}
|
%if 0%{?fedora}
|
||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
|
%global py2_deps python2-devel python2-pytest python2-six
|
||||||
|
%else
|
||||||
|
%global py2_deps python-devel python-pytest python-six
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
@ -24,19 +27,19 @@ Patch0: fix_http_test.patch
|
|||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel python2-pytest python2-six
|
|
||||||
BuildRequires: python3-devel python3-pytest python3-six
|
|
||||||
URL: https://bitbucket.org/jurko/suds
|
URL: https://bitbucket.org/jurko/suds
|
||||||
|
|
||||||
%description %{desc}
|
%description %{desc}
|
||||||
|
|
||||||
%package -n python2-%{srcname}
|
%package -n python2-%{srcname}
|
||||||
|
BuildRequires: %{py2_deps}
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
%{?python_provide:%python_provide python2-%{srcname}}
|
%{?python_provide:%python_provide python2-%{srcname}}
|
||||||
%description -n python2-%{srcname} %{desc}
|
%description -n python2-%{srcname} %{desc}
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%package -n python3-%{srcname}
|
%package -n python3-%{srcname}
|
||||||
|
BuildRequires: python3-devel python3-pytest python3-six
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
%{?python_provide:%python_provide python3-%{srcname}}
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
%description -n python3-%{srcname} %{desc}
|
%description -n python3-%{srcname} %{desc}
|
||||||
@ -97,6 +100,7 @@ popd
|
|||||||
%changelog
|
%changelog
|
||||||
* Sat Feb 06 2016 Scott Talbert <swt@techie.net> - 0.7-0.2.94664ddd46a6
|
* 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
|
- 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
|
* Fri Jan 01 2016 Scott Talbert <swt@techie.net> - 0.7-0.1.94664ddd46a6
|
||||||
- Switched to Jurko fork of suds
|
- Switched to Jurko fork of suds
|
||||||
|
Loading…
Reference in New Issue
Block a user