From 6aa9a1ba742bc1b79afa9a305dee41fa56031d153b405603c72b2ebed636fa3e Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Fri, 8 Sep 2023 07:48:35 +0000 Subject: [PATCH] - %bcond for signify OBS-URL: https://build.opensuse.org/package/show/server:http/libev?expand=0&rev=33 --- libev.changes | 5 +++++ libev.spec | 12 +++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/libev.changes b/libev.changes index b82895f..1e518be 100644 --- a/libev.changes +++ b/libev.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 8 07:47:43 UTC 2023 - pgajdos@suse.com + +- %bcond for signify + ------------------------------------------------------------------- Tue Jun 30 21:30:24 UTC 2020 - Andreas Stieger diff --git a/libev.spec b/libev.spec index 936df75..644e0dd 100644 --- a/libev.spec +++ b/libev.spec @@ -1,7 +1,7 @@ # # spec file for package libev # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,12 @@ # +%if 0%{?sle_version} >= 150700 || 0%{?suse_version} > 1500 +%bcond_without signify +%else +%bcond_with signify +%endif + %define library_name libev4 Name: libev Version: 4.33 @@ -33,7 +39,7 @@ Source99: baselibs.conf Patch0: libev-4.15_compiler_warnings.patch Patch1: libev-4.33-nonvoid-return.patch BuildRequires: pkgconfig -%if 0%{?sle_version} >= 150200 || 0%{?suse_version} > 1500 +%if %{with signify} BuildRequires: signify %endif @@ -72,7 +78,7 @@ available. This package holds the development files for libev. %prep -%if 0%{?sle_version} >= 150200 || 0%{?suse_version} > 1500 +%if %{with signify} signify -V -p %{SOURCE3} -m %{SOURCE0} %endif %setup -q