Remove Python 2 subpackage (#1631331)
This commit is contained in:
parent
29d06589cc
commit
c4fac33635
@ -4,7 +4,7 @@
|
||||
|
||||
Name: libproxy
|
||||
Version: 0.4.15
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
Summary: A library handling all the details of proxy configuration
|
||||
|
||||
License: LGPLv2+
|
||||
@ -37,7 +37,6 @@ BuildRequires: pkgconfig(javascriptcoregtk-4.0)
|
||||
# kde
|
||||
BuildRequires: /usr/bin/kreadconfig5
|
||||
# Python
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python3-devel
|
||||
%else
|
||||
# Obsoletes of disabled subpackages.
|
||||
@ -68,15 +67,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
The %{name}-bin package contains the proxy binary for %{name}
|
||||
|
||||
%if ! 0%{?bootstrap}
|
||||
%package -n python2-%{name}
|
||||
Summary: Binding for %{name} and python2
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%{?python_provide:%python_provide python2-%{name}}
|
||||
|
||||
%description -n python2-%{name}
|
||||
The python2 binding for %{name}
|
||||
|
||||
%package -n python3-%{name}
|
||||
Summary: Binding for %{name} and python3
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
@ -156,8 +146,7 @@ developing applications that use %{name}.
|
||||
-DWITH_PERL=OFF \
|
||||
%if ! 0%{?bootstrap}
|
||||
-DWITH_GNOME3=ON \
|
||||
-DWITH_PYTHON2=ON \
|
||||
-DPYTHON2_EXECUTABLE=%{__python2} \
|
||||
-DWITH_PYTHON2=OFF \
|
||||
-DWITH_PYTHON3=ON \
|
||||
-DWITH_WEBKIT3=ON \
|
||||
-DWITH_MOZJS=ON \
|
||||
@ -198,9 +187,6 @@ make test
|
||||
%{_mandir}/man1/proxy.1*
|
||||
|
||||
%if ! 0%{?bootstrap}
|
||||
%files -n python2-%{name}
|
||||
%{python2_sitelib}/%{name}.*
|
||||
|
||||
%files -n python3-%{name}
|
||||
%{python3_sitelib}/__pycache__/*
|
||||
%{python3_sitelib}/%{name}.*
|
||||
@ -233,6 +219,9 @@ make test
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Sep 20 2018 David King <amigadave@amigadave.com> - 0.4.15-10
|
||||
- Remove Python 2 subpackage (#1631331)
|
||||
|
||||
* Sun Aug 26 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.4.15-9
|
||||
- Add patch and build against mozjs 52
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user