Bump to 0.22.5
Resolves: RHEL-45582 Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
This commit is contained in:
parent
7be6397adb
commit
c5f21baca1
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,3 +12,4 @@ gettext-0.17.tar.gz
|
||||
/gettext-0.21.tar.xz
|
||||
/gettext-0.21.1.tar.xz
|
||||
/gettext-0.22.tar.xz
|
||||
/gettext-0.22.5.tar.xz
|
||||
|
||||
17
gettext-gcc14.patch
Normal file
17
gettext-gcc14.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff -rupN gettext-0.22.5/gettext-tools/gnulib-lib/localtime.c gettext-0.22.5-new/gettext-tools/gnulib-lib/localtime.c
|
||||
--- gettext-0.22.5/gettext-tools/gnulib-lib/localtime.c 2024-02-21 11:44:25.000000000 +0100
|
||||
+++ gettext-0.22.5-new/gettext-tools/gnulib-lib/localtime.c 2024-03-04 18:04:45.369463219 +0100
|
||||
@@ -63,11 +63,11 @@ rpl_localtime (const time_t *tp)
|
||||
char **env = _environ;
|
||||
wchar_t **wenv = _wenviron;
|
||||
if (env != NULL)
|
||||
- for (char *s = env; *s != NULL; s++)
|
||||
+ for (char *s = *env; *s != NULL; s++)
|
||||
if (s[0] == 'T' && s[1] == 'Z' && s[2] == '=')
|
||||
s[0] = '$';
|
||||
if (wenv != NULL)
|
||||
- for (wchar_t *ws = wenv; *ws != NULL; ws++)
|
||||
+ for (wchar_t *ws = *wenv; *ws != NULL; ws++)
|
||||
if (ws[0] == L'T' && ws[1] == L'Z' && ws[2] == L'=')
|
||||
ws[0] = L'$';
|
||||
}
|
||||
@ -1,13 +1,15 @@
|
||||
%{?mingw_package_header}
|
||||
|
||||
Name: mingw-gettext
|
||||
Version: 0.22
|
||||
Release: 6%{?dist}
|
||||
Version: 0.22.5
|
||||
Release: 1%{?dist}
|
||||
Summary: GNU libraries and utilities for producing multi-lingual messages
|
||||
|
||||
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
||||
URL: http://www.gnu.org/software/gettext/
|
||||
Source0: https://ftp.gnu.org/pub/gnu/gettext/gettext-%{version}.tar.xz
|
||||
# Fix build with gcc14
|
||||
Patch0: gettext-gcc14.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@ -107,8 +109,12 @@ rm -rf %{buildroot}%{mingw64_infodir}
|
||||
rm -rf %{buildroot}%{mingw32_libdir}/gettext
|
||||
rm -rf %{buildroot}%{mingw64_libdir}/gettext
|
||||
|
||||
# Drop all .la files
|
||||
# Drop all .la files and .a files
|
||||
find %{buildroot} -name "*.la" -delete
|
||||
rm %{buildroot}%{mingw32_libdir}/libgettextlib.a
|
||||
rm %{buildroot}%{mingw32_libdir}/libgettextsrc.a
|
||||
rm %{buildroot}%{mingw64_libdir}/libgettextlib.a
|
||||
rm %{buildroot}%{mingw64_libdir}/libgettextsrc.a
|
||||
|
||||
%mingw_find_lang %{name} --all-name
|
||||
|
||||
@ -122,9 +128,9 @@ find %{buildroot} -name "*.la" -delete
|
||||
%{mingw32_bindir}/gettext.sh
|
||||
%{mingw32_bindir}/gettextize
|
||||
%{mingw32_bindir}/libasprintf-0.dll
|
||||
%{mingw32_bindir}/libgettextlib-0-22.dll
|
||||
%{mingw32_bindir}/libgettextlib-0-22-5.dll
|
||||
%{mingw32_bindir}/libgettextpo-0.dll
|
||||
%{mingw32_bindir}/libgettextsrc-0-22.dll
|
||||
%{mingw32_bindir}/libgettextsrc-0-22-5.dll
|
||||
%{mingw32_bindir}/libintl-8.dll
|
||||
%{mingw32_bindir}/libtextstyle-0.dll
|
||||
%{mingw32_bindir}/msg*.exe
|
||||
@ -163,9 +169,9 @@ find %{buildroot} -name "*.la" -delete
|
||||
%{mingw64_bindir}/gettext.sh
|
||||
%{mingw64_bindir}/gettextize
|
||||
%{mingw64_bindir}/libasprintf-0.dll
|
||||
%{mingw64_bindir}/libgettextlib-0-22.dll
|
||||
%{mingw64_bindir}/libgettextlib-0-22-5.dll
|
||||
%{mingw64_bindir}/libgettextpo-0.dll
|
||||
%{mingw64_bindir}/libgettextsrc-0-22.dll
|
||||
%{mingw64_bindir}/libgettextsrc-0-22-5.dll
|
||||
%{mingw64_bindir}/libintl-8.dll
|
||||
%{mingw64_bindir}/libtextstyle-0.dll
|
||||
%{mingw64_bindir}/msg*.exe
|
||||
@ -197,6 +203,9 @@ find %{buildroot} -name "*.la" -delete
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Jun 30 2024 Konstantin Kostiuk <kkostiuk@redhat.com> - 0.22.5-1
|
||||
- RHEL-45582 - Bump to 0.22.5
|
||||
|
||||
* Fri Jun 28 2024 Konstantin Kostiuk <kkostiuk@redhat.com> - 0.22-6
|
||||
- Bump release
|
||||
- RHEL-45467 - Update gating.yaml for RHEL10
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (gettext-0.22.tar.xz) = c6368344aa4e0f6fd7c4a93023a5f7b377c7bb97b8ea688fd54f4c385c069d9ff27611d8763b1aed6328b6d3c4db7b34bd89bfbf6525ecaef11eb58434a4d4fa
|
||||
SHA512 (gettext-0.22.5.tar.xz) = a60999bb9d09441f138214d87acb7e59aab81e765bb9253a77c54902681c5de164a5a04de2a9778dfb479dbdefaab2d5de1fbaf6095c555c43e7e9fd7a1c09bd
|
||||
|
||||
Loading…
Reference in New Issue
Block a user