diff --git a/docbook-style-xsl.spec b/docbook-style-xsl.spec index 6664776..4127df3 100644 --- a/docbook-style-xsl.spec +++ b/docbook-style-xsl.spec @@ -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 1.73.2-3 +- rpmlint check +- fixed License Tag, Requires and some cosmetic issues + * Fri Sep 7 2007 Ondrej Vasik 1.73.2-2 - Added PreReq of libxml2(#253962)