From 3d7c366b845f39afcd37960318995691afeebd66 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Thu, 27 Aug 2020 09:39:31 +0200 Subject: [PATCH] Fixed USEXXX vs. USE_XXX --- .gitignore | 1 + elog.spec.template | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index beee5f26..33c6a615 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ elogd elconv elog +elog.spec *.o *~ diff --git a/elog.spec.template b/elog.spec.template index f9b3de48..5f06aa2b 100644 --- a/elog.spec.template +++ b/elog.spec.template @@ -13,12 +13,12 @@ # Build options : # Read: If neither macro exists, then add the default definition. -%{?_with_krb5: %define _with_krb5 USEKRB5=1} -%{?_with_ldap: %define _with_ldap USELDAP=1} -%{?_with_pam: %define _with_pam USEPAM=1} -%{?_with_ssl: %define _with_ssl USESSL=1} +%{?_with_krb5: %define _with_krb5 USE_KRB5=1} +%{?_with_ldap: %define _with_ldap USE_LDAP=1} +%{?_with_pam: %define _with_pam USE_PAM=1} +%{?_with_ssl: %define _with_ssl USE_SSL=1} # Default build options are with SSL -%{!?_with_ssl: %{!?_without_ssl: %define _with_ssl USESSL=1}} +%{!?_with_ssl: %{!?_without_ssl: %define _with_ssl USE_SSL=1}} # builder info %define whoami %(eval who am i | awk '{print $1}') %define HOSTNAME %(hostname)