SHA256
6
0
forked from pool/timezone

- zdump --version reported "unknown"

- zdump --version reported "unknown"

OBS-URL: https://build.opensuse.org/package/show/Base:System/timezone?expand=0&rev=248
This commit is contained in:
2020-05-25 13:36:51 +00:00
committed by Git OBS Bridge
parent 62cc6d160b
commit 0c3e98f9f8
3 changed files with 19 additions and 7 deletions

View File

@@ -55,6 +55,8 @@ can select an appropriate time zone for your system with YaST.
sed -ri 's@/usr/local/etc/zoneinfo@%{_datadir}/zoneinfo@g' *.[1358]
# COMMON-PREP-END
touch version
%build
unset ${!LC_*}
LANG=POSIX
@@ -62,7 +64,7 @@ LC_ALL=POSIX
AREA=%{AREA}
ZONE=%{ZONE}
export AREA LANG LC_ALL ZONE
make %{?_smp_mflags} TZDIR=%{_datadir}/zoneinfo CFLAGS="%{optflags} -DHAVE_GETTEXT=1 -DTZDEFAULT='\"/etc/localtime\"' -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone -Dlint" AWK=awk
make %{?_smp_mflags} TZDIR=%{_datadir}/zoneinfo CFLAGS="%{optflags} -DHAVE_GETTEXT=1 -DTZDEFAULT='\"/etc/localtime\"' -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone -Dlint" AWK=awk BUGEMAIL="opensuse-support@opensuse.org"
make %{?_smp_mflags} TZDIR=zoneinfo AWK=awk zones
# Generate posixrules
./zic -y ./yearistype -d zoneinfo -p %{AREA}/%{ZONE}