Add explicit package version requirement for libtextstyle

This commit is contained in:
matiwari 2024-07-04 19:32:24 +05:30
parent f941a48c34
commit e9e619c1c4

View File

@ -5,7 +5,7 @@
Summary: GNU tools and libraries for localized translated messages
Name: gettext
Version: 0.22.5
Release: 3%{?dist}
Release: 4%{?dist}
# The following are licensed under LGPLv2+:
# - libintl and its headers
@ -74,6 +74,9 @@ BuildRequires: glibc-langpack-zh
BuildRequires: make
Provides: bundled(gnulib)
Requires: %{name}-runtime = %{version}-%{release}
%if %{with libtextstyle}
Requires: libtextstyle%{?_isa} = %{version}-%{release}
%endif
%description
The GNU gettext package provides a set of tools and documentation for
@ -142,6 +145,9 @@ Summary: Libraries for %{name}
# libasprintf is LGPLv2+
# libgettextpo is GPLv3+
License: LGPL-2.0-or-later AND GPL-3.0-or-later
%if %{with libtextstyle}
Requires: libtextstyle%{?_isa} = %{version}-%{release}
%endif
%if %{without libtextstyle}
Obsoletes: libtextstyle < %{version}-%{release}
%endif
@ -451,6 +457,9 @@ make check LIBUNISTRING=-lunistring
%{_mandir}/man1/msghack.1*
%changelog
* Thu Jul 4 2024 Manish Tiwari <matiwari@redhat.com> - 0.22.5-4
- Add explicit package version requirement for libtextstyle
* Tue Jul 2 2024 Manish Tiwari <matiwari@redhat.com> - 0.22.5-3
- Add back libtextstyle for f40 (#2278984)