From a919a3c1217dc8d7b8cdbeb0fe596f39bf6e65be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:38:51 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-libstoragemgmt --- libstoragemgmt.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libstoragemgmt.spec b/libstoragemgmt.spec index bf8e0c2..0273711 100644 --- a/libstoragemgmt.spec +++ b/libstoragemgmt.spec @@ -3,7 +3,7 @@ Name: libstoragemgmt Version: 1.4.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Storage array management library Group: System Environment/Libraries License: LGPLv2+ @@ -53,14 +53,18 @@ Requires: %{name}%{?_isa} = %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. -%package python +%package -n python2-%{name} +%{?python_provide:%python_provide python2-%{name}} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python2 client libraries and plug-in support for %{name} Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} Requires: %{name}-python-clibs BuildArch: noarch -%description python +%description -n python2-%{name} The %{name}-python package contains python client libraries as well as python framework support and open source plug-ins written in python. @@ -388,7 +392,7 @@ fi %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc -%files python +%files -n python2-%{name} %defattr(-,root,root,-) #Python library files %dir %{python_sitelib}/lsm @@ -528,6 +532,10 @@ fi %{_mandir}/man1/hpsa_lsmplugin.1* %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 1.4.0-4 +- Python 2 binary package renamed to python2-libstoragemgmt + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild