diff --git python-re2/python-re2.spec python-re2/python-re2.spec.tmp index f6dfaa2594..facaadeeaa 100644 --- python-re2/python-re2.spec +++ python-re2/python-re2.spec.tmp @@ -8,7 +8,7 @@ Name: python-re2 Version: 1.0.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python wrapper for Google's RE2 library Group: Development/Libraries @@ -20,16 +20,23 @@ BuildRequires: python2-devel BuildRequires: re2-devel BuildRequires: python-nose -Requires: re2 +%global _description\ +python-re2 is a Python extension that wraps Google's RE2 regular expression\ +library.\ +\ +This is Facebook's pyre2 Python extension that wraps Google's RE2 regular\ +expression library. It implements many of the features of Python's built-in re\ +module with compatible interfaces.\ + -%description -python-re2 is a Python extension that wraps Google's RE2 regular expression -library. +%description %_description -This is Facebook's pyre2 Python extension that wraps Google's RE2 regular -expression library. It implements many of the features of Python's built-in re -module with compatible interfaces. +%package -n python2-re2 +Summary: %summary +Requires: re2 +%{?python_provide:%python_provide python2-re2} +%description -n python2-re2 %_description %prep %setup -q -n fb-re2-%{version} @@ -46,7 +53,7 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build %check PYTHONPATH=%{buildroot}/%{python2_sitearch} %{__python2} /usr/bin/nosetests -%files +%files -n python2-re2 %doc README.rst %license LICENSE %{python2_sitearch}/re2.py* @@ -55,6 +62,10 @@ PYTHONPATH=%{buildroot}/%{python2_sitearch} %{__python2} /usr/bin/nosetests %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0.5-5 +- Python 2 binary package renamed to python2-re2 + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild