Don't define undefined %rhel and %fedora macros
They are no longer required to be defined. Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
This commit is contained in:
parent
8754e0ccd5
commit
43a77eb946
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user