update to 1.0.10 (#1531012)

use standard check wrapper
This commit is contained in:
Dominik 'Rathann' Mierzejewski 2018-02-21 10:52:44 +01:00
commit 5555cbddb1
3 changed files with 13 additions and 5 deletions

View file

@ -1,3 +1,4 @@
%bcond_without check
%global pname mmtf-python
%global desc \
@ -20,7 +21,7 @@ doi: 10.1145/2945292.2945324\
Name: python-mmtf
Version: 1.0.7
Version: 1.0.10
Release: 1%{?dist}
Summary: A decoding library for the macromolecular transmission format (MMTF)
License: ASL 2.0
@ -34,10 +35,11 @@ BuildArch: noarch
%package -n python2-mmtf
Summary: %{summary}
BuildRequires: python2-devel
# for tests
%if %{with check}
BuildRequires: python2-msgpack
BuildRequires: python2-nose
BuildRequires: python2-numpy
%endif
%{?python_provide:%python_provide python2-mmtf}
Requires: python2-msgpack
@ -47,10 +49,11 @@ Requires: python2-msgpack
%package -n python3-mmtf
Summary: %{summary}
BuildRequires: python3-devel
# for tests
%if %{with check}
BuildRequires: python3-msgpack
BuildRequires: python3-nose
BuildRequires: python3-numpy
%endif
%{?python_provide:%python_provide python3-mmtf}
Requires: python3-msgpack
@ -69,7 +72,7 @@ Requires: python3-msgpack
%py3_install
rm %{buildroot}%{_bindir}/sample
%if 1
%if %{with check}
%check
nosetests-%{python2_version}
nosetests-%{python3_version}
@ -88,6 +91,10 @@ nosetests-%{python3_version}
%{python3_sitelib}/mmtf
%changelog
* Wed Feb 21 2018 Dominik Mierzejewski <dominik@greysector.net> 1.0.10-1
- update to 1.0.10 (#1531012)
- use standard check wrapper
* Thu Jun 29 2017 Dominik Mierzejewski <dominik@greysector.net> 1.0.7-1
- update to 1.0.7 (#1466315)