SHA256
1
0
forked from pool/neard

Accepting request 927734 from home:jengelh:branches:hardware

- Update to release 0.17

OBS-URL: https://build.opensuse.org/request/show/927734
OBS-URL: https://build.opensuse.org/package/show/hardware/neard?expand=0&rev=27
This commit is contained in:
Al Cho 2021-10-27 14:53:03 +00:00 committed by Git OBS Bridge
parent 4b12af8ee2
commit ee0d293fc4
4 changed files with 22 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eae3b11c541a988ec11ca94b7deab01080cd5b58cfef3ced6ceac9b6e6e65b36
size 379436

3
neard-0.17.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e3cd3d0f3dd59797cc49b4a9207cc51c1a181c33f39b82a8d26aaca16e1e0a4
size 228091

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 27 09:38:47 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.17
* Fix some memory leaks and double frees.
-------------------------------------------------------------------
Fri Oct 15 12:12:44 UTC 2021 - Johannes Segitz <jsegitz@suse.com>

View File

@ -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