diff --git python-mglob/python-mglob.spec python-mglob/python-mglob.spec.tmp index 0e8d553e19..5573e2a093 100644 --- python-mglob/python-mglob.spec +++ python-mglob/python-mglob.spec.tmp @@ -8,7 +8,7 @@ Name: python-mglob Version: 0.4 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Enhanced file name globbing module Group: Development/Libraries @@ -29,11 +29,19 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools %endif -%description -Usable as stand-alone utility (for xargs, backticks etc.), or as a globbing -library for own python programs. +%global _description\ +Usable as stand-alone utility (for xargs, backticks etc.), or as a globbing\ +library for own python programs.\ Some enhanced features are recursion, exclusion, and directory omission. +%description %_description + +%package -n python2-mglob +Summary: %summary +%{?python_provide:%python_provide python2-mglob} + +%description -n python2-mglob %_description + %if 0%{?with_python3} %package -n python3-mglob Summary: Enhanced file name globbing module @@ -88,7 +96,7 @@ popd rm -rf %{buildroot} -%files +%files -n python2-mglob %defattr(-,root,root,-) # upstream has no docs %doc @@ -108,6 +116,10 @@ rm -rf %{buildroot} %endif # with_python3 %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.4-19 +- Python 2 binary package renamed to python2-mglob + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild