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:
commit
d0eaa45e2b
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user