xpra icon
Bug tracker and wiki

PacketEncoding: python-lz4-0.6.1.spec

File python-lz4-0.6.1.spec, 1.4 KB (added by Antoine Martin, 6 years ago)

new python-lz4 release, add workaround for Fedora 20+ debuginfo breakage

Line 
1%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2#
3# spec file for package python-lz4
4#
5# Copyright (c) 2013-2014
6#
7
8Name:           python-lz4
9Version:        0.6.1
10Release:        0%{?dist}
11Url:            https://github.com/steeve/python-lz4
12Summary:        LZ4 Bindings for Python
13License:        GPLv2+
14Group:          Development/Languages/Python
15Source:         https://pypi.python.org/packages/source/l/lz4/lz4-%{version}.tar.gz
16BuildRoot:      %{_tmppath}/%{name}-%{version}-build
17
18BuildRequires:  python-devel
19
20%description
21This package provides bindings for the lz4 compression library
22http://code.google.com/p/lz4/ by Yann Collet.
23
24%if %(egrep -q 'Fedora release 2' /etc/redhat-release && echo 0 || echo 1)
25%debug_package
26%endif
27
28%prep
29%setup -q -n lz4-%{version}
30
31%build
32export CFLAGS="%{optflags}"
33python setup.py build
34
35%install
36python setup.py install --prefix=%{_prefix} --root=%{buildroot}
37
38%clean
39rm -rf %{buildroot}
40
41%files
42%defattr(-,root,root,-)
43%doc README.rst
44%{python_sitearch}/*
45
46%changelog
47* Fri Mar 21 2014 Antoine Martin <antoine@devloop.org.uk - 0.6.1-0
48- New upstream release
49
50* Wed Jan 15 2014 Antoine Martin <antoine@devloop.org.uk - 0.6.0-1.0
51- Fix version in specfile
52- build debuginfo packages
53
54* Sun Dec 8 2013 Stephen Gauthier <sgauthier@spikes.com> - 0.6.0-0
55- First version for Fedora Extras
56