diff --git python-blivet1/python-blivet1.spec python-blivet1/python-blivet1.spec.tmp index d7f1c55242..158304bc0f 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,30 +31,37 @@ BuildArch: noarch BuildRequires: gettext BuildRequires: python2-devel python2-setuptools -Requires: python -Requires: python-six -Requires: python-kickstart >= %{pykickstartver} -Requires: util-linux >= %{utillinuxver} -Requires: python-pyudev -Requires: parted >= %{partedver} -Requires: pyparted >= %{pypartedver} -Requires: dosfstools -Requires: e2fsprogs >= %{e2fsver} -Requires: lsof +%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-gobject-base +Requires: python-hawkey Requires: libselinux-python -Requires: python2-blockdev >= %{libblockdevver} Requires: libblockdev-plugins-all >= %{libblockdevver} +Requires: python2-blockdev >= %{libblockdevver} Requires: libselinux-python -Requires: python-hawkey -Requires: python-gobject-base - -%description -The python-blivet package is a python module for examining and modifying -storage configuration. +Requires: lsof +Requires: e2fsprogs >= %{e2fsver} +Requires: dosfstools +Requires: pyparted >= %{pypartedver} +Requires: parted >= %{partedver} +Requires: python-pyudev +Requires: util-linux >= %{utillinuxver} +Requires: python-kickstart >= %{pykickstartver} +Requires: python-six +Requires: python +%{?python_provide:%python_provide python2-blivet1} -# 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 +* Tue Aug 08 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