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,3 +1,22 @@
#
# 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
@ -7,14 +26,14 @@ 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
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
@ -34,7 +53,7 @@ netlink protocol based Linux kernel interfaces.
Summary: Libraries and headers for libnl
Group: Development/Libraries/C and C++
License: LGPL-2.1
Requires: %lname = %version-%release
Requires: %lname = %version
Provides: libnl-devel = %version-%release
# Starting with libnl3(-3.2), no more conflicts
@ -46,6 +65,7 @@ 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
@ -116,6 +136,7 @@ rm -Rf "$b/%_sbindir" "$b/%_mandir/man8";
%if %with_tools
#
%files -n libnl-config
%defattr(-,root,root)
%dir %_sysconfdir/libnl