Fix build error caused by gettext update to 0.22
This commit is contained in:
parent
ec429b9a91
commit
cdb78ec8e2
10
po4a.spec
10
po4a.spec
@ -2,7 +2,7 @@
|
||||
Name: po4a
|
||||
Summary: A translation tool
|
||||
Version: 0.69
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: GPL+
|
||||
URL: https://po4a.org/
|
||||
Source0: https://github.com/mquinson/po4a/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
@ -18,6 +18,7 @@ BuildRequires: perl(Getopt::Std) perl(Getopt::Long) perl(IO::File) perl(Pod::Par
|
||||
BuildRequires: perl(Pod::Usage) perl(POSIX) perl(SGMLS) >= 1.03ii perl(strict) perl(Test::More)
|
||||
BuildRequires: perl(vars) perl(Time::Local) perl(warnings) perl(I18N::Langinfo)
|
||||
BuildRequires: texlive-kpathsea-bin texlive-kpathsea perl(Locale::gettext) >= 1.01
|
||||
BuildRequires: perl(Unicode::GCString) perl(YAML::Tiny)
|
||||
|
||||
Requires: gettext perl(Locale::gettext) >= 1.01 %{_bindir}/xsltproc %{_bindir}/nsgmls
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
@ -38,10 +39,6 @@ tools on areas where they were not expected like documentation.
|
||||
|
||||
chmod +x scripts/*
|
||||
|
||||
%{__perl} -p -i -e 's,#!\s*/usr/bin/env perl,#!%{_bindir}/perl,' \
|
||||
$(find . -type f -executable |
|
||||
xargs grep -l "/usr/bin/env perl")
|
||||
|
||||
%build
|
||||
export PO4AFLAGS="-v -v -v"
|
||||
LANG=en_US.utf8
|
||||
@ -81,6 +78,9 @@ LANG=en_US.utf8
|
||||
%{_mandir}/*/man7/%{name}.7*
|
||||
|
||||
%changelog
|
||||
* Tue Jul 18 2023 yaoxin <yao_xin001@hoperun.com> - 0.69-2
|
||||
- Fix build error caused by gettext update to 0.22
|
||||
|
||||
* Thu May 11 2023 xu_ping <707078654@qq.com> - 0.69-1
|
||||
- update to 0.69
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user