Update Python 2 dependency declarations to new packaging standards
This commit is contained in:
parent
4b49c3a711
commit
05cfcce6cb
@ -9,7 +9,7 @@
|
||||
|
||||
Name: libbytesize
|
||||
Version: 1.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A library for working with sizes in bytes
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/storaged-project/libbytesize
|
||||
@ -19,7 +19,7 @@ BuildRequires: gmp-devel
|
||||
BuildRequires: mpfr-devel
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python2-devel
|
||||
%if %{with_python3}
|
||||
BuildRequires: python3-devel
|
||||
%endif
|
||||
@ -46,7 +46,7 @@ Summary: Python 2 bindings for libbytesize
|
||||
%{?python_provide:%python_provide python2-%{realname}}
|
||||
%{?python_provide:%python_provide python2-libbytesize}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: python-six
|
||||
Requires: python2-six
|
||||
|
||||
%description -n python2-%{realname}
|
||||
This package contains Python 2 bindings for libbytesize making the use of
|
||||
@ -107,6 +107,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Jan 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2-2
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Fri Sep 29 2017 Vratislav Podzimek <vpodzime@redhat.com> - 1.2-1
|
||||
- Use only version as a tag of the last release (vpodzime)
|
||||
- Do not require the glib-2.0 pkgconfig package (vpodzime)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user