From 7bc89c3bb9a967f41fa613331b731f968f26afca Mon Sep 17 00:00:00 2001 From: Ondrej Vasik Date: Mon, 5 Nov 2007 09:56:52 +0000 Subject: [PATCH] rpmlint warnings/errors cleanup --- docbook-style-dsssl.spec | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/docbook-style-dsssl.spec b/docbook-style-dsssl.spec index 466727a..193e433 100644 --- a/docbook-style-dsssl.spec +++ b/docbook-style-dsssl.spec @@ -1,18 +1,18 @@ Name: docbook-style-dsssl Version: 1.79 -Release: 4.1 +Release: 5%{?dist} Group: Applications/Text -Summary: Norman Walsh's modular stylesheets for DocBook. +Summary: Norman Walsh's modular stylesheets for DocBook -License: Distributable +License: Freely redistributable without restriction URL: http://docbook.sourceforge.net/ %define openjadever 1.3.2 Requires: openjade = %{openjadever} -PreReq: docbook-dtds >= 1.0-19 -PreReq: sgml-common >= 0.5 -PreReq: openjade = %{openjadever} +Requires: docbook-dtds >= 1.0-19 +Requires: sgml-common >= 0.5 +Requires: openjade = %{openjadever} Conflicts: docbook-utils < 0.6.9-4 BuildRoot: %{_tmppath}/%{name}-%{version} @@ -37,15 +37,14 @@ cp %{SOURCE1} Makefile %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/dsssl-stylesheets-%{version} cd .. ln -s dsssl-stylesheets-%{version} $DESTDIR/usr/share/sgml/docbook/dsssl-stylesheets %clean -DESTDIR=$RPM_BUILD_ROOT -rm -rf $DESTDIR +rm -rf $RPM_BUILD_ROOT %files @@ -62,19 +61,19 @@ rel=${rel##*-} rel=${rel%.cat} for centralized in /etc/sgml/*-docbook-*.cat do - /usr/bin/install-catalog --remove $centralized \ - /usr/share/sgml/docbook/dsssl-stylesheets-*/catalog \ - >/dev/null 2>/dev/null + /usr/bin/install-catalog --remove $centralized \ + /usr/share/sgml/docbook/dsssl-stylesheets-*/catalog \ + >/dev/null 2>/dev/null done for centralized in /etc/sgml/*-docbook-*$rel.cat do - /usr/bin/install-catalog --add $centralized \ - /usr/share/sgml/openjade-%{openjadever}/catalog \ - > /dev/null 2>/dev/null - /usr/bin/install-catalog --add $centralized \ - /usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog \ - > /dev/null 2>/dev/null + /usr/bin/install-catalog --add $centralized \ + /usr/share/sgml/openjade-%{openjadever}/catalog \ + > /dev/null 2>/dev/null + /usr/bin/install-catalog --add $centralized \ + /usr/share/sgml/docbook/dsssl-stylesheets-%{version}/catalog \ + > /dev/null 2>/dev/null done @@ -88,6 +87,10 @@ fi exit 0 %changelog +* Mon Nov 05 2007 Ondrej Vasik - 1.79-5 +- rpmlint cleanup +- fixed summary, dist tag, license tag, cosmetic spec cleanup + * Wed Jul 12 2006 Jesse Keating - 1.79-4.1 - rebuild