!2 Enable support for generating localisted pages

From: @ultra_planet
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-07-19 06:21:16 +00:00 committed by Gitee
commit 384341fcb4

View File

@ -1,16 +1,16 @@
%bcond_with nls
%bcond_without nls
Name: help2man
Summary: Create simple man pages from --help output
Version: 1.47.11
Release: 0
Release: 1
License: GPLv3+
URL: http://www.gnu.org/software/help2man
Source: ftp://ftp.gnu.org/gnu/help2man/help2man-%{version}.tar.xz
%{!?with_nls:BuildArch: noarch}
BuildRequires: gcc perl-generators perl(Getopt::Long) perl(POSIX) perl(Text::ParseWords) perl(Text::Tabs) perl(strict)
%{?with_nls:BuildRequires: perl(Locale::gettext) /usr/bin/msgfmt}
%{?with_nls:BuildRequires: perl(Locale::gettext) gettext}
%{?with_nls:BuildRequires: perl(Encode)}
%{?with_nls:BuildRequires: perl(I18N::Langinfo)}
Requires(post): /sbin/install-info
@ -56,5 +56,8 @@ fi
%{_mandir}/man1/*
%changelog
* Mon Jul 19 2021 lingsheng <lingsheng@huawei.com> - 1.47.11-1
- Enable support for generating localisted pages
* Thu Nov 07 2019 openEuler Buildtam <buildteam@openeuler.org> - 1.47.11-0
- Package Init