diff --git a/neard-0.16.tar.xz b/neard-0.16.tar.xz deleted file mode 100644 index 9723cef..0000000 --- a/neard-0.16.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eae3b11c541a988ec11ca94b7deab01080cd5b58cfef3ced6ceac9b6e6e65b36 -size 379436 diff --git a/neard-0.17.tar.gz b/neard-0.17.tar.gz new file mode 100644 index 0000000..d2d488e --- /dev/null +++ b/neard-0.17.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e3cd3d0f3dd59797cc49b4a9207cc51c1a181c33f39b82a8d26aaca16e1e0a4 +size 228091 diff --git a/neard.changes b/neard.changes index 6dc0b0c..3a2d1ab 100644 --- a/neard.changes +++ b/neard.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 27 09:38:47 UTC 2021 - Jan Engelhardt + +- Update to release 0.17 + * Fix some memory leaks and double frees. + ------------------------------------------------------------------- Fri Oct 15 12:12:44 UTC 2021 - Johannes Segitz diff --git a/neard.spec b/neard.spec index 9968ea4..d76e841 100644 --- a/neard.spec +++ b/neard.spec @@ -1,7 +1,7 @@ # # spec file for package neard # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2010-2012 B1 Systems GmbH, Vohburg, Germany # # All modifications and additions to the file contributed by third parties @@ -18,18 +18,19 @@ Name: neard -Version: 0.16 +Version: 0.17 Release: 0 Summary: NFC for Linux License: GPL-2.0-only Group: Hardware/Mobile -URL: http://01.org/linux-nfc/ -#Git-Clone: git://git.kernel.org/pub/scm/network/nfc/neard -Source: https://www.kernel.org/pub/linux/network/nfc/neard-%{version}.tar.xz +URL: https://github.com/linux-nfc/neard +#Git-Clone: https://git.kernel.org/pub/scm/network/nfc/neard.git/ +Source: https://git.kernel.org/pub/scm/network/nfc/neard.git/snapshot/%name-%version.tar.gz Source1: neard.service Source2: 99-neard.rules Patch1: neard-0.13-fix-dbus_send_destination_config.patch -Patch2: harden_neard.service.patch +Patch2: harden_neard.service.patch +BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: check-devel BuildRequires: libtool @@ -61,9 +62,7 @@ Requires: neard Files needed to test applications for the NFC stack. %prep -%setup -q -%patch1 -p1 -%patch2 -p1 +%autosetup -p1 %build autoreconf -fiv @@ -77,6 +76,11 @@ autoreconf -fiv %make_install install --mode=0644 -D %{SOURCE1} %{buildroot}%{_unitdir}/neard.service install --mode=0644 -D %{SOURCE2} %{buildroot}%{_prefix}/lib/udev/rules.d/99-neard.rules +perl -i -lpe 's{^#!/usr/bin/env }{#!/usr/bin/}' \ + "%buildroot/%_libdir/neard/test/phdc-simple-manager" +# add missing shebang line to soothe rpmlint +perl -i -lpe 's{^}{#!/usr/bin/python\n} if $.==1' \ + "%buildroot/%_libdir/neard/test/neardutils.py" %pre %service_add_pre neard.service