Python 2 binary package renamed to python2-libstoragemgmt

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:38:51 -04:00
parent 5872d2140b
commit a919a3c121
1 changed files with 12 additions and 4 deletions

View File

@ -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 <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 1.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild