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