diff --git a/gettext.spec b/gettext.spec index f6e884a..62d15c7 100644 --- a/gettext.spec +++ b/gettext.spec @@ -3,7 +3,7 @@ Summary: GNU libraries and utilities for producing multi-lingual messages. Name: gettext Version: 0.14.1 -Release: 3 +Release: 4 License: GPL/LGPL Group: Development/Tools Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz @@ -12,6 +12,9 @@ Source1: po-mode-init.el Source2: msghack.py Patch0: gettext-0.14.1-amd64-libtool.patch Prereq: /sbin/install-info +%ifarch x86_64 ppc64 s390x +BuildRequires: automake >= 1.8, autoconf >= 2.5 +%endif Buildroot: %{_tmppath}/%{name}-%{version}-root %description @@ -43,7 +46,9 @@ want to add gettext support for your project. %prep rm -rf %{buildroot} %setup -q +%ifarch x86_64 ppc64 s390x %patch0 -p1 -b .x86_64 +%endif %build [ -f /usr/share/automake/depcomp ] && cp -f /usr/share/automake/{depcomp,ylwrap} . || : @@ -156,6 +161,9 @@ exit 0 %changelog +* Thu Jun 03 2004 Leon Ho +- add conditionals for patch and requires auto* (#125216) + * Wed Jun 02 2004 Leon Ho - packaged lib files for devel - moved some of the files to different sub-pkg