Drop %{eln} conditions

ELN defines %{rhel}, so these conditions are redundant.
This commit is contained in:
Florian Weimer 2023-03-07 11:37:04 +01:00
parent cf284c4e87
commit ed5061e02f

View File

@ -42,7 +42,7 @@ This package contains timezone information for use by Java runtimes.
%setup -q -c -a 1
%patch002 -p1
%if 0%{?rhel} || 0%{?eln}
%if 0%{?rhel}
%patch003 -p1
%endif
@ -55,7 +55,7 @@ pushd rearguard
tar zxf tzdata%{version}-rearguard.tar.gz
popd
%if 0%{?rhel} || 0%{?eln}
%if 0%{?rhel}
# Use rearguard for rhel (overwrite default vangaurd data)
tar zxf rearguard/tzdata%{version}-rearguard.tar.gz
%endif
@ -88,7 +88,7 @@ echo "%{name}%{tzdata_version}" >> VERSION
%build
# Run make to create the tzdata.zi file
rm tzdata.zi
%if 0%{?rhel} || 0%{?eln}
%if 0%{?rhel}
make VERSION=%{version} DATAFORM=rearguard tzdata.zi
%else
make tzdata.zi