From c68a417341b4aceae864a353c7c9548b975c112e908453b7108f385169720655 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 5 Mar 2019 09:06:29 +0000 Subject: [PATCH] Accepting request 681312 from home:dimstar:Factory - Only Require(Pre/Post) info in the non-mini variant: as the -mini version is only used inside OBS, it is irrelevant if the info files are present and registered or not. - Only Require(Pre/Post) info in the non-mini variant: as the -mini version is only used inside OBS, it is irrelevant if the info files are present and registered or not. OBS-URL: https://build.opensuse.org/request/show/681312 OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=148 --- gettext-runtime-mini.changes | 7 +++++++ gettext-runtime-mini.spec | 4 +++- gettext-runtime.changes | 7 +++++++ gettext-runtime.spec | 2 ++ 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/gettext-runtime-mini.changes b/gettext-runtime-mini.changes index f43d2d0..61c134f 100644 --- a/gettext-runtime-mini.changes +++ b/gettext-runtime-mini.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Mar 4 11:28:14 UTC 2019 - Dominique Leuenberger + +- Only Require(Pre/Post) info in the non-mini variant: as the -mini + version is only used inside OBS, it is irrelevant if the info + files are present and registered or not. + ------------------------------------------------------------------- Sat Oct 6 19:29:11 UTC 2018 - Bernhard Wiedemann diff --git a/gettext-runtime-mini.spec b/gettext-runtime-mini.spec index 914d0f4..8c82b5f 100644 --- a/gettext-runtime-mini.spec +++ b/gettext-runtime-mini.spec @@ -1,5 +1,5 @@ # -# spec file for package gettext-runtime-mini +# spec file for package gettext-runtime # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # @@ -92,8 +92,10 @@ Summary: Tools for Native Language Support (NLS) License: LGPL-2.1-or-later Group: Development/Tools/Other Requires: %{name} = %{version} +%if %{without mini} Requires(post): info Requires(preun): info +%endif Provides: gettext-devel = %{version} %if %{without mini} # bug437293 diff --git a/gettext-runtime.changes b/gettext-runtime.changes index f43d2d0..61c134f 100644 --- a/gettext-runtime.changes +++ b/gettext-runtime.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Mar 4 11:28:14 UTC 2019 - Dominique Leuenberger + +- Only Require(Pre/Post) info in the non-mini variant: as the -mini + version is only used inside OBS, it is irrelevant if the info + files are present and registered or not. + ------------------------------------------------------------------- Sat Oct 6 19:29:11 UTC 2018 - Bernhard Wiedemann diff --git a/gettext-runtime.spec b/gettext-runtime.spec index dc8fbfb..eadeb2d 100644 --- a/gettext-runtime.spec +++ b/gettext-runtime.spec @@ -92,8 +92,10 @@ Summary: Tools for Native Language Support (NLS) License: LGPL-2.1-or-later Group: Development/Tools/Other Requires: %{name} = %{version} +%if %{without mini} Requires(post): info Requires(preun): info +%endif Provides: gettext-devel = %{version} %if %{without mini} # bug437293