diff --git a/lyx-1.6.5-autoconf_2.65.patch b/lyx-1.6.5-autoconf_2.65.patch new file mode 100644 index 0000000..eaf4060 --- /dev/null +++ b/lyx-1.6.5-autoconf_2.65.patch @@ -0,0 +1,17 @@ +diff -ur lyx-1.6.5.orig/autogen.sh lyx-1.6.5/autogen.sh +--- lyx-1.6.5.orig/autogen.sh 2009-11-27 13:43:40.000000000 +0000 ++++ lyx-1.6.5/autogen.sh 2009-12-09 23:33:36.133301389 +0000 +@@ -38,11 +38,11 @@ + + + case $autoversion in +- *' '2.59[cd]|*' '2.60[ab]|*' '2.6[0-4]) ++ *' '2.59[cd]|*' '2.60[ab]|*' '2.6[0-5]) + ;; + *) + echo "This autoconf version is not supported by LyX." +- echo "LyX only supports autoconf 2.59c-2.64." ++ echo "LyX only supports autoconf 2.59c-2.65." + exit 1 + ;; + esac diff --git a/lyx.spec b/lyx.spec index 2009856..4d39667 100644 --- a/lyx.spec +++ b/lyx.spec @@ -24,7 +24,7 @@ BuildRequires: fontpackages-devel Summary: WYSIWYM (What You See Is What You Mean) document processor Name: lyx Version: 1.6.5 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: Applications/Publishing @@ -34,6 +34,9 @@ Source0: ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-%{version}%{?pre}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch1: lyx-1.6.5-xdg_open.patch +# This patch should be upstream for lyx-1.6.6 +# (we only need this because of patch #50) +Patch2: lyx-1.6.5-autoconf_2.65.patch ## upstreamed patches # http://bugzilla.redhat.com/524046 , http://www.lyx.org/trc/ticket/6226 Patch50: lyx-1.6.5-enchant.patch @@ -245,6 +248,7 @@ Requires: %{fontname}-fonts-common = %{version}-%{release} %setup -q -n %{name}-%{version}%{?pre} %patch1 -p1 -b .xdg_open +%patch2 -p1 -b .autoconf_2.65 %patch50 -p1 -b .enchant @@ -446,6 +450,9 @@ fc-cache %{_fontdir} 2> /dev/null ||: %changelog +* Wed Dec 9 2009 José Matos - 1.6.5-2 +- Add patch for autoconf 2.65 (F13+) + * Wed Dec 9 2009 José Matos - 1.6.5-1 - lyx-1.6.5