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> Fri Oct 15 12:12:44 UTC 2021 - Johannes Segitz <jsegitz@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package neard # spec file for package neard
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# Copyright (c) 2010-2012 B1 Systems GmbH, Vohburg, Germany # Copyright (c) 2010-2012 B1 Systems GmbH, Vohburg, Germany
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -18,18 +18,19 @@
Name: neard Name: neard
Version: 0.16 Version: 0.17
Release: 0 Release: 0
Summary: NFC for Linux Summary: NFC for Linux
License: GPL-2.0-only License: GPL-2.0-only
Group: Hardware/Mobile Group: Hardware/Mobile
URL: http://01.org/linux-nfc/ URL: https://github.com/linux-nfc/neard
#Git-Clone: git://git.kernel.org/pub/scm/network/nfc/neard #Git-Clone: https://git.kernel.org/pub/scm/network/nfc/neard.git/
Source: https://www.kernel.org/pub/linux/network/nfc/neard-%{version}.tar.xz Source: https://git.kernel.org/pub/scm/network/nfc/neard.git/snapshot/%name-%version.tar.gz
Source1: neard.service Source1: neard.service
Source2: 99-neard.rules Source2: 99-neard.rules
Patch1: neard-0.13-fix-dbus_send_destination_config.patch 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: automake
BuildRequires: check-devel BuildRequires: check-devel
BuildRequires: libtool BuildRequires: libtool
@ -61,9 +62,7 @@ Requires: neard
Files needed to test applications for the NFC stack. Files needed to test applications for the NFC stack.
%prep %prep
%setup -q %autosetup -p1
%patch1 -p1
%patch2 -p1
%build %build
autoreconf -fiv autoreconf -fiv
@ -77,6 +76,11 @@ autoreconf -fiv
%make_install %make_install
install --mode=0644 -D %{SOURCE1} %{buildroot}%{_unitdir}/neard.service install --mode=0644 -D %{SOURCE1} %{buildroot}%{_unitdir}/neard.service
install --mode=0644 -D %{SOURCE2} %{buildroot}%{_prefix}/lib/udev/rules.d/99-neard.rules 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 %pre
%service_add_pre neard.service %service_add_pre neard.service