From 0bab6b0296b0ec109b3b25f8eae89b5d526ae02b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 30 Jul 2017 21:07:05 +0100 Subject: [PATCH] make package noarch for f27+ --- ghc-rpm-macros.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index f098e1c..36aa5b4 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -11,7 +11,7 @@ Name: ghc-rpm-macros Version: 1.6.20 -Release: 1%{?dist} +Release: 2%{?dist} Summary: RPM macros for building Haskell packages for GHC License: GPLv3+ @@ -36,8 +36,9 @@ Requires: ghc-compiler Requires: hscolour %endif %endif -# this package could now be noarch again -#BuildArch: noarch +%if 0%{?fedora} >= 27 +BuildArch: noarch +%endif %description A set of macros for building GHC packages following the Haskell Guidelines @@ -161,6 +162,9 @@ EOF %changelog +* Sun Jul 30 2017 Jens Petersen - 1.6.20-2 +- make package noarch again + * Sun Jul 30 2017 Jens Petersen - 1.6.20-1 - add _ghclicensedir macro - add ghc_smp_mflags macro, since -j4 breaks reproducible-builds.org completely