diff --git a/libnftnl.spec b/libnftnl.spec index 7c9abc5..220bcaa 100644 --- a/libnftnl.spec +++ b/libnftnl.spec @@ -1,18 +1,13 @@ -#global snapdate 20140903 - Name: libnftnl Version: 1.1.1 -#Release: 0.1.%%{snapdate}git%%{?dist} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for low-level interaction with nftables Netlink's API over libmnl License: GPLv2+ URL: http://netfilter.org/projects/libnftnl/ -#Source0: http://ftp.netfilter.org/pub/libnftnl/snapshot/libnftnl-%{snapdate}.tar.bz2 Source0: http://ftp.netfilter.org/pub/libnftnl/libnftnl-%{version}.tar.bz2 BuildRequires: libmnl-devel -BuildRequires: mxml-devel BuildRequires: jansson-devel # replace old libnftables package @@ -34,18 +29,16 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep -#setup -q -n libnftnl-%{snapdate} %setup -q %build -%configure --disable-static --disable-silent-rules --with-json-parsing --with-xml-parsing +%configure --disable-static --disable-silent-rules --with-json-parsing make %{?_smp_mflags} %check make %{?_smp_mflags} check -# tests are broken in 1.0.1 re-enable on next update -#cd tests -#sh ./test-script.sh +cd tests +sh ./test-script.sh %install %make_install @@ -67,6 +60,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %{_includedir}/libnftnl %changelog +* Thu Jun 14 2018 Phil Sutter - 1.1.1-2 +- Drop leftover mxml dependency. Fixes bug #1594107 +- Enable running tests/test-scrip.sh again when checking. + * Sat Jun 09 2018 Kevin Fenzi - 1.1.1-1 - Update to 1.1.1. Fixes bug #1589403