From 01696ae11b53284315b07d2ec951ffe32e985a76 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Jan 18 2016 17:25:06 +0000 Subject: don't build on archs that don't use grub2 --- diff --git a/atomic-devmode.spec b/atomic-devmode.spec index 878b409..095b821 100644 --- a/atomic-devmode.spec +++ b/atomic-devmode.spec @@ -1,6 +1,6 @@ Name: atomic-devmode Version: 0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Atomic Developer Mode License: LGPLv3+ @@ -10,12 +10,21 @@ URL: http://github.com/jlebon/atomic-devmode Source: atomic-devmode.tar.gz BuildArch: noarch +# We're solely compatible with grub2, so don't build on +# platforms that don't have it. +ExcludeArch: s390 s390x %{arm} + Requires: cloud-init Requires: atomic Requires: tmux -Requires: libpwquality Requires: grub2-tools +# NB: rpmlint complains about this (explicit-lib-dependency) +# but we need it because the package provides the pwmake +# tool, which the scripts require. That tool should probably +# be broken out in a different package. +Requires: libpwquality + %description This package installs a Developer Mode boot option useful for trying out an Atomic Host without having to set up a @@ -39,12 +48,17 @@ make install DESTDIR="%{buildroot}" %license COPYING COPYING.LESSER %changelog +* Mon Jan 18 2016 Jonathan Lebon - 0.2-2 +- Add s390 s390x and arm to ExcludeArch so that we don't try + to be built on platforms that don't use grub2. +- Add explanation for libpwquality req. + * Mon Jan 11 2016 Jonathan Lebon - 0.2-1 - Upstream release 0.2. -- Change license to LGPLv3+ -- Set as noarch -- Add empty build section -- Add license and doc +- Change license to LGPLv3+. +- Set as noarch. +- Add empty build section. +- Add license and doc. * Mon Jan 11 2016 Jonathan Lebon - 0.1-1 - Initial release.