[plank] Build against bamf-devel and not bamf4-devel in Fedora 21+

Wesley S. Hearn jknife at fedoraproject.org
Mon Feb 17 15:23:22 UTC 2014


commit 3e59ebcedc62e14d7522a3f5cd0c8888951e0d91
Author: Wesley Hearn <whearn at redhat.com>
Date:   Mon Feb 17 10:24:00 2014 -0500

    Build against bamf-devel and not bamf4-devel in Fedora 21+

 plank.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/plank.spec b/plank.spec
index 3c75b6b..e5f4b4a 100644
--- a/plank.spec
+++ b/plank.spec
@@ -1,6 +1,6 @@
 Name:           plank
 Version:        0.5.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        A port of docky to Vala
 
 License:        GPLv3+
@@ -14,12 +14,18 @@ BuildRequires:  gobject-introspection-devel
 BuildRequires:  vala-tools
 BuildRequires:  glib2-devel
 BuildRequires:  libwnck3-devel
-BuildRequires:  bamf3-devel
 BuildRequires:  gtk3-devel
 BuildRequires:  intltool
 BuildRequires:  desktop-file-utils
 BuildRequires:  libdbusmenu-gtk3-devel
 BuildRequires:  libdbusmenu-devel
+
+%if 0%{?fedora} >= 21
+BuildRequires:  bamf-devel
+%else
+BuildRequires:  bamf3-devel
+%endif
+
 Requires:       bamf-daemon
 
 %description
@@ -88,6 +94,9 @@ fi
 /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 %changelog
+* Mon Feb 17 2014 Wesley Hearn <whearn at redhat.com> - 0.5.0-4
+- Build against bamf-devel and not bamf4-devel in Fedora 21+
+
 * Mon Feb 17 2014 Wesley Hearn <whearn at redhat.com> - 0.5.0-3
 - Removed Group from devel package
 


More information about the scm-commits mailing list