forked from pool/libmnl
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
16
libmnl.spec
16
libmnl.spec
@ -21,19 +21,19 @@ Name: libmnl
|
|||||||
Summary: Minimalistic Netlink communication library
|
Summary: Minimalistic Netlink communication library
|
||||||
%define lname %{name}0
|
%define lname %{name}0
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 0
|
Release: 1
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Productivity/Networking/Security
|
Group: Productivity/Networking/Security
|
||||||
URL: http://netfilter.org/projects/libmnl/
|
Url: http://netfilter.org/projects/libmnl/
|
||||||
Source: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2
|
Source: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2
|
||||||
Source1: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2.sig
|
Source1: http://netfilter.org/projects/libmnl/files/%name-%version.tar.bz2.sig
|
||||||
Source9: baselibs.conf
|
Source9: baselibs.conf
|
||||||
BuildRoot: %_tmppath/%name-%version-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: pkg-config >= 0.19
|
BuildRequires: pkgconfig >= 0.19
|
||||||
%if 0%{?suse_version} < 1130
|
%if 0%{?suse_version} < 1130
|
||||||
BuildRequires: linux-kernel-headers
|
#BuildRequires: linux-kernel-headers
|
||||||
%else
|
%else
|
||||||
BuildRequires: linux-glibc-devel
|
#BuildRequires: linux-glibc-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -51,8 +51,6 @@ Author(s):
|
|||||||
%define debug_package_requires %lname = %version-%release
|
%define debug_package_requires %lname = %version-%release
|
||||||
|
|
||||||
%package -n %lname
|
%package -n %lname
|
||||||
|
|
||||||
|
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Minimalistic Netlink communication library
|
Summary: Minimalistic Netlink communication library
|
||||||
|
|
||||||
@ -69,8 +67,6 @@ Author(s):
|
|||||||
Netfilter Team <netfilter-devel@vger.kernel.org>
|
Netfilter Team <netfilter-devel@vger.kernel.org>
|
||||||
|
|
||||||
%package -n %name-devel
|
%package -n %name-devel
|
||||||
|
|
||||||
|
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version
|
||||||
Summary: Development files for libmnl
|
Summary: Development files for libmnl
|
||||||
|
Loading…
Reference in New Issue
Block a user