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 \