From a0c0548da90ca7d7143e5c29fa25b6caa1303eaabbb63c7ed1e236e5b0c08cd2 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 10 Feb 2012 16:16:59 +0000 Subject: [PATCH] Accepting request 103259 from devel:libraries:c_c++ spec cleanup OBS-URL: https://build.opensuse.org/request/show/103259 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=8 --- libnettle.changes | 5 +++++ libnettle.spec | 21 +++++++++------------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/libnettle.changes b/libnettle.changes index 9f7d9a6..7076037 100644 --- a/libnettle.changes +++ b/libnettle.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 31 12:24:52 UTC 2012 - jengelh@medozas.de + +- Remove redundant tags/sections per specfile guideline suggestions + ------------------------------------------------------------------- Sat Sep 24 15:58:07 UTC 2011 - crrodriguez@opensuse.org diff --git a/libnettle.spec b/libnettle.spec index d96202d..0a8a28e 100644 --- a/libnettle.spec +++ b/libnettle.spec @@ -1,7 +1,8 @@ +# vim: set sw=3 ts=3 noet: # # spec file for package libnettle # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +17,13 @@ # - Name: libnettle Version: 2.4 -Release: 3 -License: LGPL-2.1+ and GPL-2.0+ +Release: 0 %define soname 4 %define hogweed_soname 2 Summary: Cryptographic Library +License: LGPL-2.1+ and GPL-2.0+ Group: System/Libraries Source0: ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-%{version}.tar.gz Source1: baselibs.conf @@ -39,8 +39,8 @@ Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. %package -n libnettle%{soname} -License: LGPL-2.1+ Summary: Cryptographic Library +License: LGPL-2.1+ Group: System/Libraries %description -n libnettle%{soname} @@ -50,8 +50,8 @@ Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. %package -n libhogweed%{hogweed_soname} -License: LGPL-2.1+ Summary: Cryptographic Library for Public Key Algorithms +License: LGPL-2.1+ Group: System/Libraries %description -n libhogweed%{hogweed_soname} @@ -59,11 +59,11 @@ Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. -The libhogweed library contains public key algorithms to use with libnettie. +The libhogweed library contains public key algorithms to use with libnettle. %package -n libnettle-devel -License: LGPL-2.1+ Summary: Cryptographic Library +License: LGPL-2.1+ Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: gmp-devel @@ -78,6 +78,7 @@ Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. %package -n nettle Summary: Cryptographic Tools +License: LGPL-2.1+ and GPL-2.0+ Group: Productivity/Security %description -n nettle @@ -115,9 +116,6 @@ rm -f %{buildroot}%{_libdir}/*.a %postun -n libnettle-devel %install_info_delete --info-dir="%{_infodir}" "%{_infodir}"/nettle.info%{ext_info} -%clean -rm -rf %{buildroot} - %check make check @@ -149,7 +147,6 @@ make check %{_bindir}/sexp-conv %{_bindir}/nettle-hash -# vim: set sw=3 ts=3 noet: # Local Variables: # mode: rpm-spec # tab-width: 3