From 590849417caa283871984cc6c1c9e52d71e33f190bbbc16c5eff03bd1cd3564f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Fri, 14 Nov 2014 12:11:14 +0000 Subject: [PATCH] Accepting request 261522 from GNOME:Next - Drop openSUSE-release BuildRequires: as this package gets a daily update to represent the build version, aisleriot is being rebuilt for no reason everyday. - Hackup configure to fallback to 'opensuse' as release when no /etc/os-release can be found. OBS-URL: https://build.opensuse.org/request/show/261522 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/aisleriot?expand=0&rev=63 --- aisleriot.changes | 9 +++++++++ aisleriot.spec | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/aisleriot.changes b/aisleriot.changes index 6220819..ab9bdd9 100644 --- a/aisleriot.changes +++ b/aisleriot.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Nov 14 00:45:41 UTC 2014 - dimstar@opensuse.org + +- Drop openSUSE-release BuildRequires: as this package gets a daily + update to represent the build version, aisleriot is being rebuilt + for no reason everyday. +- Hackup configure to fallback to 'opensuse' as release when no + /etc/os-release can be found. + ------------------------------------------------------------------- Thu Nov 13 09:38:41 UTC 2014 - zaitor@opensuse.org diff --git a/aisleriot.spec b/aisleriot.spec index c01e6a0..a6271b2 100644 --- a/aisleriot.spec +++ b/aisleriot.spec @@ -30,7 +30,6 @@ BuildRequires: guile-devel BuildRequires: intltool BuildRequires: lsb-release # Needed to get lsb data -BuildRequires: suse-release BuildRequires: update-desktop-files BuildRequires: yelp-tools BuildRequires: pkgconfig(cairo) @@ -65,6 +64,8 @@ This package provides extra themes for Aisleriot. %setup -q %build +# Hack up configure. This allows us not having to rely on openSUSE-release, which is a daily changing package +sed -i 's:DISTRO="unknown":DISTRO="opensuse":' configure %configure \ --disable-schemas-install \ --disable-static \