update to 1.4.0

This commit is contained in:
Nalin Dahyabhai 2007-12-10 21:10:52 +00:00
parent 1aebb276b2
commit 665b2f3567
3 changed files with 16 additions and 8 deletions

View File

@ -7,3 +7,5 @@ libgcrypt-1.2.3.tar.bz2
libgcrypt-1.2.3.tar.bz2.sig libgcrypt-1.2.3.tar.bz2.sig
libgcrypt-1.2.4.tar.bz2 libgcrypt-1.2.4.tar.bz2
libgcrypt-1.2.4.tar.bz2.sig libgcrypt-1.2.4.tar.bz2.sig
libgcrypt-1.4.0.tar.bz2
libgcrypt-1.4.0.tar.bz2.sig

View File

@ -1,6 +1,6 @@
Name: libgcrypt Name: libgcrypt
Version: 1.2.4 Version: 1.4.0
Release: 6 Release: 1
Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2 Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2
Source1: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig Source1: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig
Source2: wk@g10code.com Source2: wk@g10code.com
@ -30,11 +30,10 @@ applications using libgcrypt.
%setup -q %setup -q
%build %build
%configure --disable-asm --disable-static --enable-noexecstack %configure --disable-static --enable-noexecstack
# Verify that RNG methods which aren't LGPL aren't enabled.
grep '^#define USE_RNDUNIX 0$' config.h
grep '^#define USE_RNDW32 0$' config.h
make make
%check
make check make check
%install %install
@ -58,12 +57,14 @@ for shlib in $RPM_BUILD_ROOT/%{_libdir}/*.so* ; do
mv "$shlib" $RPM_BUILD_ROOT/%{_lib}/ mv "$shlib" $RPM_BUILD_ROOT/%{_lib}/
fi fi
done done
# Figure out where /%{_lib} is relative to %{_libdir}. # Figure out where /%{_lib} is relative to %{_libdir}.
touch $RPM_BUILD_ROOT/root_marker touch $RPM_BUILD_ROOT/root_marker
relroot=.. relroot=..
while ! test -f $RPM_BUILD_ROOT/%{_libdir}/$relroot/root_marker ; do while ! test -f $RPM_BUILD_ROOT/%{_libdir}/$relroot/root_marker ; do
relroot=$relroot/.. relroot=$relroot/..
done done
# Overwrite development symlinks. # Overwrite development symlinks.
pushd $RPM_BUILD_ROOT/%{_libdir} pushd $RPM_BUILD_ROOT/%{_libdir}
for shlib in $relroot/%{_lib}/lib*.so.* ; do for shlib in $relroot/%{_lib}/lib*.so.* ; do
@ -72,6 +73,7 @@ for shlib in $relroot/%{_lib}/lib*.so.* ; do
ln -sf $shlib $target ln -sf $shlib $target
done done
popd popd
# Add soname symlink. # Add soname symlink.
/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_lib}/ /sbin/ldconfig -n $RPM_BUILD_ROOT/%{_lib}/
rm -f $RPM_BUILD_ROOT/root_marker rm -f $RPM_BUILD_ROOT/root_marker
@ -101,6 +103,7 @@ exit 0
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/%{name}-config %{_bindir}/%{name}-config
%{_bindir}/dumpsexp
%{_includedir}/* %{_includedir}/*
%{_libdir}/*.so %{_libdir}/*.so
%{_datadir}/aclocal/* %{_datadir}/aclocal/*
@ -109,6 +112,9 @@ exit 0
%{_infodir}/gcrypt.info* %{_infodir}/gcrypt.info*
%changelog %changelog
* Mon Dec 10 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.4.0-1
- update to 1.4.0
* Tue Oct 16 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.2.4-6 * Tue Oct 16 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.2.4-6
- use ldconfig to build the soname symlink for packaging along with the - use ldconfig to build the soname symlink for packaging along with the
shared library (#334731) shared library (#334731)

View File

@ -1,2 +1,2 @@
3675d3e74c3a44aed629d9b12a30bb51 libgcrypt-1.2.4.tar.bz2 b013f798a1088afb07336bce5a9c24c5 libgcrypt-1.4.0.tar.bz2
b6323d3acf8c08ad849e8090fb8986b9 libgcrypt-1.2.4.tar.bz2.sig 43e1b54d34732709bbec024512224450 libgcrypt-1.4.0.tar.bz2.sig