Blame python-fb-re2.spec

9dd9777
%global srcname fb-re2
9dd9777
%global _description %{expand:
9dd9777
python-fb-re2 is a Python extension that wraps Google's RE2 regular expression
9dd9777
library.
9dd9777
9dd9777
This is Facebook's pyre2 Python extension that wraps Google's RE2 regular
9dd9777
expression library. It implements many of the features of Python's built-in re
9dd9777
module with compatible interfaces.}
9dd9777
9dd9777
Name:               python-%{srcname}
9dd9777
Version:            1.0.7
5147fe5
Release:            3%{?dist}
9dd9777
Summary:            Python wrapper for Google's RE2 library
9dd9777
9dd9777
License:            BSD
9dd9777
URL:                https://github.com/facebook/pyre2
9dd9777
Source0:            %pypi_source
9dd9777
9dd9777
%description %_description
9dd9777
9dd9777
%package -n python3-%{srcname}
9dd9777
Summary:            %{summary}
9dd9777
BuildRequires:      python3-devel
9dd9777
BuildRequires:      python3-setuptools
9dd9777
BuildRequires:      re2-devel
9dd9777
BuildRequires:      gcc-c++
9dd9777
%{?python_provide:%python_provide python3-%{srcname}}
9dd9777
9dd9777
%description -n python3-%{srcname} %_description
9dd9777
9dd9777
%prep
9dd9777
%setup -q -n %{srcname}-%{version}
9dd9777
9dd9777
%build
9dd9777
%py3_build
9dd9777
9dd9777
%install
9dd9777
%py3_install
9dd9777
9dd9777
%files -n python3-%{srcname}
9dd9777
%doc README
9dd9777
%pycached %{python3_sitearch}/re2.py
9dd9777
%{python3_sitearch}/*re2*.so
9dd9777
%{python3_sitearch}/fb_re2-*.egg-info/
9dd9777
9dd9777
%changelog
5147fe5
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-3
5147fe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5147fe5
e6deeca
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 1.0.7-2
e6deeca
- Rebuilt for Python 3.9
e6deeca
9dd9777
* Tue Mar 10 2020 Fabien Boucher <fboucher@redhat.com> - 1.0.7-1
9dd9777
- Bump to 1.0.7
9dd9777
9dd9777
* Sat Apr 14 2018 Tristan Cacqueray <tdecacqu@redhat.com> - 1.0.6-1
9dd9777
- Bump to 1.0.6
9dd9777
9dd9777
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-4
9dd9777
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9dd9777
9dd9777
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-3
9dd9777
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9dd9777
9dd9777
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
9dd9777
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9dd9777
9dd9777
* Sun Oct 09 2016 Mads Kiilerich <mads@kiilerich.com> - 1.0.5-1
9dd9777
- python3-re2 1.0.5
9dd9777
9dd9777
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-4
9dd9777
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
9dd9777
9dd9777
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-3
9dd9777
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9dd9777
9dd9777
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2
9dd9777
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9dd9777
9dd9777
* Tue Apr 14 2015 Mads Kiilerich <mads@kiilerich.com> - 1.0.4-1
9dd9777
- change from the axiak/pyre2 fork back to the upstream facebook/pyre2
9dd9777
- enable tests
9dd9777
9dd9777
* Thu Feb 12 2015 Ralph Bean <rbean@redhat.com> - 0.2.20-2.20150211git382bb74
9dd9777
- Move to a post-release git checkout to include various bugfixes.
9dd9777
- Remove rpath settings.
9dd9777
- Use Cython for the build.
9dd9777
9dd9777
* Wed Feb 11 2015 Ralph Bean <rbean@redhat.com> - 0.2.20-1
9dd9777
- initial package for Fedora