From 1abde36d2658c7543b0f9ebbf7b7d65170f049cbc03c6e239f0b2ed29abf53d3 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 26 Sep 2011 08:07:48 +0000 Subject: [PATCH] Accepting request 84675 from devel:libraries:c_c++ - BuildRequire pkgconfig to fix rpmlint warning (forwarded request 84667 from elvigia) OBS-URL: https://build.opensuse.org/request/show/84675 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnettle?expand=0&rev=6 --- libnettle.changes | 5 +++++ libnettle.spec | 23 ++++++++++++----------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/libnettle.changes b/libnettle.changes index e47e705..9f7d9a6 100644 --- a/libnettle.changes +++ b/libnettle.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Sep 24 15:58:07 UTC 2011 - crrodriguez@opensuse.org + +- BuildRequire pkgconfig to fix rpmlint warning + ------------------------------------------------------------------- Mon Sep 19 19:04:36 UTC 2011 - crrodriguez@opensuse.org diff --git a/libnettle.spec b/libnettle.spec index ee640da..d96202d 100644 --- a/libnettle.spec +++ b/libnettle.spec @@ -15,22 +15,22 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: libnettle Version: 2.4 Release: 3 +License: LGPL-2.1+ and GPL-2.0+ %define soname 4 %define hogweed_soname 2 Summary: Cryptographic Library +Group: System/Libraries 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 +BuildRequires: pkgconfig PreReq: %install_info_prereq +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Nettle is a cryptographic library that is designed to fit easily in more or @@ -39,9 +39,9 @@ Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. %package -n libnettle%{soname} +License: LGPL-2.1+ Summary: Cryptographic Library Group: System/Libraries -License: LGPL-2.1+ %description -n libnettle%{soname} Nettle is a cryptographic library that is designed to fit easily in more or @@ -50,9 +50,9 @@ 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 Group: System/Libraries -License: LGPL-2.1+ %description -n libhogweed%{hogweed_soname} Nettle is a cryptographic library that is designed to fit easily in more or @@ -62,12 +62,13 @@ Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. The libhogweed library contains public key algorithms to use with libnettie. %package -n libnettle-devel +License: LGPL-2.1+ Summary: Cryptographic Library Group: Development/Libraries/C and C++ -Requires: libnettle%{soname} = %{version} +Requires: glibc-devel +Requires: gmp-devel Requires: libhogweed%{hogweed_soname} = %{version} -Requires: gmp-devel glibc-devel -License: LGPL-2.1+ +Requires: libnettle%{soname} = %{version} %description -n libnettle-devel Nettle is a cryptographic library that is designed to fit easily in more or @@ -94,7 +95,7 @@ operations using the nettle library. %configure --disable-static \ --enable-shared -%__make %{?jobs:-j%{jobs}} +make %{?_smp_mflags} %install %makeinstall @@ -115,7 +116,7 @@ rm -f %{buildroot}%{_libdir}/*.a %install_info_delete --info-dir="%{_infodir}" "%{_infodir}"/nettle.info%{ext_info} %clean -%__rm -rf "%{buildroot}" +rm -rf %{buildroot} %check make check