Compare commits

..

No commits in common. "a5ff121dddb211eecc629b5e73ee22b1c03c4c75" and "6a43eb8b4180e07a382a0649b878dc6fa94bd472" have entirely different histories.

4 changed files with 10 additions and 39 deletions

View File

@ -1,15 +0,0 @@
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;

View File

@ -1,6 +0,0 @@
<constraints>
<linux><version>
<min>4.0</min>
</version></linux>
</constraints>

View File

@ -1,14 +1,11 @@
Name: docbook2X
Version: 0.8.8
Release: 35
Release: 32
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-interpreter perl-generators libxslt openjade texinfo opensp
BuildRequires: perl(XML::SAX::ParserFactory)
Requires: libxslt openjade texinfo opensp perl(Exporter) perl(IO::File)
Requires: perl(Text::Wrap) perl(vars) perl(XML::SAX::ParserFactory)
@ -39,6 +36,14 @@ install -p doc/*.html __dist_html/html
%install
%make_install
%post
/sbin/install-info %{_infodir}/docbook2X.info %{_infodir}/dir || :
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/docbook2X.info %{_infodir}/dir || :
fi
%files
%doc COPYING AUTHORS
%{_bindir}/*
@ -56,14 +61,5 @@ 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
* Fri Sep 25 2020 chengzihan <chengzihan2@huawei.com> - 0.8.8-33
- delete /sbin/install-info in %post and %preun
* Fri Nov 29 2019 zhujunhao <zhujunhao5@huawei.com> - 0.8.8-32
- Package init

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: Distrotech/docbook2X
tag_prefix: ^
seperator: .