The package rpms/ProDy.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/ProDy.git/commit/?id=3c5c120b251a8b9....
Change: -ExcludeArch: ppc64 s390x
Thanks.
Full change: ============
commit 3c5c120b251a8b9e97a1a3839e04621cee4d53ff Author: sagitter sagitter@fedoraproject.org Date: Thu Mar 1 18:39:06 2018 +0100
Release 1.9 final (1.9.3 post-release)
diff --git a/.gitignore b/.gitignore index 0c4b06e..c58bec7 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /ProDy-1.8.tar.gz /ProDy-1.8.2.tar.gz /ProDy-1.9.3.tar.gz +/ProDy-1.9.tar.gz diff --git a/ProDy.spec b/ProDy.spec index 58a9e79..25d5d5b 100644 --- a/ProDy.spec +++ b/ProDy.spec @@ -1,8 +1,13 @@ +## https://github.com/prody/ProDy/issues/266 +ExcludeArch: ppc64 s390x + %if 0%{?fedora} %global with_python3 1 %endif
-%global with_check 1 +# Tests need internet connection; +# correctly executed in local. +%global with_check 0
%if 0%{?rhel} && 0%{?rhel} <= 6 %{!?__python2: %global __python2 /usr/bin/python2} @@ -25,14 +30,13 @@ Name: ProDy Summary: Application for protein structure, dynamics and sequence analysis Version: 1.9.3 -Release: 4%{?dist} +Release: 5.final%{?dist} License: GPLv3+ Group: Applications/Engineering URL: http://www.csb.pitt.edu/ProDy -Source0: https://github.com/prody/ProDy/archive/v%%7Bversion%7D.tar.gz/%%7Bname%7D-%%... +Source0: https://github.com/prody/ProDy/archive/v%%7Bversion%7D.tar.gz/%%7Bname%7D-1....
-## https://github.com/prody/ProDy/issues/266 -ExcludeArch: ppc64 s390x +BuildRequires: gcc
%description ProDy is a free and open-source Python package for protein structure, dynamics, @@ -59,7 +63,7 @@ BuildRequires: python2-devel BuildRequires: python-nose BuildRequires: python-argparse BuildRequires: scipy -BuildRequires: python-biopython +BuildRequires: python2-biopython BuildRequires: numpy BuildRequires: python-matplotlib BuildRequires: python-unittest2 @@ -67,7 +71,7 @@ BuildRequires: pyparsing
Requires: python-argparse Requires: pyparsing -Requires: python-biopython +Requires: python2-biopython Requires: ipython, pyparsing Requires: scipy
@@ -87,6 +91,8 @@ visual analysis. %if 0%{?with_python3} %package -n python3-%{name} Summary: Application for protein structure, dynamics and sequence analysis +%{?python_provide:%python_provide python3-%{name}} +Provides: ProDy-python3 = 0:%{version}-%{release}
BuildRequires: python3-devel BuildRequires: python3-nose @@ -104,7 +110,6 @@ Requires: python3-pyparsing
## Explicit library require for using plotting functions Requires: python3-matplotlib -%{?python_provide:%python_provide python3-%{name}}
%description -n python3-%{name} This is ProDy Python3 package for protein structure, dynamics, @@ -118,18 +123,15 @@ visual analysis.
%prep %setup -qc -mv %{name}-%{version} python2
-pushd python2 -## Removing bundled files -rm prody/atomic/pyparsing* -rm -rf prody/KDTree -rm prody/proteins/pairwise2.py prody/proteins/cpairwise2.c -rm prody/apps/argparse.py -popd +rm -rf %{name}-1.9/kdtree + +%if 0%{?rhel} +cp -a %{name}-1.9 python2 +%endif
%if 0%{?with_python3} -cp -a python2 python3 +mv %{name}-1.9 python3 %endif # with_python3
%build @@ -214,21 +216,6 @@ popd ##Some tests skipped for missing internet connections on koji pushd python2/scripts PYTHONPATH=$RPM_BUILD_ROOT%{python2_sitearch} nosetests --verbosity=2 \ - -e test_select.py \ -%if 0%{?rhel} && 0%{?rhel} < 7 - -e test_frame.py \ - -e test_dcdfile.py \ - -e test_analysis.py \ - -e test_kdtree.py \ - -e test_ensemble.py \ - -e test_prody_anm.py \ - -e test_prody_gnm.py \ - -e test_prody_catdcd.py \ - -e test_prody_pca.py \ - -e test_prody_examples.py \ - -e test_enms.py \ - -e test_editing.py \ -%endif -w $RPM_BUILD_ROOT%{python2_sitearch}/prody/tests --tests prody -a '!slow' popd %endif @@ -236,16 +223,6 @@ popd %if 0%{?with_python3} pushd python3/scripts PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitearch} nosetests-%{python3_version} --verbosity=2 \ - -e test_atomic.py \ - -e test_pdbfile.py \ - -e test_measure.py \ - -e test_wwpdb.py \ - -e test_localpdb.py \ - -e test_msafile.py \ - -e test_pathtools.py \ - -e test_select.py \ - -e test_dcdfile.py \ - -e test_enms.py \ -w $RPM_BUILD_ROOT%{python3_sitearch}/prody/tests --tests prody -a '!slow' popd %endif @@ -283,6 +260,9 @@ popd %endif
%changelog +* Wed Feb 28 2018 Antonio Trande <sagitterATfedoraproject.org> - 1.9.3-5.final +- Release 1.9 final (1.9.3 post-release) + * Mon Feb 19 2018 Antonio Trande <sagitterATfedoraproject.org> - 1.9.3-4 - Fix python3 shebang
diff --git a/sources b/sources index 9234da4..6ffa941 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ProDy-1.9.3.tar.gz) = a1ef78863116c92e4389435b037480da83187ded9bccb62006eabdec3db29fbbcaeb5eeb626faf4ca6ebded8daee3d55f8f1a72db316ddd8fe4ecd40d795a82d +SHA512 (ProDy-1.9.tar.gz) = 2d2f674eea685bf1cb81b199502ac92afbf0c560a973de99f72cd5af9ed7ea5a59581adb11c4ba8e97479f592035c7b44dcd45d28da41a56ba11e4c36a3fbec9