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:
parent
334ff3b351
commit
7e71c3eed3
@ -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>
|
||||
|
||||
|
12
neard.spec
12
neard.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package neard
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2010-2012 B1 Systems GmbH, Vohburg, Germany
|
||||
#
|
||||
# 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(libudev)
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
%{?systemd_requires}
|
||||
# -test subpackage was dropped (boo#1219314)
|
||||
Obsoletes: neard-test <= %{version}
|
||||
%{?systemd_ordering}
|
||||
|
||||
%description
|
||||
NFC support for Linux.
|
||||
@ -68,7 +70,7 @@ Files needed to test applications for the NFC stack.
|
||||
autoreconf -fiv
|
||||
%configure \
|
||||
--enable-tools \
|
||||
--enable-test
|
||||
--disable-test
|
||||
|
||||
%make_build all
|
||||
|
||||
@ -113,8 +115,4 @@ perl -i -lpe 's{^}{#!/usr/bin/python\n} if $.==1' \
|
||||
%{_includedir}/version.h
|
||||
%{_libdir}/pkgconfig/neard.pc
|
||||
|
||||
%files test
|
||||
%dir %{_libdir}/neard/
|
||||
%{_libdir}/neard/test/
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user