Accepting request 83779 from security:netfilter

Relax Requires in libnl3-devel: speilcke wants libnl3-devel: Requires:
%lname=%version, though it conflicts with e.g. Fedora Packaging
Guidelines which demands %version-%release (and since openSUSE
Packaging Guidelines are copied from there, that may have relevance).
Dunno.

OBS-URL: https://build.opensuse.org/request/show/83779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnl3?expand=0&rev=2
This commit is contained in:
Sascha Peilicke 2011-09-20 10:58:30 +00:00 committed by Git OBS Bridge
commit 168756c907
2 changed files with 53 additions and 27 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 20 08:49:19 UTC 2011 - jengelh@medozas.de
- Relax Requires in libnl3-devel
-------------------------------------------------------------------
Wed Sep 14 08:11:31 UTC 2011 - jengelh@medozas.de

View File

@ -1,41 +1,60 @@
Name: libnl3
#
# spec file for package libnl3
#
# 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
# 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: libnl3
%define lname libnl3-200
%define with_tools 1
Version: 3.2
Release: 0
Summary: Convenience library for working with Netlink sockets
License: LGPL-2.1, GPL-2.0
Group: Development/Libraries/C and C++
Version: 3.2
Release: 0
Summary: Convenience library for working with Netlink sockets
License: LGPL-2.1, GPL-2.0
Group: Development/Libraries/C and C++
URL: http://people.suug.ch/~tgr/libnl/
Url: http://people.suug.ch/~tgr/libnl/
#Git-Clone: git://git.kernel.org/pub/scm/libs/netlink/libnl
#Git-Clone: git://git.infradead.org/users/tgr/libnl
Source: libnl-%version.tar.xz
Source2: baselibs.conf
Patch1: libdir.diff
BuildRoot: %_tmppath/%name-%version-build
BuildRequires: bison, fdupes, flex, pkgconfig, python-devel, xz
Source: libnl-%version.tar.xz
Source2: baselibs.conf
Patch1: libdir.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison fdupes flex pkgconfig python-devel xz
%description
The libnl suite is a collection of libraries providing APIs to
Netlink protocol based Linux kernel interfaces.
%package -n %lname
Summary: Convenience library for working with Netlink sockets
Group: System/Libraries
License: LGPL-2.1
Requires: libnl-config >= %version
Summary: Convenience library for working with Netlink sockets
Group: System/Libraries
License: LGPL-2.1
Requires: libnl-config >= %version
%description -n %lname
The libnl suite is a collection of libraries providing APIs to
netlink protocol based Linux kernel interfaces.
%package devel
Summary: Libraries and headers for libnl
Group: Development/Libraries/C and C++
License: LGPL-2.1
Requires: %lname = %version-%release
Provides: libnl-devel = %version-%release
Summary: Libraries and headers for libnl
Group: Development/Libraries/C and C++
License: LGPL-2.1
Requires: %lname = %version
Provides: libnl-devel = %version-%release
# Starting with libnl3(-3.2), no more conflicts
%description devel
@ -46,11 +65,12 @@ Netlink protocol based Linux kernel interfaces.
#
# Only one of the libnl packages should create the config and tools.
#
%package -n libnl-config
Summary: Name maps for libnl
Group: Productivity/Networking/Security
Summary: Name maps for libnl
Group: Productivity/Networking/Security
%if 0%{?suse_version} >= 1130
BuildArch: noarch
BuildArch: noarch
%endif
%description -n libnl-config
@ -60,9 +80,9 @@ the same; in particular
- aliases for locations within a packet (ip6.dst => byte offset)
%package -n libnl-tools
Summary: Command line utilities to directly work with Netlink
Group: Productivity/Networking/Security
License: GPL-2.0
Summary: Command line utilities to directly work with Netlink
Group: Productivity/Networking/Security
License: GPL-2.0
%description -n libnl-tools
Various test program with which the functionality of libnl is
@ -116,6 +136,7 @@ rm -Rf "$b/%_sbindir" "$b/%_mandir/man8";
%if %with_tools
#
%files -n libnl-config
%defattr(-,root,root)
%dir %_sysconfdir/libnl