Update to 1.49.3

This commit is contained in:
lyn1001 2023-05-16 16:46:38 +08:00
parent b1961f37d5
commit f2c847dd72
3 changed files with 7 additions and 14 deletions

Binary file not shown.

BIN
help2man-1.49.3.tar.xz Normal file

Binary file not shown.

View File

@ -2,19 +2,17 @@
Name: help2man
Summary: Create simple man pages from --help output
Version: 1.48.5
Version: 1.49.3
Release: 1
License: GPLv3+
License: GPL-3.0-or-later
URL: http://www.gnu.org/software/help2man
Source: ftp://ftp.gnu.org/gnu/help2man/help2man-%{version}.tar.xz
Source: https://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)
BuildRequires: gcc perl-generators perl(Getopt::Long) perl(POSIX) perl(Text::ParseWords) perl(Text::Tabs) perl(strict) make
%{?with_nls:BuildRequires: perl(Locale::gettext) gettext}
%{?with_nls:BuildRequires: perl(Encode)}
%{?with_nls:BuildRequires: perl(I18N::Langinfo)}
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
%description
help2man is a tool for automatically generating simple manual pages from program output.
@ -33,14 +31,6 @@ make install_l10n DESTDIR=$RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %name --with-man
%post
%install_info %{_infodir}/help2man.info
%preun
if [ $1 -eq 0 ]; then
%install_info_rm %{_infodir}/help2man.info
fi
%files -f %name.lang
%defattr(-,root,root)
%doc README NEWS THANKS
@ -56,6 +46,9 @@ fi
%{_mandir}/man1/*
%changelog
* Tue May 16 2023 liyanan <thistleslyn@163.com> - 1.49.3-1
- update version to 1.49.3
* Tue Jan 18 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.48.5-1
- Upgrade to version 1.48.5