|
|
|
@ -6,18 +6,15 @@
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 0.1.13
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: A Python MessagePack (de)serializer
|
|
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: http://pypi.python.org/pypi/msgpack-python/
|
|
|
|
|
Source0: http://pypi.python.org/packages/source/m/%{srcname}-python/%{srcname}-python-%{version}.tar.gz
|
|
|
|
|
Patch0: msgpack-python-0.1.9-endian.patch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python-devel
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
|
#BuildRequires: python-nose
|
|
|
|
|
|
|
|
|
@ -27,43 +24,33 @@ BuildRequires: python-setuptools
|
|
|
|
|
%filter_setup
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
MessagePack is a binary-based efficient data interchange format that is
|
|
|
|
|
focused on high performance. It is like JSON, but very fast and small.
|
|
|
|
|
This is a Python (de)serializer for MessagePack.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{srcname}-python-%{version}
|
|
|
|
|
%patch0 -p1 -b .endian
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
|
|
%{__python2} setup.py build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
%{__python} setup.py install --skip-build --root %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%{__python2} setup.py install --skip-build --root %{buildroot}
|
|
|
|
|
|
|
|
|
|
##%check
|
|
|
|
|
##PYTHONPATH="%{buildroot}%{python_sitearch}" nosetests -w test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING
|
|
|
|
|
%{python_sitearch}/%{srcname}/
|
|
|
|
|
%{python_sitearch}/%{srcname}*.egg-info
|
|
|
|
|
|
|
|
|
|
%{python2_sitearch}/%{srcname}/
|
|
|
|
|
%{python2_sitearch}/%{srcname}*.egg-info
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jan 06 2014 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.13-5
|
|
|
|
|
- Update spec file and python macros
|
|
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.13-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
@ -74,10 +61,10 @@ rm -rf %{buildroot}
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 11 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.13-1
|
|
|
|
|
- Updated to new upstream version 0.1.13
|
|
|
|
|
- Update to new upstream version 0.1.13
|
|
|
|
|
|
|
|
|
|
* Tue Jan 31 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.12-1
|
|
|
|
|
- Updated to new upstream version 0.1.12
|
|
|
|
|
- Update to new upstream version 0.1.12
|
|
|
|
|
|
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.10-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
@ -87,7 +74,7 @@ rm -rf %{buildroot}
|
|
|
|
|
- README is gone
|
|
|
|
|
|
|
|
|
|
* Tue Jul 12 2011 Dan Horák <dan[at]danny.cz> - 0.1.9-3
|
|
|
|
|
- fix build on big endian arches
|
|
|
|
|
- Fix build on big endian arches
|
|
|
|
|
|
|
|
|
|
* Fri Jun 24 2011 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.9-2
|
|
|
|
|
- Tests are failing, they are not active at the moment
|
|
|
|
|