update to 1.4.0
This commit is contained in:
parent
1aebb276b2
commit
665b2f3567
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user