File project.diff of Package libnftnl
--- libnftnl.changes.orig
+++ libnftnl.changes
@@ -134,6 +134,11 @@ Tue Dec 20 21:59:39 UTC 2016 - jengelh@i
* Support for layer 4 pseudoheader fields checksum updates
-------------------------------------------------------------------
+Mon Sep 19 07:56:24 UTC 2016 - mkubecek@suse.cz
+
+- fix SLE_11_* build
+
+-------------------------------------------------------------------
Mon May 30 11:06:35 UTC 2016 - jengelh@inai.de
- Update to new upstream release 1.0.6
--- libnftnl.spec.orig
+++ libnftnl.spec
@@ -30,7 +30,16 @@ Source: http://ftp.netfilter.org
Source2: http://ftp.netfilter.org/pub/libnftnl/%name-%version.tar.bz2.sig
Source9: %name.keyring
BuildRequires: xz
+%if 0%{?suse_version} > 1110
BuildRequires: pkgconfig(libmnl) >= 1.0.4
+%else
+BuildRequires: libmnl-devel >= 1.0.4
+BuildRequires: pkg-config >= 0.21
+%endif
+
+%if 0%{?suse_version} < 1130
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%endif
%description
libnftnl is a userspace library providing a low-level netlink
@@ -57,11 +66,14 @@ This subpackage contains libraries and h
applications that want to make use of libnftnl.
%prep
-%autosetup -p1
+%setup -q
%build
# includedir intentional, cf. bugzilla.opensuse.org/795968
%configure --with-xml-parsing --includedir="%_includedir/%name"
+%if 0%{!?make_build:1}
+%define make_build make %{?_smp_mflags}
+%endif
%make_build
%install
@@ -72,12 +84,18 @@ rm -f "%buildroot/%_libdir"/*.la
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
+%defattr(-,root,root)
%_libdir/libnftnl.so.11*
%files devel
+%defattr(-,root,root)
%_includedir/%name/
%_libdir/libnftnl.so
%_libdir/pkgconfig/libnftnl.pc
+%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 120300
%license COPYING
+%else
+%doc COPYING
+%endif
%changelog