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:
@@ -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}
|
||||
|
Reference in New Issue
Block a user