The package rpms/freshmaker.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/freshmaker.git/commit/?id=314a626....
Change:
+ExclusiveArch: %{ix86} x86_64
Thanks.
Full change:
============
commit 314a62661857df2669eedff75a32d386c0ad9b22
Author: Jan Kaluza <jkaluza(a)redhat.com>
Date: Mon Sep 11 08:10:38 2017 +0200
Initial Freshmaker version
diff --git a/.gitignore b/.gitignore
index e69de29..5123d96 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/freshmaker-0.0.4.tar.gz
diff --git a/freshmaker-enum34-requirement.patch b/freshmaker-enum34-requirement.patch
new file mode 100644
index 0000000..777ab25
--- /dev/null
+++ b/freshmaker-enum34-requirement.patch
@@ -0,0 +1,10 @@
+diff --git a/requirements.txt b/requirements.txt
+index c9acc09..a1732b3 100644
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -19,4 +19,4 @@ Flask-Migrate
+ Flask-SQLAlchemy
+ Flask-Script
+ requests
+-enum34 ; python_version <= '2.7'
++enum34
diff --git a/freshmaker.spec b/freshmaker.spec
new file mode 100644
index 0000000..36a63bf
--- /dev/null
+++ b/freshmaker.spec
@@ -0,0 +1,154 @@
+Name: freshmaker
+Version: 0.0.4
+Release: 4%{?dist}
+Summary: Freshmaker is a service scheduling rebuilds of artifacts as new content
becomes available.
+
+Group: Development/Tools
+License: MIT
+URL:
https://pagure.io/freshmaker
+Source0:
https://files.pythonhosted.org/packages/source/o/%{name}/%{name}-%{versio...
+Patch0: freshmaker-enum34-requirement.patch
+
+%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: fedmsg-hub
+BuildRequires: help2man
+BuildRequires: kobo
+BuildRequires: python2-devel
+BuildRequires: python2-flask-migrate
+BuildRequires: python2-funcsigs
+BuildRequires: python2-futures
+BuildRequires: python2-pdc-client
+BuildRequires: python-enum34
+BuildRequires: python-flask-script
+BuildRequires: python-httplib2
+BuildRequires: python-m2ext
+BuildRequires: python-munch
+
+%if 0%{?rhel} && 0%{?rhel} <= 7
+BuildRequires: python-setuptools
+BuildRequires: python-fedora
+BuildRequires: python-flask
+BuildRequires: python-flask-sqlalchemy
+BuildRequires: python-mock
+BuildRequires: python-nose
+BuildRequires: python-psutil
+BuildRequires: pytest
+BuildRequires: pyOpenSSL
+BuildRequires: python-six
+BuildRequires: python-sqlalchemy
+BuildRequires: koji
+%else
+BuildRequires: python2-setuptools
+BuildRequires: python2-fedora
+BuildRequires: python2-flask
+BuildRequires: python2-flask-sqlalchemy
+BuildRequires: python2-mock
+BuildRequires: python2-nose
+BuildRequires: python2-psutil
+BuildRequires: python2-pytest
+BuildRequires: python2-pyOpenSSL
+BuildRequires: python2-six
+BuildRequires: python2-sqlalchemy
+BuildRequires: python2-koji
+%endif
+
+BuildRequires: systemd
+%{?systemd_requires}
+
+Requires: fedmsg-hub
+Requires: systemd
+Requires: kobo
+Requires: python2-funcsigs
+Requires: python2-futures
+Requires: python2-openidc-client
+Requires: python2-pdc-client
+Requires: python-enum34
+Requires: python-flask-script
+Requires: python-httplib2
+Requires: python-m2ext
+Requires: python-munch
+
+%if 0%{?rhel} && 0%{?rhel} <= 7
+Requires: python-fedora
+Requires: python-flask
+Requires: python-flask-migrate
+Requires: python-flask-sqlalchemy
+Requires: python-mock
+Requires: python-psutil
+Requires: pyOpenSSL
+Requires: python-six
+Requires: python-sqlalchemy
+Requires: koji
+Requires: systemd-python
+%else
+Requires: python2-koji
+Requires: python2-fedora
+Requires: python2-flask
+Requires: python2-flask-migrate
+Requires: python2-flask-sqlalchemy
+Requires: python2-mock
+Requires: python2-psutil
+Requires: python2-pyOpenSSL
+Requires: python2-six
+Requires: python2-sqlalchemy
+Requires: python2-systemd
+%endif
+
+%description
+Freshmaker is a service scheduling rebuilds of artifacts as new content becomes
available.
+
+%prep
+%setup -q
+
+%if 0%{?rhel} && 0%{?rhel} <= 7
+%patch0 -p1 -b .enum34
+%endif
+
+
+%build
+%py2_build
+
+
+%install
+%py2_install
+
+export PYTHONPATH=%{buildroot}%{python2_sitelib}
+mkdir -p %{buildroot}%{_mandir}/man1
+for command in freshmaker-manager freshmaker-frontend freshmaker-gencert
freshmaker-upgradedb ; do
+FRESHMAKER_CONFIG_FILE=conf/config.py help2man -N --version-string=%{version} \
+ %{buildroot}%{_bindir}/$command > \
+ %{buildroot}%{_mandir}/man1/$command.1
+done
+
+install -d -m 0755 %{buildroot}%{_datadir}/freshmaker
+install -p -m 0644 contrib/freshmaker.wsgi %{buildroot}%{_datadir}/freshmaker
+
+# %check
+# nosetests-%{python2_version} -v
+
+
+%files
+%doc README.md
+%license LICENSE
+%{python2_sitelib}/freshmaker*
+%{_bindir}/freshmaker-*
+%{_mandir}/man1/freshmaker-*.1*
+%dir %{_sysconfdir}/freshmaker
+%{_datadir}/freshmaker
+%{_sysconfdir}/fedmsg.d/*
+%config(noreplace) %{_sysconfdir}/freshmaker/config.py
+%exclude %{_sysconfdir}/freshmaker/*.py[co]
+%exclude %{_sysconfdir}/fedmsg.d/*.py[co]
+%exclude %{python2_sitelib}/conf/
+
+
+%changelog
+* Tue Jul 04 2017 Qixiang Wan <qwan(a)redhat.com> - 0.0.4-4
+- Initial version of spec file
diff --git a/sources b/sources
index e69de29..9583f5d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (freshmaker-0.0.4.tar.gz) =
ff3dca3ec0280232351fb172cf755ab986fcd54d325f5230a10739f4e3f763ddf4b3371d51ff79e1fa18a9a3f8eeea333b53b7d2fcee14a0cfd4aad13b4ef860