SHA256
1
0
forked from pool/neard

Accepting request 1146778 from home:dimstar:Factory

- Drop python2-based test/example script (neard-test package):
  + Pass --disable test to configure
  + Drop neard-test subpackage (obsoleted by main package)
  + Addresses boo#1219314.

OBS-URL: https://build.opensuse.org/request/show/1146778
OBS-URL: https://build.opensuse.org/package/show/hardware/neard?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2024-03-14 14:57:04 +00:00 committed by Git OBS Bridge
parent 334ff3b351
commit 7e71c3eed3
2 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Feb 15 10:29:06 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop python2-based test/example script (neard-test package):
+ Pass --disable test to configure
+ Drop neard-test subpackage (obsoleted by main package)
+ Addresses boo#1219314.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 5 06:52:28 UTC 2022 - Dirk Müller <dmueller@suse.com> Mon Dec 5 06:52:28 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package neard # spec file for package neard
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 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
@ -41,7 +41,9 @@ BuildRequires: pkgconfig(libnl-3.0)
BuildRequires: pkgconfig(libnl-genl-3.0) BuildRequires: pkgconfig(libnl-genl-3.0)
BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
%{?systemd_requires} # -test subpackage was dropped (boo#1219314)
Obsoletes: neard-test <= %{version}
%{?systemd_ordering}
%description %description
NFC support for Linux. NFC support for Linux.
@ -68,7 +70,7 @@ Files needed to test applications for the NFC stack.
autoreconf -fiv autoreconf -fiv
%configure \ %configure \
--enable-tools \ --enable-tools \
--enable-test --disable-test
%make_build all %make_build all
@ -113,8 +115,4 @@ perl -i -lpe 's{^}{#!/usr/bin/python\n} if $.==1' \
%{_includedir}/version.h %{_includedir}/version.h
%{_libdir}/pkgconfig/neard.pc %{_libdir}/pkgconfig/neard.pc
%files test
%dir %{_libdir}/neard/
%{_libdir}/neard/test/
%changelog %changelog