- drop finger output

- recode the changelog that we install, if it isn't utf8
This commit is contained in:
Nalin Dahyabhai 2010-02-25 18:47:29 +00:00
parent d818290f3e
commit 5656325365
2 changed files with 7 additions and 1677 deletions

View File

@ -5,11 +5,10 @@ Release: 2%{?dist}
URL: ftp://ftp.gnupg.org/gcrypt/libgpg-error/
Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2
Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig
Source2: wk@g10code.com
Group: System Environment/Libraries
License: LGPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gawk, gettext
BuildRequires: gawk, gettext, libtool
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
@ -34,10 +33,15 @@ contains files necessary to develop applications using libgpg-error.
# The config script already suppresses the -L if it's /usr/lib, so cheat and
# set it to a value which we know will be suppressed.
sed -i -e 's|^libdir=@libdir@$|libdir=@exec_prefix@/lib|g' src/gpg-error-config.in
# Recode the changelog into UTF-8 to meet packaging guidelines.
iconv ChangeLog -f UTF-8 -t UTF-8 ChangeLog > /dev/null || \
( mv ChangeLog ChangeLog.iso-8859-15 && \
iconv -f ISO-8859-15 -t UTF-8 ChangeLog.iso-8859-15 > ChangeLog &&
touch -r ChangeLog.iso-8859-15 ChangeLog )
%build
%configure --disable-static --disable-rpath
make %{?_smp_mflags}
make %{?_smp_mflags} LIBTOOL=libtool
%install
rm -fr $RPM_BUILD_ROOT

File diff suppressed because it is too large Load Diff