From ed5061e02f9e7ca4878bfe955326a7f0e3003b50 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 7 Mar 2023 11:37:04 +0100 Subject: [PATCH] Drop %{eln} conditions ELN defines %{rhel}, so these conditions are redundant. --- tzdata.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tzdata.spec b/tzdata.spec index 25a5f04..82e4194 100644 --- a/tzdata.spec +++ b/tzdata.spec @@ -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