From e1deac010f94ce1e3958fedf679eba8ed68d007f06aacafdb52227d8ee98d79b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 22 Apr 2024 07:38:17 +0000 Subject: [PATCH] Accepting request 1167740 from home:dimstar:Factory - Require this-is-only-for-build-envs by the -mini packages: ensure those mini packages never find their way onto a system, even when published. - Add missing Requires: find to gettext-tools - Require this-is-only-for-build-envs by the -mini packages: ensure those mini packages never find their way onto a system, even when published. OBS-URL: https://build.opensuse.org/request/show/1167740 OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=191 --- gettext-runtime-mini.changes | 12 ++++++++++++ gettext-runtime-mini.spec | 8 +++++++- gettext-runtime.changes | 7 +++++++ gettext-runtime.spec | 4 ++++ 4 files changed, 30 insertions(+), 1 deletion(-) diff --git a/gettext-runtime-mini.changes b/gettext-runtime-mini.changes index e6b8cf7..f0faaac 100644 --- a/gettext-runtime-mini.changes +++ b/gettext-runtime-mini.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Apr 15 07:24:01 UTC 2024 - Dominique Leuenberger + +- Require this-is-only-for-build-envs by the -mini packages: ensure + those mini packages never find their way onto a system, even when + published. + +------------------------------------------------------------------- +Thu Apr 4 09:10:05 UTC 2024 - Dan Čermák + +- Add missing Requires: find to gettext-tools + ------------------------------------------------------------------- Mon Feb 26 14:57:24 UTC 2024 - Dominique Leuenberger diff --git a/gettext-runtime-mini.spec b/gettext-runtime-mini.spec index 4215ac9..f9df27b 100644 --- a/gettext-runtime-mini.spec +++ b/gettext-runtime-mini.spec @@ -1,5 +1,5 @@ # -# spec file for package gettext-runtime +# spec file for package gettext-runtime-mini # # Copyright (c) 2024 SUSE LLC # @@ -45,6 +45,8 @@ Conflicts: gettext-tools-mini %else # to allow a prjconf preference which to take per build Provides: gettext-runtime = %{version} +# Ensure this never finds its way onto a real installation +Requires: this-is-only-for-build-envs # rpm-build requires gettext-tools, but we will only just be building it #!BuildIgnore: gettext-tools %endif @@ -89,6 +91,8 @@ License: LGPL-2.1-or-later Group: Development/Tools/Other Requires: %{name} = %{version} Requires: xz +# autopoint requires find +Requires: findutils %if %{without mini} Requires(post): info Requires(preun): info @@ -106,6 +110,8 @@ Conflicts: gettext-tools-mini %else # to allow a prjconf preference which to take per build Provides: gettext-tools = %{version} +# Ensure this never finds its way onto a real installation +Requires: this-is-only-for-build-envs %endif # Several tools use bison-runtime text domain: %if 0%{?suse_version} diff --git a/gettext-runtime.changes b/gettext-runtime.changes index 392fd69..f0faaac 100644 --- a/gettext-runtime.changes +++ b/gettext-runtime.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Apr 15 07:24:01 UTC 2024 - Dominique Leuenberger + +- Require this-is-only-for-build-envs by the -mini packages: ensure + those mini packages never find their way onto a system, even when + published. + ------------------------------------------------------------------- Thu Apr 4 09:10:05 UTC 2024 - Dan Čermák diff --git a/gettext-runtime.spec b/gettext-runtime.spec index a476688..88ac745 100644 --- a/gettext-runtime.spec +++ b/gettext-runtime.spec @@ -45,6 +45,8 @@ Conflicts: gettext-tools-mini %else # to allow a prjconf preference which to take per build Provides: gettext-runtime = %{version} +# Ensure this never finds its way onto a real installation +Requires: this-is-only-for-build-envs # rpm-build requires gettext-tools, but we will only just be building it #!BuildIgnore: gettext-tools %endif @@ -108,6 +110,8 @@ Conflicts: gettext-tools-mini %else # to allow a prjconf preference which to take per build Provides: gettext-tools = %{version} +# Ensure this never finds its way onto a real installation +Requires: this-is-only-for-build-envs %endif # Several tools use bison-runtime text domain: %if 0%{?suse_version}