Merge branch 'f27' into f28
This commit is contained in:
commit
c97fde5a20
3 changed files with 14 additions and 6 deletions
|
|
@ -1,3 +1,4 @@
|
|||
%bcond_without check
|
||||
%global pname mmtf-python
|
||||
|
||||
%global desc \
|
||||
|
|
@ -20,8 +21,8 @@ doi: 10.1145/2945292.2945324\
|
|||
|
||||
|
||||
Name: python-mmtf
|
||||
Version: 1.0.7
|
||||
Release: 3%{?dist}
|
||||
Version: 1.0.10
|
||||
Release: 1%{?dist}
|
||||
Summary: A decoding library for the macromolecular transmission format (MMTF)
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/rcsb/mmtf-python
|
||||
|
|
@ -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
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue