Declare script dependencies explicitly

This commit is contained in:
Petr Písař 2013-08-01 13:55:24 +02:00
parent 4bc419d8ad
commit 97b10a5889

View File

@ -1,6 +1,6 @@
Name: docbook2X
Version: 0.8.8
Release: 15%{?dist}
Release: 16%{?dist}
Summary: Convert docbook into man and Texinfo
Group: Applications/Text
@ -16,6 +16,14 @@ BuildRequires: perl(XML::SAX::ParserFactory)
# rpmlint isn't happy with libxslt, but we need xsltproc
Requires: libxslt openjade texinfo %{_bindir}/sgml2xml
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# Required by bin/* scripts, who does know why rpmbuild does not generate
# dependencies automatically:
Requires: perl(Exporter)
Requires: perl(IO::File)
Requires: perl(Text::Wrap)
Requires: perl(vars)
Requires: perl(XML::SAX::ParserFactory)
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
@ -77,6 +85,9 @@ fi
%changelog
* Thu Aug 01 2013 Petr Pisar <ppisar@redhat.com> - 0.8.8-16
- Declare script dependencies explicitly
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 0.8.8-15
- Perl 5.18 rebuild