Update Python 2 dependency declarations to new packaging standards
This commit is contained in:
parent
641aabd31a
commit
cf975201ed
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: python-linux-procfs
|
Name: python-linux-procfs
|
||||||
Version: 0.5.1
|
Version: 0.5.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Summary: Linux /proc abstraction classes
|
Summary: Linux /proc abstraction classes
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -14,7 +14,7 @@ Source: https://cdn.kernel.org/pub/software/libs/python/%{name}/%{name}-%{versio
|
|||||||
URL: https://rt.wiki.kernel.org/index.php/Tuna
|
URL: https://rt.wiki.kernel.org/index.php/Tuna
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python2-setuptools
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
@ -30,7 +30,7 @@ Abstractions to extract information from the Linux kernel /proc files.
|
|||||||
Summary: %summary
|
Summary: %summary
|
||||||
%{?python_provide:%python_provide python2-linux-procfs}
|
%{?python_provide:%python_provide python2-linux-procfs}
|
||||||
|
|
||||||
Requires: python-six
|
Requires: python2-six
|
||||||
|
|
||||||
%description -n python2-linux-procfs %_description
|
%description -n python2-linux-procfs %_description
|
||||||
|
|
||||||
@ -84,6 +84,10 @@ rm -rf %{buildroot}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.1-3
|
||||||
|
- Update Python 2 dependency declarations to new packaging standards
|
||||||
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||||
|
|
||||||
* Tue Nov 21 2017 Jiri Kastner <jkastner@redhat.com> - 0.5.1-2
|
* Tue Nov 21 2017 Jiri Kastner <jkastner@redhat.com> - 0.5.1-2
|
||||||
- missing defattr for _bindir
|
- missing defattr for _bindir
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user