rpms/gstreamer/devel gstreamer-fix-bison-check.patch, NONE, 1.1 gstreamer.spec, 1.90, 1.91
Bastien Nocera
hadess at fedoraproject.org
Mon Jan 5 15:44:49 UTC 2009
Author: hadess
Update of /cvs/pkgs/rpms/gstreamer/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28067
Modified Files:
gstreamer.spec
Added Files:
gstreamer-fix-bison-check.patch
Log Message:
* Mon Jan 05 2009 - Bastien Nocera <bnocera at redhat.com> - 0.10.21-4
- Fix build with newer version of bison
gstreamer-fix-bison-check.patch:
--- NEW FILE gstreamer-fix-bison-check.patch ---
--- common/m4/gst-parser.m4.orig 2008-09-10 11:16:47.000000000 +0200
+++ common/m4/gst-parser.m4 2008-12-14 19:14:43.000000000 +0100
@@ -15,10 +15,7 @@
bison_version=`$BISON_PATH --version | head -n 1 | sed 's/^[[^0-9]]*//' | sed 's/[[^0-9]]*$//' | cut -d' ' -f1`
AC_MSG_CHECKING([bison version $bison_version >= $bison_min_version])
- if perl -w <<EOF
- exit ($bison_version < $bison_min_version) ? 0 : 1;
-EOF
- then
+ if perl -we "exit ((v$bison_version ge v$bison_min_version) ? 0 : 1)"; then
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([no])
Index: gstreamer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gstreamer/devel/gstreamer.spec,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -r1.90 -r1.91
--- gstreamer.spec 1 Jan 2009 18:16:53 -0000 1.90
+++ gstreamer.spec 5 Jan 2009 15:44:18 -0000 1.91
@@ -6,7 +6,7 @@
Name: %{gstreamer}
Version: 0.10.21
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: GStreamer streaming media framework runtime
Group: Applications/Multimedia
@@ -40,6 +40,8 @@
Source2: macros.gstreamer
# From: http://bugzilla.gnome.org/show_bug.cgi?id=555631
Patch2: gstreamer-0.10.21-fixgnomebz555631.patch
+# From http://bugzilla.gnome.org/show_bug.cgi?id=564507
+Patch3: gstreamer-fix-bison-check.patch
### documentation requirements
BuildRequires: python2
@@ -107,8 +109,10 @@
%patch1 -p0 -b .rpm-provides
popd
%patch2 -p1 -b .gnomebz555631
+%patch3 -p0 -b .bison-check
%build
+autoreconf
# 0.10.0: manuals do not build due to an openjade error; disable for now
%configure \
--with-package-name='Fedora Core gstreamer package' \
@@ -218,6 +222,9 @@
%{_sysconfdir}/rpm/macros.gstreamer
%changelog
+* Mon Jan 05 2009 - Bastien Nocera <bnocera at redhat.com> - 0.10.21-4
+- Fix build with newer version of bison
+
* Thu Jan 01 2009 Rex Dieter <rdieter at fedoraprojet.org> - 0.10.21-3
- rebuild for pkgconfig deps (#478576)
More information about the scm-commits
mailing list