diff --git a/module-build-service.spec b/module-build-service.spec index 781614b..3225fd6 100644 --- a/module-build-service.spec +++ b/module-build-service.spec @@ -1,6 +1,6 @@ Name: module-build-service Version: 1.3.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Module Build Service for Modularity Group: Development/Tools @@ -8,7 +8,13 @@ License: MIT URL: https://pagure.io/fm-orchestrator Source0: https://files.pythonhosted.org/packages/source/m/%{name}/%{name}-%{version}.tar.gz +%if 0%{?rhel} && 0%{?rhel} <= 7 +# In EL7 we need flask which needs python-itsdangerous which comes from +# rhel7-extras which is only available on x86_64 for now. +ExclusiveArch: %{ix86} x86_64 +%else BuildArch: noarch +%endif BuildRequires: python2-devel @@ -156,6 +162,9 @@ nosetests-2.7 -v %changelog +* Thu Mar 02 2017 Ralph Bean - 1.3.2-2 +- Conditionalize arch for epel7 building. + * Thu Mar 02 2017 Ralph Bean - 1.3.2-1 - new version