From 81d7683ec330a74bedfec57b556a507f21bbcc2b Mon Sep 17 00:00:00 2001 From: Leon Ho Date: Fri, 1 Oct 2004 16:57:43 +0000 Subject: [PATCH] - add gcc-java build req - fix install-info --- gettext.spec | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/gettext.spec b/gettext.spec index 469efb7..dd4e27a 100644 --- a/gettext.spec +++ b/gettext.spec @@ -1,9 +1,11 @@ %define libtoolize : +%define install_info /sbin/install-info +%define remove_install_info /sbin/install-info --delete Summary: GNU libraries and utilities for producing multi-lingual messages. Name: gettext Version: 0.14.1 -Release: 9 +Release: 10 License: GPL/LGPL Group: Development/Tools Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz @@ -15,7 +17,7 @@ Prereq: /sbin/install-info %ifarch x86_64 ppc64 s390x BuildRequires: automake >= 1.8, autoconf >= 2.5 %endif -BuildRequires: libtool, bison, gcc-c++ +BuildRequires: libtool, bison, gcc-c++, gcc-java Buildroot: %{_tmppath}/%{name}-%{version}-root %description @@ -129,11 +131,11 @@ rm -rf %{buildroot} %post /sbin/ldconfig -%_install_info %{_infodir}/gettext.info.gz +%{install_info} %{_infodir}/gettext.info.gz %preun if [ "$1" = 0 ]; then - %_remove_install_info %{_infodir}/gettext.info.gz + %{remove_install_info} %{_infodir}/gettext.info.gz fi exit 0 @@ -143,11 +145,11 @@ exit 0 %post devel /sbin/ldconfig -%_install_info autosprintf.info +%{install_info} %{_infodir}/autosprintf.info %preun devel if [ "$1" = 0]; then - %_remove_install_info autosprintf.info + %{remove_install_info} %{_infodir}/autosprintf.info fi %postun devel @@ -206,6 +208,10 @@ fi %{_libdir}/%{name}/gnu.gettext.* %changelog +* Fri Oct 01 2004 Leon Ho +- fix install_info +- add gcc-java build requirement + * Mon Sep 13 2004 Leon Ho - move java stuff to gettext-devel (#132239) - add BuildRequires: gcc-c++ (#132518)