Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-01-06 00:45:00 +01:00
parent 9f33f82810
commit be50008d57

View File

@ -3,7 +3,7 @@
Summary: An alternate posix capabilities library
Name: libcap-ng
Version: 0.7.8
Release: 7%{?dist}
Release: 8%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://people.redhat.com/sgrubb/libcap-ng
@ -35,7 +35,7 @@ Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python bindings for libcap-ng library
License: LGPLv2+
Group: Development/Libraries
BuildRequires: python-devel swig
BuildRequires: python2-devel swig
Requires: %{name} = %{version}-%{release}
%description -n python2-libcap-ng
@ -134,6 +134,10 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644,root,root) %{_mandir}/man8/*
%changelog
* Fri Jan 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.7.8-8
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.7.8-7
- Add Provides for the old name without %%_isa