1
0

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
This commit is contained in:
Dirk Mueller 2024-04-22 07:38:17 +00:00 committed by Git OBS Bridge
parent 36d5036ef9
commit e1deac010f
4 changed files with 30 additions and 1 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Apr 15 07:24:01 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <dcermak@suse.com>
- Add missing Requires: find to gettext-tools
-------------------------------------------------------------------
Mon Feb 26 14:57:24 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -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}

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Apr 15 07:24:01 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <dcermak@suse.com>

View File

@ -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}