From 589273ef5fd5ddfa3257eba642c92d18b59ed1ddca53c4a8f1dab5e1150a5646 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 29 Dec 2011 20:50:02 +0000 Subject: [PATCH] SPDX; separate includedir OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libmnl?expand=0&rev=17 --- libmnl.changes | 6 ++++++ libmnl.spec | 29 ++++++----------------------- 2 files changed, 12 insertions(+), 23 deletions(-) diff --git a/libmnl.changes b/libmnl.changes index f65e291..ae13e6b 100644 --- a/libmnl.changes +++ b/libmnl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 29 20:48:55 UTC 2011 - jengelh@medozas.de + +- SPDX format for License: tag +- Use separate include dir to detect compile errors + ------------------------------------------------------------------- Sun Dec 26 21:30:34 UTC 2010 - jengelh@medozas.de diff --git a/libmnl.spec b/libmnl.spec index daf5eda..33ead3e 100644 --- a/libmnl.spec +++ b/libmnl.spec @@ -1,7 +1,7 @@ # -# spec file for package libmnl (Version 1.0.1) +# spec file for package libmnl # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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 @@ -22,9 +22,9 @@ Summary: Minimalistic Netlink communication library %define lname %{name}0 Version: 1.0.1 Release: 1 -License: LGPLv2+ +License: LGPL-2.1+ Group: Productivity/Networking/Security -Url: http://netfilter.org/projects/libmnl/ +URL: http://netfilter.org/projects/libmnl/ Source: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2 Source1: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2.sig Source9: baselibs.conf @@ -43,13 +43,6 @@ constructing of both the Netlink header and TLVs that are repetitive and easy to get wrong. This library aims to provide simple helpers that allows you to re-use code and to avoid re-inventing the wheel. -Author(s): ----------- - Pablo Neira Ayuso - Netfilter Team - -%define debug_package_requires %lname = %version-%release - %package -n %lname Group: System/Libraries Summary: Minimalistic Netlink communication library @@ -61,11 +54,6 @@ constructing of both the Netlink header and TLVs that are repetitive and easy to get wrong. This library aims to provide simple helpers that allows you to re-use code and to avoid re-inventing the wheel. -Author(s): ----------- - Pablo Neira Ayuso - Netfilter Team - %package -n %name-devel Group: Development/Libraries/C and C++ Requires: %lname = %version @@ -78,19 +66,14 @@ constructing of both the Netlink header and TLVs that are repetitive and easy to get wrong. This library aims to provide simple helpers that allows you to re-use code and to avoid re-inventing the wheel. -Author(s): ----------- - Pablo Neira Ayuso - Netfilter Team - %prep %setup -q %build if [ ! -e configure ]; then - ./autogen.sh; + autoreconf -fi; fi; -%configure +%configure --includedir=%_includedir/%name-%version make %{?_smp_mflags} %install