Drop %{eln} conditions
ELN defines %{rhel}, so these conditions are redundant.
This commit is contained in:
parent
cf284c4e87
commit
ed5061e02f
@ -42,7 +42,7 @@ This package contains timezone information for use by Java runtimes.
|
|||||||
%setup -q -c -a 1
|
%setup -q -c -a 1
|
||||||
|
|
||||||
%patch002 -p1
|
%patch002 -p1
|
||||||
%if 0%{?rhel} || 0%{?eln}
|
%if 0%{?rhel}
|
||||||
%patch003 -p1
|
%patch003 -p1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ pushd rearguard
|
|||||||
tar zxf tzdata%{version}-rearguard.tar.gz
|
tar zxf tzdata%{version}-rearguard.tar.gz
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%if 0%{?rhel} || 0%{?eln}
|
%if 0%{?rhel}
|
||||||
# Use rearguard for rhel (overwrite default vangaurd data)
|
# Use rearguard for rhel (overwrite default vangaurd data)
|
||||||
tar zxf rearguard/tzdata%{version}-rearguard.tar.gz
|
tar zxf rearguard/tzdata%{version}-rearguard.tar.gz
|
||||||
%endif
|
%endif
|
||||||
@ -88,7 +88,7 @@ echo "%{name}%{tzdata_version}" >> VERSION
|
|||||||
%build
|
%build
|
||||||
# Run make to create the tzdata.zi file
|
# Run make to create the tzdata.zi file
|
||||||
rm tzdata.zi
|
rm tzdata.zi
|
||||||
%if 0%{?rhel} || 0%{?eln}
|
%if 0%{?rhel}
|
||||||
make VERSION=%{version} DATAFORM=rearguard tzdata.zi
|
make VERSION=%{version} DATAFORM=rearguard tzdata.zi
|
||||||
%else
|
%else
|
||||||
make tzdata.zi
|
make tzdata.zi
|
||||||
|
Loading…
Reference in New Issue
Block a user