Update to newer git snapshot

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libmnl?expand=0&rev=5
This commit is contained in:
Jan Engelhardt 2010-12-06 14:37:29 +00:00 committed by Git OBS Bridge
parent 9c679de3ad
commit 7c5a1bf5fe
2 changed files with 28 additions and 45 deletions

3
libmnl-0+git107.tar.xz Normal file
View File

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

View File

@ -1,33 +1,15 @@
#
# spec file for package libmnl (Version 0+git86)
#
# Copyright (c) 2010 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libmnl
%define soname 0
Version: 0+git86
Release: 1
License: GPLv2+
%define lname %{name}0
Version: 0+git107
Release: 0
License: LGPLv2+
Group: Productivity/Networking/Security
Url: http://netfilter.org/projects/libmnl/
URL: http://netfilter.org/projects/libmnl/
Source: %name-%version.tar.xz
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config >= 0.19 xz
BuildRequires: pkg-config >= 0.19, xz
%if 0%{?suse_version} < 1130
BuildRequires: linux-kernel-headers
%else
@ -42,14 +24,13 @@ 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.
%define debug_package_requires %name%soname = %version-%release
%package -n %name%soname
%define debug_package_requires %lname = %version-%release
%package -n %lname
Group: System/Libraries
Summary: Minimalistic Netlink communication library
%description -n %name%soname
%description -n %lname
libmnl is a minimalistic user-space library oriented to Netlink
developers. There are a lot of common tasks in parsing, validating,
constructing of both the Netlink header and TLVs that are repetitive
@ -57,9 +38,8 @@ 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.
%package -n %name-devel
Group: Development/Libraries/C and C++
Requires: %name%soname = %version
Requires: %lname = %version
Summary: Development files for libmnl
%description -n %name-devel
@ -83,11 +63,11 @@ make %{?_smp_mflags}
%makeinstall
find "%buildroot" -name "*.la" -delete;
%post -n %name%soname -p /sbin/ldconfig
%post -n %lname -p /sbin/ldconfig
%postun -n %name%soname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %name%soname
%files -n %lname
%defattr(-,root,root)
%_libdir/*.so.*