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