From bacab14766e8021a2c673868a6e829ea8455b964 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Mon, 19 Jul 2021 14:12:22 +0800 Subject: [PATCH] Enable support for generating localisted pages --- help2man.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/help2man.spec b/help2man.spec index 80f2f0c..9c08808 100644 --- a/help2man.spec +++ b/help2man.spec @@ -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 - 1.47.11-1 +- Enable support for generating localisted pages + * Thu Nov 07 2019 openEuler Buildtam - 1.47.11-0 - Package Init