#81 updating the blockerbugs specfile so that it builds on x86_64 builders in koji
Merged 6 years ago by frantisekz. Opened 6 years ago by tflink.
fedora-qa/ tflink/blockerbugs feature/fix-noarch-koji-building  into  develop

file modified
+15 -1
@@ -2,7 +2,7 @@ 

  # NOTE: if you update version, *make sure* to also update

  # `blockerbugs/__init__.py` and `docs/source/conf.py`

  Version:        0.5.0

- Release:        1%{?dist}

+ Release:        4%{?dist}

  Summary:        Fedora QA Blocker Tracking Application

  

  License:        GPLv2+
@@ -11,6 +11,11 @@ 

  

  BuildArch:      noarch

  

+ # while ugly, this package can only build on x86_64 because python-flask is only available for EL7

+ # on the x86_64 arch. Without adding this, building in koji is near impossible because noarch

+ # packages usually end up in ppc or arm builders

+ ExclusiveArch:  x86_64 noarch

+ 

  Requires:       python-flask

  Requires:       python-flask-sqlalchemy

  Requires:       python-flask-wtf
@@ -104,6 +109,15 @@ 

  

  

  %changelog

+ * Wed Jan 30 2019 Tim Flink <tflink@fedoraproject.org> - 0.5.0-4

+ - changing arch back to noarch, using ExclusiveArch correctly this time

+ 

+ * Wed Jan 30 2019 Tim Flink <tflink@fedoraproject.org> - 0.5.0-3

+ - removing ExclusiveArch, changing Arch to x86_64 so that the srpm can be built sanely in Koji

+ 

+ * Wed Jan 30 2019 Tim Flink <tflink@fedoraproject.org> - 0.5.0-2

+ - added ExclusiveArch to make it build on x86_64

+ 

  * Tue Jan 8 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.5.0-1

  - New Bootstrap based frontend

  - Dropped Spins Support

This fixes a long-time annoyance where the package was usually sent to a non-x86_64 builder in Koji which doesn't have python-flask available. Adding the exclusive arch forces the build to be on a x86_64 builder

The changelog could have been squashed together if we didn't deploy in anywhere yet, but i don't really care.

Otherwise LGTM, thanks!

Pull-Request has been merged by frantisekz

6 years ago
Metadata