!17 [sync] PR-14: 添加db2x_xsltproc -h -v选项的显示
From: @openeuler-sync-bot Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
a5ff121ddd
15
Add-db2x_xsltproc-h-and-v-options.patch
Normal file
15
Add-db2x_xsltproc-h-and-v-options.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/perl/db2x_xsltproc.pl b/perl/db2x_xsltproc.pl
|
||||
index 34fa2a1..065a1d4 100755
|
||||
--- a/perl/db2x_xsltproc.pl
|
||||
+++ b/perl/db2x_xsltproc.pl
|
||||
@@ -96,8 +96,8 @@ if(!GetOptions($options,
|
||||
'profile|P',
|
||||
'xslt-processor|X=s',
|
||||
|
||||
- 'help', \&options_help,
|
||||
- 'version', \&options_version))
|
||||
+ 'help|h', \&options_help,
|
||||
+ 'version|v', \&options_version))
|
||||
{
|
||||
print STDERR "Try \"$0 --help\" for more information.\n";
|
||||
exit 1;
|
||||
@ -1,10 +1,13 @@
|
||||
Name: docbook2X
|
||||
Version: 0.8.8
|
||||
Release: 34
|
||||
Release: 35
|
||||
Summary: Convert docbook into man and Texinfo
|
||||
License: MIT
|
||||
URL: http://docbook2x.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/docbook2x/docbook2X-%{version}.tar.gz
|
||||
|
||||
Patch0: Add-db2x_xsltproc-h-and-v-options.patch
|
||||
|
||||
BuildRequires: perl-interpreter perl-generators libxslt openjade texinfo opensp gcc
|
||||
BuildRequires: perl(XML::SAX::ParserFactory)
|
||||
Requires: libxslt openjade texinfo opensp perl(Exporter) perl(IO::File)
|
||||
@ -53,6 +56,9 @@ install -p doc/*.html __dist_html/html
|
||||
%{_infodir}/docbook2*
|
||||
|
||||
%changelog
|
||||
* Mon Feb 13 2023 xu_ping <xuping33@h-partners.com> - 0.8.8-35
|
||||
- Add db2x_xsltproc -h and -v options.
|
||||
|
||||
* Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 0.8.8-34
|
||||
- Add gcc in BuildRequires
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user