From 032f7b517b6f6c0b7a330aec2128b75fd93b80b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:38:38 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-libpst --- libpst.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libpst.spec b/libpst.spec index cee8f3c..bd9d174 100644 --- a/libpst.spec +++ b/libpst.spec @@ -1,7 +1,7 @@ Summary: Utilities to convert Outlook .pst files to other formats Name: libpst Version: 0.6.71 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: Applications/Productivity Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz @@ -42,7 +42,11 @@ utilities. %package python2 Requires: python2 %else -%package python +%package -n python2-libpst +%{?python_provide:%python_provide python2-libpst} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Requires: python %endif Summary: Python bindings for libpst @@ -62,7 +66,7 @@ Requires: %{name}-libs = %{version}-%{release} %if 0%{?fedora} > 25 %description python2 %else -%description python +%description -n python2-libpst %endif The libpst-python package allows you to use the libpst shared object from python code. @@ -150,7 +154,7 @@ rm -rf $RPM_BUILD_ROOT %exclude %{python2_sitearch}/*.a %exclude %{python2_sitearch}/*.la %else -%files python +%files -n python2-libpst %defattr(-,root,root,-) %{python_sitearch}/_*.so %exclude %{python_sitearch}/*.a @@ -182,6 +186,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.6.71-4 +- Python 2 binary package renamed to python2-libpst + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.6.71-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild