From 7e71c3eed3172f44629890e8e2c8e10d536a8fa5845b64035b949a84bc0c8fe3 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 14 Mar 2024 14:57:04 +0000 Subject: [PATCH] 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 --- neard.changes | 8 ++++++++ neard.spec | 12 +++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/neard.changes b/neard.changes index f13c0ae..13f9c69 100644 --- a/neard.changes +++ b/neard.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Feb 15 10:29:06 UTC 2024 - Dominique Leuenberger + +- 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 diff --git a/neard.spec b/neard.spec index 2918fea..9160e31 100644 --- a/neard.spec +++ b/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