diff --git python-blivet1/python-blivet1.spec python-blivet1/python-blivet1.spec.tmp index d7f1c55242..7014ef6942 100644 --- python-blivet1/python-blivet1.spec +++ python-blivet1/python-blivet1.spec.tmp @@ -2,7 +2,7 @@ Summary: A python module for system storage configuration Name: python-blivet1 Url: http://fedoraproject.org/wiki/blivet Version: 1.20.3 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 1 License: LGPLv2+ Group: System Environment/Libraries @@ -31,6 +31,18 @@ BuildArch: noarch BuildRequires: gettext BuildRequires: python2-devel python2-setuptools +%global _description\ +The python-blivet package is a python module for examining and modifying\ +storage configuration.\ +\ +# These patches apply mostly non-code changes related to packaging and\ +# it is not worth the effort to make sure they apply with fuzz=0.\ +%global _default_patch_fuzz 2 + +%description %_description + +%package -n python2-blivet1 +Summary: %summary Requires: python Requires: python-six Requires: python-kickstart >= %{pykickstartver} @@ -47,14 +59,9 @@ Requires: libblockdev-plugins-all >= %{libblockdevver} Requires: libselinux-python Requires: python-hawkey Requires: python-gobject-base +%{?python_provide:%python_provide python2-blivet1} -%description -The python-blivet package is a python module for examining and modifying -storage configuration. - -# These patches apply mostly non-code changes related to packaging and -# it is not worth the effort to make sure they apply with fuzz=0. -%global _default_patch_fuzz 2 +%description -n python2-blivet1 %_description %prep %setup -q -n %{realname}-%{version} @@ -74,12 +81,16 @@ make %{?_smp_mflags} make %{?_smp_mflags} PYTHON=%{__python2} DESTDIR=%{buildroot} install %find_lang %{compatname} -%files -f %{compatname}.lang +%files -n python2-blivet1 -f %{compatname}.lang %license COPYING %doc README ChangeLog examples %{python2_sitelib}/* %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1:1.20.3-4 +- Python 2 binary package renamed to python2-blivet1 + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1:1.20.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild