- drop finger output
- recode the changelog that we install, if it isn't utf8
This commit is contained in:
parent
d818290f3e
commit
5656325365
@ -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
|
||||
|
1674
wk@g10code.com
1674
wk@g10code.com
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user