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