From 43a77eb9466c3d13b4308b59c68a1671d83fad25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= Date: Wed, 3 Oct 2018 13:15:27 +0200 Subject: [PATCH] Don't define undefined %rhel and %fedora macros MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They are no longer required to be defined. Signed-off-by: Ondřej Lysoněk --- spamassassin.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/spamassassin.spec b/spamassassin.spec index dac502f..fcec9db 100644 --- a/spamassassin.spec +++ b/spamassassin.spec @@ -1,10 +1,6 @@ # OVERRIDE RHEL VERSION HERE, RHEL BUILDSYSTEM DOESN'T HAVE DIST TAG #%%define rhel 4 -# Define Variables that must exist -%{?!rhel:%define rhel 0} -%{?!fedora:%define fedora 0} - # Define dist tags for old RHEL releases %if 0%{?rhel} == 4 %define dist .el4 @@ -215,7 +211,7 @@ To filter spam for all users, add that line to /etc/procmailrc # Patches 100+ are SVN backports (DO NOT REUSE!) # end of patches -echo "RHEL=%{rhel} FEDORA=%{fedora}" +echo "RHEL=%{?rhel} FEDORA=%{?fedora}" %build export CFLAGS="$RPM_OPT_FLAGS"