[pragha] Fix conditional to build against gstreamer 0.10 only in Fedora > 20
Christoph Wickert
cwickert at fedoraproject.org
Mon Feb 17 08:21:35 UTC 2014
commit a60eda505f22eee843978ee184680bdb25baca7c
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date: Mon Feb 17 09:22:17 2014 +0100
Fix conditional to build against gstreamer 0.10 only in Fedora > 20
pragha.spec | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/pragha.spec b/pragha.spec
index b42b850..b9f062e 100644
--- a/pragha.spec
+++ b/pragha.spec
@@ -2,7 +2,7 @@
Name: pragha
Version: 1.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Lightweight GTK+ music manager
Group: Applications/Multimedia
@@ -17,7 +17,7 @@ BuildRequires: pkgconfig(dbus-glib-1) >= 0.84
BuildRequires: pkgconfig(gtk+-2.0) >= 2.24.0
BuildRequires: pkgconfig(keybinder) >= 0.2.0
-%if (0%{?fedora} && 0%{?fedora} >= 20) || (0%{?rhel} && 0%{?rhel} >= 7)
+%if (0%{?fedora} && 0%{?fedora} >= 21) || (0%{?rhel} && 0%{?rhel} >= 7)
BuildRequires: pkgconfig(gstreamer-1.0) >= 0.11.90
BuildRequires: pkgconfig(gstreamer-base-1.0) >= 0.11.90
BuildRequires: pkgconfig(gstreamer-audio-1.0) >= 0.11.90
@@ -60,7 +60,7 @@ author.
%build
%configure \
-%if (0%{?fedora} && 0%{?fedora} >= 20) || (0%{?rhel} && 0%{?rhel} >= 7)
+%if (0%{?fedora} && 0%{?fedora} >= 21 || (0%{?rhel} && 0%{?rhel} >= 7)
--with-gstreamer=1.0
%else
--with-gstreamer=0.10
@@ -116,9 +116,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Mon Feb 17 2014 Christoph Wickert <cwickert at fedoraproject.org> - 1.2-2
+- Fix conditional to build against gstreamer 0.10 only in Fedora > 20
+
* Thu Feb 13 2014 Christoph Wickert <cwickert at fedoraproject.org> - 1.2-1
- Update to 1.2 (fixes #1013020)
-- Build against gstreamer 1.0 on Fedora >= 20
+- Build against gstreamer 1.0 on Fedora > 20
* Mon Oct 21 2013 Christoph Wickert <cwickert at fedoraproject.org> - 1.1.2.2-1
- Update to 1.1.2.2 (fixes #1016264)
More information about the scm-commits
mailing list