From 37888d7995f279ad071ec5a568a11cdd9f8be706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:38:33 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-libbytesize --- libbytesize.spec | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/libbytesize.spec b/libbytesize.spec index b71bd74..014f3de 100644 --- a/libbytesize.spec +++ b/libbytesize.spec @@ -12,7 +12,7 @@ Name: libbytesize Version: 0.11 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A library for working with sizes in bytes License: LGPLv2+ URL: https://github.com/rhinstaller/libbytesize @@ -44,13 +44,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package contains header files and pkg-config files needed for development with the libbytesize library. -%package -n python-%{realname} +%package -n python2-%{realname} Summary: Python 2 bindings for libbytesize -Provides: python2-%{realname} = %{version}-%{release} +%{?python_provide:%python_provide python2-%{realname}} +%{?python_provide:%python_provide python2-libbytesize} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: python-six -%description -n python-%{realname} +%description -n python2-%{realname} This package contains Python 2 bindings for libbytesize making the use of the library from Python 2 easier and more convenient. @@ -97,7 +98,7 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm} %{_datadir}/gtk-doc/html/libbytesize %endif -%files -n python-%{realname} +%files -n python2-%{realname} %dir %{python2_sitearch}/bytesize %{python2_sitearch}/bytesize/* @@ -109,6 +110,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm} %endif %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.11-4 +- Python 2 binary package renamed to python2-libbytesize + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild