SHA256
1
0
forked from pool/timezone

Accepting request 1198817 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1198817
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/timezone?expand=0&rev=154
This commit is contained in:
Ana Guerrero 2024-09-06 15:17:29 +00:00 committed by Git OBS Bridge
commit d0eaa45e2b
2 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 2 14:03:38 UTC 2024 - Dan Čermák <dcermak@suse.com>
- Split tzselect script into a subpackage to prevent awk getting into minimal
containers and recommend tzselect by the main package
Fixes bsc#1230054
-------------------------------------------------------------------
Thu Mar 21 18:16:35 UTC 2024 - Martin Schreiner <martin.schreiner@suse.com>

View File

@ -36,11 +36,22 @@ Patch0: tzdata-china.diff
Patch3: iso3166-uk.diff
Patch4: timezone-2018f-bsc1112310.patch
Patch5: fat.patch
Recommends: tzselect
%description
These are configuration files that describe available time zones. You
can select an appropriate time zone for your system with YaST.
%package -n tzselect
Requires: awk
Requires: %{name} = %{version}
Summary: Helper script to select the timezone
BuildArch: noarch
Provides: %{name}:/usr/bin/tzselect
%description -n tzselect
This package contains a helper script to select the timezone.
%prep
%autosetup -p1 -c -a1
sed -ri 's@%{_prefix}/local%{_sysconfdir}/zoneinfo@%{_datadir}/zoneinfo@g' *.[1358]
@ -85,8 +96,11 @@ install -m 644 -t %{buildroot}%{_datadir}/zoneinfo/ leapseconds leapseconds.awk
%license LICENSE
%verify(not link md5 size mtime) %config(missingok,noreplace) %{_sysconfdir}/localtime
%{_datadir}/zoneinfo
%{_bindir}/tzselect
%{_sbindir}/zdump
%{_sbindir}/zic
%files -n tzselect
%license LICENSE
%{_bindir}/tzselect
%changelog