Make build work for Fedorean systems
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libmnl?expand=0&rev=16
This commit is contained in:
parent
97467a915d
commit
caf1521e0a
28
libmnl.spec
28
libmnl.spec
@ -20,20 +20,20 @@
|
||||
Name: libmnl
|
||||
Summary: Minimalistic Netlink communication library
|
||||
%define lname %{name}0
|
||||
Version: 1.0.1
|
||||
Release: 0
|
||||
License: LGPLv2+
|
||||
Group: Productivity/Networking/Security
|
||||
URL: http://netfilter.org/projects/libmnl/
|
||||
Source: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2
|
||||
Source1: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2.sig
|
||||
Source9: baselibs.conf
|
||||
BuildRoot: %_tmppath/%name-%version-build
|
||||
BuildRequires: pkg-config >= 0.19
|
||||
Version: 1.0.1
|
||||
Release: 1
|
||||
License: LGPLv2+
|
||||
Group: Productivity/Networking/Security
|
||||
Url: http://netfilter.org/projects/libmnl/
|
||||
Source: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2
|
||||
Source1: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2.sig
|
||||
Source9: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: pkgconfig >= 0.19
|
||||
%if 0%{?suse_version} < 1130
|
||||
BuildRequires: linux-kernel-headers
|
||||
#BuildRequires: linux-kernel-headers
|
||||
%else
|
||||
BuildRequires: linux-glibc-devel
|
||||
#BuildRequires: linux-glibc-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -51,8 +51,6 @@ Author(s):
|
||||
%define debug_package_requires %lname = %version-%release
|
||||
|
||||
%package -n %lname
|
||||
|
||||
|
||||
Group: System/Libraries
|
||||
Summary: Minimalistic Netlink communication library
|
||||
|
||||
@ -69,8 +67,6 @@ Author(s):
|
||||
Netfilter Team <netfilter-devel@vger.kernel.org>
|
||||
|
||||
%package -n %name-devel
|
||||
|
||||
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
Summary: Development files for libmnl
|
||||
|
Loading…
Reference in New Issue
Block a user