Accepting request 80029 from devel:libraries:c_c++

- use original source
- add baselibs.conf
- drop licenses

OBS-URL: https://build.opensuse.org/request/show/80029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=3
This commit is contained in:
Sascha Peilicke 2011-08-29 13:43:26 +00:00 committed by Git OBS Bridge
parent 744c3bc758
commit 8da2687f6f
5 changed files with 14 additions and 15 deletions

2
baselibs.conf Normal file
View File

@ -0,0 +1,2 @@
libnettle4
libhogweed2

View File

@ -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

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47f8f4f0b3d3b20ef131034fd1e9b09dcb1c02c02bf329820efca4cd0af57ed8
size 954765

3
nettle-2.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:82bec1a1bb684de52bcdfb97d5e4ab1a431499686182b8009a9cf4d00541b4cd
size 1060360