From 9912ef67c7cf878d03fd79c923d332b5656b77015ddd411196a3a59472bd5ea3 Mon Sep 17 00:00:00 2001 From: Jorik Cronenberg Date: Tue, 8 Oct 2024 16:47:30 +0200 Subject: [PATCH] Remove leading zeros from %if %{with ...} --- kea.changes | 1 + kea.spec | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/kea.changes b/kea.changes index cb632fe..96ff6ca 100644 --- a/kea.changes +++ b/kea.changes @@ -19,6 +19,7 @@ Tue Oct 8 11:47:33 UTC 2024 - Jorik Cronenberg - Only require bison for build and enable regen_files on Tumbleweed and SLFO, because bison is too old in SLES/Leap +- Remove leading zeros from %if %{with ...} ------------------------------------------------------------------- Tue Jun 18 09:37:04 UTC 2024 - Jan Engelhardt diff --git a/kea.spec b/kea.spec index 371927c..93f0fe5 100644 --- a/kea.spec +++ b/kea.spec @@ -59,7 +59,7 @@ Source2: https://ftp.isc.org/isc/kea/%version/kea-%version.tar.gz.asc Source3: kea.keyring BuildRequires: autoconf >= 2.59 BuildRequires: automake -%if 0%{with regen_files} +%if %{with regen_files} BuildRequires: bison >= 3.3 %endif BuildRequires: freeradius-server-devel @@ -77,7 +77,7 @@ BuildRequires: xz BuildRequires: pkgconfig(libcrypto) %sysusers_requires Suggests: %name-hooks = %version -%if 0%{with regen_files} +%if %{with regen_files} BuildRequires: flex %endif %if 0%{?suse_version} >= 1500 @@ -359,7 +359,7 @@ export FREERADIUS_DICTIONARY="" autoreconf -fi %configure \ --disable-rpath --disable-static \ -%if 0%{with regen_files} +%if %{with regen_files} --enable-generate-docs --enable-generate-parser \ %endif --enable-logger-checks \