rpmlint check fixes

This commit is contained in:
Ondrej Vasik 2007-10-24 10:40:13 +00:00
parent 0ed2bb3f96
commit f590d3abd4

View File

@ -1,19 +1,20 @@
Name: docbook-style-xsl
Version: 1.73.2
Release: 2%{?dist}
Release: 3%{?dist}
Group: Applications/Text
Summary: Norman Walsh's XSL stylesheets for DocBook XML.
Summary: Norman Walsh's XSL stylesheets for DocBook XML
License: Distributable
License: Freely redistributable without restriction
URL: http://docbook.sourceforge.net/projects/xsl/
Provides: docbook-xsl = %{version}
PreReq: docbook-dtd-xml
Requires: docbook-dtd-xml
# xml-common was using /usr/share/xml until 0.6.3-8.
PreReq: xml-common >= 0.6.3-8
# required because of usage of /usr/bin/xmlcatalog
PreReq: libxml2 >= 2.4.8
Requires: xml-common >= 0.6.3-8
# libxml2 required because of usage of /usr/bin/xmlcatalog
Requires(post): libxml2 >= 2.4.8
Requires(postun): libxml2 >= 2.4.8
# PassiveTeX before 1.21 can't handle the newer stylesheets.
Conflicts: passivetex < 1.21
@ -54,7 +55,7 @@ done
%install
DESTDIR=$RPM_BUILD_ROOT
rm -rf $DESTDIR
rm -rf $RPM_BUILD_ROOT
make install BINDIR=$DESTDIR/usr/bin DESTDIR=$DESTDIR/usr/share/sgml/docbook/xsl-stylesheets-%{version}-%{release}
ln -s xsl-stylesheets-%{version}-%{release} \
$DESTDIR/usr/share/sgml/docbook/xsl-stylesheets
@ -65,8 +66,7 @@ rm -rf $DESTDIR/usr/share/sgml/docbook/xsl-stylesheets/extensions/*
%clean
DESTDIR=$RPM_BUILD_ROOT
rm -rf $DESTDIR
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-,root,root)
@ -101,6 +101,10 @@ CATALOG=/etc/xml/catalog
%changelog
* Wed Oct 24 2007 Ondrej Vasik <ovasik@redhat.com> 1.73.2-3
- rpmlint check
- fixed License Tag, Requires and some cosmetic issues
* Fri Sep 7 2007 Ondrej Vasik <ovasik@redhat.com> 1.73.2-2
- Added PreReq of libxml2(#253962)