[amarok] abstract libgpod support

Rex Dieter rdieter at fedoraproject.org
Thu Sep 16 16:54:37 UTC 2010


commit 33bd34958574eb0da6a1ad807346d1408236a848
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Thu Sep 16 11:09:38 2010 -0500

    abstract libgpod support

 amarok.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/amarok.spec b/amarok.spec
index e118427..bb07da2 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -1,4 +1,8 @@
 
+%ifnarch s390 s390x
+%define libgpod 1
+%endif
+
 Name:    amarok
 Summary: Media player
 Version: 2.3.1.90
@@ -23,7 +27,7 @@ BuildRequires: libifp-devel
 BuildRequires: liblastfm-devel
 BuildRequires: libmp4v2-devel
 BuildRequires: libmtp-devel >= 0.3.0
-%ifnarch s390 s390x
+%if 0%{?libgpod}
 BuildRequires: libgpod-devel >= 0.7.0
 %endif
 BuildRequires: libnjb-devel


More information about the scm-commits mailing list