From 4a256ee3e1bdd3b00427bcb8cb6acbce1b7950e96ae9eecaacf41a279df6142a Mon Sep 17 00:00:00 2001 From: Jeff Mahoney Date: Mon, 7 May 2012 20:29:09 +0000 Subject: [PATCH] Accepting request 116666 from home:jeff_mahoney:branches:filesystems - Updated BuildRequires to use libuuid-devel and properly build on RHEL. OBS-URL: https://build.opensuse.org/request/show/116666 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=18 --- xfsprogs.changes | 5 +++++ xfsprogs.spec | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/xfsprogs.changes b/xfsprogs.changes index 849a9e7..f310f29 100644 --- a/xfsprogs.changes +++ b/xfsprogs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 7 20:12:41 UTC 2012 - jeffm@suse.com + +- Updated BuildRequires to use libuuid-devel and properly build on RHEL. + ------------------------------------------------------------------- Thu Mar 15 13:41:03 UTC 2012 - coolo@suse.com diff --git a/xfsprogs.spec b/xfsprogs.spec index 8382582..07e61bb 100644 --- a/xfsprogs.spec +++ b/xfsprogs.spec @@ -17,7 +17,15 @@ Name: xfsprogs +%if 0%{?suse_version} > 0 +%if 0%{?suse_version} < 1100 BuildRequires: e2fsprogs-devel +%else +BuildRequires: libuuid-devel +%endif +%else +BuildRequires: libuuid-devel +%endif Version: 3.1.6 Release: 0 %if 0%{?suse_version} >= 1010 @@ -63,7 +71,9 @@ want to install xfsprogs. %prep %setup -q +%if 0%{?suse_version} %patch0 +%endif %patch1 %build