diff --git a/gettext.spec b/gettext.spec index b7c30b0..2186edc 100644 --- a/gettext.spec +++ b/gettext.spec @@ -11,6 +11,7 @@ URL: http://www.gnu.org/software/gettext/ Source1: po-mode-init.el Source2: msghack.py Patch0: gettext-0.14.1-amd64-libtool.patch +Patch1: gettext-0.14.1-java-gcjonly.patch Prereq: /sbin/install-info %ifarch x86_64 ppc64 s390x BuildRequires: automake >= 1.8, autoconf >= 2.5 @@ -50,6 +51,7 @@ rm -rf %{buildroot} %ifarch x86_64 ppc64 s390x %patch0 -p1 -b .x86_64 %endif +%patch1 -p1 -b .java %build [ -f /usr/share/automake/depcomp ] && cp -f /usr/share/automake/{depcomp,ylwrap} . || :