diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..a49e172 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,2 @@ +libnettle4 +libhogweed2 diff --git a/libnettle.changes b/libnettle.changes index e77aa60..c99c4c1 100644 --- a/libnettle.changes +++ b/libnettle.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Aug 29 08:51:59 UTC 2011 - coolo@novell.com + +- use original source +- add baselibs.conf +- drop licenses + ------------------------------------------------------------------- Wed Aug 17 17:52:58 UTC 2011 - crrodriguez@opensuse.org diff --git a/libnettle.spec b/libnettle.spec index 13d422b..dd8bd72 100644 --- a/libnettle.spec +++ b/libnettle.spec @@ -24,17 +24,13 @@ Release: 1 %define soname 4 %define hogweed_soname 2 Summary: Cryptographic Library -Url: ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-%{version}.tar.gz -Source: nettle-%{version}.tar.bz2 +Source0: ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-%{version}.tar.gz +Source1: baselibs.conf Group: System/Libraries License: LGPL-2.1+ and GPL-2.0+ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gmp-devel PreReq: %install_info_prereq -%if 0%{?suse_version} >= 1030 && 0%{?suse_version} < 1210 -BuildRequires: licenses -Requires: licenses -%endif %description Nettle is a cryptographic library that is designed to fit easily in more or @@ -102,12 +98,6 @@ operations using the nettle library. %install %makeinstall -%if 0%{?suse_version} >= 1030 && 0%{?suse_version} < 1210 -for f in COPYING*; do - h=/usr/share/doc/licenses/md5/$(md5sum "$f"|cut -f1 -d" ") - test -e "$h" && %__ln_s -f "$h" . -done -%endif rm -f %{buildroot}%{_libdir}/*.a %post -n libnettle%{soname} -p /sbin/ldconfig diff --git a/nettle-2.2.tar.bz2 b/nettle-2.2.tar.bz2 deleted file mode 100644 index b3ae16f..0000000 --- a/nettle-2.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:47f8f4f0b3d3b20ef131034fd1e9b09dcb1c02c02bf329820efca4cd0af57ed8 -size 954765 diff --git a/nettle-2.2.tar.gz b/nettle-2.2.tar.gz new file mode 100644 index 0000000..3c28326 --- /dev/null +++ b/nettle-2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82bec1a1bb684de52bcdfb97d5e4ab1a431499686182b8009a9cf4d00541b4cd +size 1060360