Update Python 2 dependency declarations to new packaging standards
This commit is contained in:
parent
531eaa311c
commit
3f6e0e9413
@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
Name: libblockdev
|
Name: libblockdev
|
||||||
Version: 2.15
|
Version: 2.15
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A library for low-level manipulation with block devices
|
Summary: A library for low-level manipulation with block devices
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/storaged-project/libblockdev
|
URL: https://github.com/storaged-project/libblockdev
|
||||||
@ -77,7 +77,7 @@ BuildRequires: glib2-devel
|
|||||||
%if %{with_gi}
|
%if %{with_gi}
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: python-devel
|
BuildRequires: python2-devel
|
||||||
%if %{with_python3}
|
%if %{with_python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
%endif
|
%endif
|
||||||
@ -91,7 +91,7 @@ BuildRequires: glib2-doc
|
|||||||
# BuildRequires: nss-tools
|
# BuildRequires: nss-tools
|
||||||
|
|
||||||
# Needed for python 2 vs. 3 compatibility in the tests, but not used to build
|
# Needed for python 2 vs. 3 compatibility in the tests, but not used to build
|
||||||
# BuildRequires: python-six
|
# BuildRequires: python2-six
|
||||||
# BuildRequires: python3-six
|
# BuildRequires: python3-six
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -115,7 +115,7 @@ with the libblockdev library.
|
|||||||
%package -n python2-blockdev
|
%package -n python2-blockdev
|
||||||
Summary: Python2 gobject-introspection bindings for libblockdev
|
Summary: Python2 gobject-introspection bindings for libblockdev
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: pygobject3-base
|
Requires: python2-gobject-base
|
||||||
%{?python_provide:%python_provide python2-blockdev}
|
%{?python_provide:%python_provide python2-blockdev}
|
||||||
|
|
||||||
%description -n python2-blockdev
|
%description -n python2-blockdev
|
||||||
@ -785,6 +785,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
|||||||
%files plugins-all
|
%files plugins-all
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.15-3
|
||||||
|
- Update Python 2 dependency declarations to new packaging standards
|
||||||
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||||
|
|
||||||
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.15-2
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.15-2
|
||||||
- Switch to %%ldconfig_scriptlets
|
- Switch to %%ldconfig_scriptlets
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user