diff --git a/timezone.changes b/timezone.changes index 240a9c5..1fd074d 100644 --- a/timezone.changes +++ b/timezone.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Sep 2 14:03:38 UTC 2024 - Dan Čermák + +- 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 diff --git a/timezone.spec b/timezone.spec index 2a16ff2..a20f9fb 100644 --- a/timezone.spec +++ b/timezone.spec @@ -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