Blame SPECS/python-snappy.spec

804e57
%global pypi_name python-snappy
804e57
804e57
Name:           python-snappy
804e57
Version:        0.5.4
804e57
Release:        9%{?dist}
804e57
Summary:        Python library for the snappy compression library from Google
804e57
License:        BSD
804e57
URL:            https://pypi.python.org/pypi/%{pypi_name}
804e57
Source0:        https://files.pythonhosted.org/packages/45/35/65d9f8cc537129894b4b32647d80212d1fa342877581c5b8a69872cea8be/python-snappy-0.5.4.tar.gz
804e57
804e57
BuildRequires:  gcc-c++
804e57
BuildRequires:  snappy-devel
804e57
804e57
%description
804e57
Python bindings for the snappy compression library from Google.
804e57
804e57
804e57
%package -n     python3-snappy
804e57
Summary:        Python library for the snappy compression library from Google
804e57
BuildRequires:  gcc-c++
804e57
BuildRequires:  python3-devel
804e57
BuildRequires:  python3-setuptools
804e57
BuildRequires:  python3-cffi
804e57
BuildRequires:  snappy-devel
804e57
Requires:       python3-cffi
804e57
Requires:       snappy
804e57
# Don't use %%pypi_name here to avoid a python-python-snappy provide
804e57
%{?python_provide:%python_provide python3-snappy}
804e57
804e57
%description -n python3-snappy
804e57
Python bindings for the snappy compression library from Google.
804e57
804e57
804e57
%prep
804e57
%setup -qn %{pypi_name}-%{version}
804e57
804e57
804e57
%build
804e57
%py3_build
804e57
804e57
804e57
%install
804e57
%py3_install
804e57
804e57
# Remove shebang
804e57
sed -i '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitearch}/snappy/snappy.py
804e57
804e57
804e57
%files -n python3-snappy
804e57
%doc README.rst AUTHORS
804e57
%license LICENSE
804e57
%{python3_sitearch}/python_snappy-%{version}-py%{python3_version}.egg-info/
804e57
%{python3_sitearch}/snappy/
804e57
804e57
804e57
%changelog
804e57
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-9
804e57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
804e57
804e57
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-8
804e57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
804e57
804e57
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.5.4-7
804e57
- Rebuilt for Python 3.9
804e57
804e57
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-6
804e57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
804e57
804e57
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.4-5
804e57
- Rebuilt for Python 3.8.0rc1 (#1748018)
804e57
804e57
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.4-4
804e57
- Rebuilt for Python 3.8
804e57
804e57
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-3
804e57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
804e57
804e57
* Thu May 09 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.4-2
804e57
- Subpackage python2-snappy has been removed
804e57
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
804e57
804e57
* Sat Mar 23 2019 Julien Enselme <jujens@jujens.eu> - 0.5.4-1
804e57
- Update to 0.5.4
804e57
804e57
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-2
804e57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
804e57
804e57
* Mon Jul 30 2018 Julien Enselme <jujens@jujens.eu> - 0.5.3-1
804e57
- Update to 0.5.3
804e57
804e57
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-4
804e57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
804e57
804e57
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.2-3
804e57
- Rebuilt for Python 3.7
804e57
804e57
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-2
804e57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
804e57
804e57
* Mon Jan 29 2018 Julien Enselme <jujens@jujens.eu> - 0.5.2-1
804e57
- Update to 0.5.2
804e57
804e57
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-3
804e57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
804e57
804e57
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
804e57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
804e57
804e57
* Sun May 07 2017 Julien Enselme <jujens@jujens.eu> - 0.5.1-1
804e57
- Update to 0.5.1 
804e57
804e57
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-11
804e57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
804e57
804e57
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.5-10
804e57
- Rebuild for Python 3.6
804e57
804e57
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-9
804e57
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
804e57
804e57
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-8
804e57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
804e57
804e57
* Thu Nov 12 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-7
804e57
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
804e57
804e57
* Fri Nov 6 2015 Julien Enselme <jujens@jujens.eu> - 0.5-6
804e57
- Correct provides for python2 package
804e57
804e57
* Thu Nov 5 2015 Julien Enselme <jujens@jujens.eu> - 0.5-5
804e57
- Rebuilt for python 3.5
804e57
804e57
* Thu Nov 5 2015 Julien Enselme <jujens@jujens.eu> - 0.5-4
804e57
- Update package for new python guidelines
804e57
804e57
* Thu Jul 30 2015 Julien Enselme <jujens@jujens.eu> - 0.5-3
804e57
- Add provides for python2-snappy
804e57
- Remove usage of python2 and python3 dirs
804e57
804e57
* Fri Jul 24 2015 Julien Enselme <jujens@jujens.eu> - 0.5-2
804e57
- Remove usage of %%py3dir
804e57
- Add CFLAGS in %%build
804e57
804e57
* Sat Jul 18 2015 Julien Enselme <jujens@jujens.eu> - 0.5-1
804e57
- Initial packaging