Introduce envsubst sub-package for allow install envsubst with minimal

footprint
This commit is contained in:
Honza Horak 2022-03-25 17:36:39 +01:00
parent b217c073ed
commit e584cd92dc
1 changed files with 15 additions and 2 deletions

View File

@ -5,7 +5,7 @@
Summary: GNU libraries and utilities for producing multi-lingual messages
Name: gettext
Version: 0.21
Release: 12%{?dist}.0.%{snapshot}
Release: 13%{?dist}.0.%{snapshot}
# The following are licensed under LGPLv2+:
# - libintl and its headers
@ -78,6 +78,7 @@ BuildRequires: glibc-langpack-zh
BuildRequires: make
# Depend on the exact version of the library sub package
Requires: %{name}-libs%{_isa} = %{version}-%{release}
Requires: %{name}-envsubst = %{version}-%{release}
Provides: bundled(gnulib)
Provides: bundled(libcroco) = 0.6.12
@ -157,6 +158,11 @@ BuildArch: noarch
This program can be used to alter .po files in ways no sane mind would
think about.
%package -n envsubst
Summary: Substitutes the values of environment variables
%description -n envsubst
Substitutes the values of environment variables.
%prep
%autosetup -S git
@ -288,7 +294,6 @@ make check LIBUNISTRING=-lunistring
%doc NEWS THANKS
%doc gettext-runtime/man/*.1.html
%doc gettext-runtime/intl/COPYING*
%{_bindir}/envsubst
%{_bindir}/gettext
%{_bindir}/gettext.sh
%{_bindir}/msgattrib
@ -372,7 +377,15 @@ make check LIBUNISTRING=-lunistring
%{_bindir}/msghack
%{_mandir}/man1/msghack.1*
%files -n envsubst
%license COPYING
%{_bindir}/envsubst
%changelog
* Fri Mar 25 2022 Honza Horak <hhorak@redhat.com> - 0.21-13.0.20220203
- Introduce envsubst sub-package for allow install envsubst with minimal
footprint
* Wed Mar 9 2022 Sundeep Anand <suanand@redhat.com> - 0.21-12
- fix gettext snapshot versioning issue to make it canonical (#2061646)