1
0

Accepting request 1179033 from Base:System

I try again:

address the issues between gettext-runtime and the -mini flavor:
  + envsubst-mini and envsubst need to conflict (as they do on file level)
  + Ensure envsubst-mini is never used outside of OBS with the relevant requires

sync the changes and spec file by actually calling pre_checkin.sh - not syncing stuff manually (forwarded request 1179032 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1179033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=95
This commit is contained in:
Ana Guerrero 2024-06-13 13:37:24 +00:00 committed by Git OBS Bridge
commit ec7297c8a9
4 changed files with 80 additions and 6 deletions

View File

@ -1,8 +1,29 @@
-------------------------------------------------------------------
Thu Jun 6 14:23:04 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix envsubst-mini:
+ Conflicts with the 'full' envsubst
+ Require 'this-is-only-for-build-envs': ensure this does not
find it's way out of OBS onto installations.
-------------------------------------------------------------------
Tue Jun 4 09:36:01 UTC 2024 - Dan Čermák <dcermak@suse.com>
- add optional -mini suffix to envsubst package
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 21 10:25:25 UTC 2024 - Andreas Schwab <schwab@suse.de> Tue May 21 10:25:25 UTC 2024 - Andreas Schwab <schwab@suse.de>
- Require glibc-gconv-modules-extra by the gettext-tools packages - Require glibc-gconv-modules-extra by the gettext-tools packages
-------------------------------------------------------------------
Tue May 14 10:06:12 UTC 2024 - Dan Čermák <dcermak@suse.com>
- Split out envsubst into a separate package
This allows us to pull in envsubst into containers without enlarging them
substantially. Additionally, this binary is standalone and useful outside of
the context of gettext.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 15 07:24:01 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org> Mon Apr 15 07:24:01 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -92,6 +92,8 @@ License: LGPL-2.1-or-later
Group: Development/Tools/Other Group: Development/Tools/Other
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: xz Requires: xz
# gettext.sh requires envsubst
Requires: envsubst%{?with_mini:-mini} = %{version}
# autopoint requires find # autopoint requires find
Requires: findutils Requires: findutils
# For non-UTF encodings # For non-UTF encodings
@ -139,6 +141,17 @@ BuildArch: noarch
This subpackage contains the HTML version of the gettext documentation This subpackage contains the HTML version of the gettext documentation
as well as project examples. as well as project examples.
%package -n envsubst%{?with_mini:-mini}
Summary: Environment substitution helper binary
%if %{with mini}
Conflicts: envsubst
Requires: this-is-only-for-build-envs
%endif
%description -n envsubst%{?with_mini:-mini}
This package contains the envsubst helper binary to replace values from the
environment.
%if %{without mini} %if %{without mini}
%package -n libtextstyle0 %package -n libtextstyle0
Summary: Provides textstyling for console output Summary: Provides textstyling for console output
@ -278,7 +291,6 @@ make check || {
%doc %dir %_docdir/%name/ %doc %dir %_docdir/%name/
%doc %_docdir/%name/gettext.1.html %doc %_docdir/%name/gettext.1.html
%doc %_docdir/%name/ngettext.1.html %doc %_docdir/%name/ngettext.1.html
%doc %_docdir/%name/envsubst.1.html
%doc %_docdir/%name/*.3.html %doc %_docdir/%name/*.3.html
%doc %_docdir/%name/AUTHORS %doc %_docdir/%name/AUTHORS
%doc %_docdir/%name/NEWS %doc %_docdir/%name/NEWS
@ -286,7 +298,6 @@ make check || {
%doc %_docdir/%name/FAQ.html %doc %_docdir/%name/FAQ.html
%_bindir/gettext %_bindir/gettext
%_bindir/ngettext %_bindir/ngettext
%_bindir/envsubst
%_bindir/gettext.sh %_bindir/gettext.sh
%_bindir/msgfmt %_bindir/msgfmt
%_libdir/libgettextlib-*.so %_libdir/libgettextlib-*.so
@ -294,7 +305,6 @@ make check || {
%_libdir/libasprintf.so.* %_libdir/libasprintf.so.*
%doc %_mandir/man1/gettext.1.gz %doc %_mandir/man1/gettext.1.gz
%doc %_mandir/man1/ngettext.1.gz %doc %_mandir/man1/ngettext.1.gz
%doc %_mandir/man1/envsubst.1.gz
%doc %_mandir/man1/msgfmt.1.gz %doc %_mandir/man1/msgfmt.1.gz
%doc %_mandir/man3/* %doc %_mandir/man3/*
%_datadir/gettext/ABOUT-NLS %_datadir/gettext/ABOUT-NLS
@ -305,6 +315,12 @@ make check || {
%_datadir/emacs/site-lisp/start-po.* %_datadir/emacs/site-lisp/start-po.*
%_datadir/emacs/site-lisp/suse-start-po-mode.el %_datadir/emacs/site-lisp/suse-start-po-mode.el
%files -n envsubst%{?with_mini:-mini}
%license COPYING
%_bindir/envsubst
%doc %_mandir/man1/envsubst.1.gz
%doc %_docdir/%name/envsubst.1.html
%files -n gettext-tools%{?with_mini:-mini} -f gettext-tools.lang %files -n gettext-tools%{?with_mini:-mini} -f gettext-tools.lang
%defattr(-,root,root) %defattr(-,root,root)
%_bindir/msg[a-eg-u]* %_bindir/msg[a-eg-u]*

View File

@ -1,8 +1,29 @@
-------------------------------------------------------------------
Thu Jun 6 14:23:04 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix envsubst-mini:
+ Conflicts with the 'full' envsubst
+ Require 'this-is-only-for-build-envs': ensure this does not
find it's way out of OBS onto installations.
-------------------------------------------------------------------
Tue Jun 4 09:36:01 UTC 2024 - Dan Čermák <dcermak@suse.com>
- add optional -mini suffix to envsubst package
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 21 10:25:25 UTC 2024 - Andreas Schwab <schwab@suse.de> Tue May 21 10:25:25 UTC 2024 - Andreas Schwab <schwab@suse.de>
- Require glibc-gconv-modules-extra by the gettext-tools packages - Require glibc-gconv-modules-extra by the gettext-tools packages
-------------------------------------------------------------------
Tue May 14 10:06:12 UTC 2024 - Dan Čermák <dcermak@suse.com>
- Split out envsubst into a separate package
This allows us to pull in envsubst into containers without enlarging them
substantially. Additionally, this binary is standalone and useful outside of
the context of gettext.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 15 07:24:01 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org> Mon Apr 15 07:24:01 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -92,6 +92,8 @@ License: LGPL-2.1-or-later
Group: Development/Tools/Other Group: Development/Tools/Other
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: xz Requires: xz
# gettext.sh requires envsubst
Requires: envsubst%{?with_mini:-mini} = %{version}
# autopoint requires find # autopoint requires find
Requires: findutils Requires: findutils
# For non-UTF encodings # For non-UTF encodings
@ -139,6 +141,17 @@ BuildArch: noarch
This subpackage contains the HTML version of the gettext documentation This subpackage contains the HTML version of the gettext documentation
as well as project examples. as well as project examples.
%package -n envsubst%{?with_mini:-mini}
Summary: Environment substitution helper binary
%if %{with mini}
Conflicts: envsubst
Requires: this-is-only-for-build-envs
%endif
%description -n envsubst%{?with_mini:-mini}
This package contains the envsubst helper binary to replace values from the
environment.
%if %{without mini} %if %{without mini}
%package -n libtextstyle0 %package -n libtextstyle0
Summary: Provides textstyling for console output Summary: Provides textstyling for console output
@ -278,7 +291,6 @@ make check || {
%doc %dir %_docdir/%name/ %doc %dir %_docdir/%name/
%doc %_docdir/%name/gettext.1.html %doc %_docdir/%name/gettext.1.html
%doc %_docdir/%name/ngettext.1.html %doc %_docdir/%name/ngettext.1.html
%doc %_docdir/%name/envsubst.1.html
%doc %_docdir/%name/*.3.html %doc %_docdir/%name/*.3.html
%doc %_docdir/%name/AUTHORS %doc %_docdir/%name/AUTHORS
%doc %_docdir/%name/NEWS %doc %_docdir/%name/NEWS
@ -286,7 +298,6 @@ make check || {
%doc %_docdir/%name/FAQ.html %doc %_docdir/%name/FAQ.html
%_bindir/gettext %_bindir/gettext
%_bindir/ngettext %_bindir/ngettext
%_bindir/envsubst
%_bindir/gettext.sh %_bindir/gettext.sh
%_bindir/msgfmt %_bindir/msgfmt
%_libdir/libgettextlib-*.so %_libdir/libgettextlib-*.so
@ -294,7 +305,6 @@ make check || {
%_libdir/libasprintf.so.* %_libdir/libasprintf.so.*
%doc %_mandir/man1/gettext.1.gz %doc %_mandir/man1/gettext.1.gz
%doc %_mandir/man1/ngettext.1.gz %doc %_mandir/man1/ngettext.1.gz
%doc %_mandir/man1/envsubst.1.gz
%doc %_mandir/man1/msgfmt.1.gz %doc %_mandir/man1/msgfmt.1.gz
%doc %_mandir/man3/* %doc %_mandir/man3/*
%_datadir/gettext/ABOUT-NLS %_datadir/gettext/ABOUT-NLS
@ -305,6 +315,12 @@ make check || {
%_datadir/emacs/site-lisp/start-po.* %_datadir/emacs/site-lisp/start-po.*
%_datadir/emacs/site-lisp/suse-start-po-mode.el %_datadir/emacs/site-lisp/suse-start-po-mode.el
%files -n envsubst%{?with_mini:-mini}
%license COPYING
%_bindir/envsubst
%doc %_mandir/man1/envsubst.1.gz
%doc %_docdir/%name/envsubst.1.html
%files -n gettext-tools%{?with_mini:-mini} -f gettext-tools.lang %files -n gettext-tools%{?with_mini:-mini} -f gettext-tools.lang
%defattr(-,root,root) %defattr(-,root,root)
%_bindir/msg[a-eg-u]* %_bindir/msg[a-eg-u]*