SPDX; separate includedir

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libmnl?expand=0&rev=17
This commit is contained in:
Jan Engelhardt 2011-12-29 20:50:02 +00:00 committed by Git OBS Bridge
parent caf1521e0a
commit 589273ef5f
2 changed files with 12 additions and 23 deletions

View File

@ -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 Sun Dec 26 21:30:34 UTC 2010 - jengelh@medozas.de

View File

@ -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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -22,9 +22,9 @@ Summary: Minimalistic Netlink communication library
%define lname %{name}0 %define lname %{name}0
Version: 1.0.1 Version: 1.0.1
Release: 1 Release: 1
License: LGPLv2+ License: LGPL-2.1+
Group: Productivity/Networking/Security 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 Source: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2
Source1: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2.sig Source1: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2.sig
Source9: baselibs.conf 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 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. that allows you to re-use code and to avoid re-inventing the wheel.
Author(s):
----------
Pablo Neira Ayuso
Netfilter Team <netfilter-devel@vger.kernel.org>
%define debug_package_requires %lname = %version-%release
%package -n %lname %package -n %lname
Group: System/Libraries Group: System/Libraries
Summary: Minimalistic Netlink communication library 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 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. that allows you to re-use code and to avoid re-inventing the wheel.
Author(s):
----------
Pablo Neira Ayuso
Netfilter Team <netfilter-devel@vger.kernel.org>
%package -n %name-devel %package -n %name-devel
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %lname = %version 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 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. that allows you to re-use code and to avoid re-inventing the wheel.
Author(s):
----------
Pablo Neira Ayuso
Netfilter Team <netfilter-devel@vger.kernel.org>
%prep %prep
%setup -q %setup -q
%build %build
if [ ! -e configure ]; then if [ ! -e configure ]; then
./autogen.sh; autoreconf -fi;
fi; fi;
%configure %configure --includedir=%_includedir/%name-%version
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install