- %bcond for signify

OBS-URL: https://build.opensuse.org/package/show/server:http/libev?expand=0&rev=33
This commit is contained in:
Petr Gajdos 2023-09-08 07:48:35 +00:00 committed by Git OBS Bridge
parent 58d3b3e811
commit 6aa9a1ba74
2 changed files with 14 additions and 3 deletions

View File

@ -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 <andreas.stieger@gmx.de>

View File

@ -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