diff --git python-phacter/python-phacter.spec python-phacter/python-phacter.spec.tmp index 4b5f187e05..749042540d 100644 --- python-phacter/python-phacter.spec +++ python-phacter/python-phacter.spec.tmp @@ -4,7 +4,7 @@ Name: python-phacter Version: 0.2.0 -Release: 12%{?dist} +Release: 13%{?dist} Summary: System fact look up tool Group: Applications/System @@ -16,12 +16,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel, python-setuptools, python-netifaces -Requires: python, python-netifaces -%description -A python tool to report system facts +%global _description\ +A python tool to report system facts\ + + +%description %_description +%package -n python2-phacter +Summary: %summary +Requires: python, python-netifaces +%{?python_provide:%python_provide python2-phacter} + +%description -n python2-phacter %_description %prep %setup -q -n %{name}-%{version} @@ -44,7 +52,7 @@ cp phacter.1 %{buildroot}%{_mandir}/man1/phacter.1 rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-phacter %defattr(-,root,root,-) %doc AUTHORS COPYING LICENSE %doc %{_mandir}/man1/phacter.1.gz @@ -54,6 +62,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.2.0-13 +- Python 2 binary package renamed to python2-phacter + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild