From 93ca00f254411f99b4d912e09ee9f86290e2be32 Mon Sep 17 00:00:00 2001 From: Ondrej Vasik Date: Thu, 1 Nov 2007 13:46:54 +0000 Subject: [PATCH] rpmlint check(fixed things in changelog) --- docbook-utils.spec | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/docbook-utils.spec b/docbook-utils.spec index 17f9d6a..eb84ad5 100644 --- a/docbook-utils.spec +++ b/docbook-utils.spec @@ -1,12 +1,12 @@ Name: docbook-utils Version: 0.6.14 -Release: 10%{?dist} +Release: 11%{?dist} Group: Applications/Text -Summary: Shell scripts for managing DocBook documents. +Summary: Shell scripts for managing DocBook documents URL: ftp://sources.redhat.com/pub/docbook-tools/new-trials/ -License: GPL +License: GPL+ Requires: docbook-style-dsssl >= 1.72 Requires: docbook-dtds @@ -22,14 +22,14 @@ Source0: ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/%{name}-% Source1: db2html Source2: gdp-both.dsl -Obsoletes: stylesheets -Provides: stylesheets +Obsoletes: stylesheets <= %{version}-%{release} +Provides: stylesheets = %{version}-%{release} Patch0: docbook-utils-spaces.patch Patch1: docbook-utils-funcsynopsis.patch Patch2: docbook-utils-2ndspaces.patch -%Description +%description This package contains scripts are for easy conversion from DocBook files to other formats (for example, HTML, RTF, and PostScript), and for comparing SGML files. @@ -38,10 +38,11 @@ for comparing SGML files. Requires: jadetex >= 2.5 Requires: docbook-utils = %{version} Requires: tetex-dvips +License: GPL+ Group: Applications/Text -Obsoletes: stylesheets-db2pdf -Provides: stylesheets-db2pdf -Summary: A script for converting DocBook documents to PDF format. +Obsoletes: stylesheets-db2pdf <= %{version}-%{release} +Provides: stylesheets-db2pdf = %{version}-%{release} +Summary: A script for converting DocBook documents to PDF format URL: ftp://sources.redhat.com/pub/docbook-tools/new-trials/ %description pdf @@ -55,7 +56,7 @@ PDF format. %patch2 -p1 -b .2ndspaces %build -./configure --prefix=%{_prefix} --mandir=%{_mandir} +./configure --prefix=%{_prefix} --mandir=%{_mandir} --libdir=%{_libdir} make %install @@ -74,12 +75,11 @@ install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT/usr/share/sgml/docbook/utils-%{vers rm -rf $RPM_BUILD_ROOT/tmp -%Clean -DESTDIR=$RPM_BUILD_ROOT -rm -rf $DESTDIR +%clean +rm -rf $RPM_BUILD_ROOT -%Files +%files %defattr (-,root,root) %doc README COPYING TODO %{_bindir}/jw @@ -89,7 +89,7 @@ rm -rf $DESTDIR %{_bindir}/docbook2tex %{_bindir}/docbook2texi %{_bindir}/docbook2txt -%{_bindir}/db2html +%attr(0755,root,root) %{_bindir}/db2html %{_bindir}/db2rtf %{_bindir}/sgmldiff /usr/share/sgml/docbook/utils-%{version} @@ -120,6 +120,11 @@ rm -rf $DESTDIR %{_mandir}/*/docbook2ps.* %changelog +* Thu Nov 01 2007 Ondrej Vasik 0.6.14-11 +- rpmlint check +- fixed: dist tag, summary ended with dot, license tag, + versioned provides/obsoletes + some cosmetic changes + * Fri Oct 12 2007 Ondrej Vasik 0.6.14-10 - generalized text browser requirement(#174566) @@ -222,7 +227,7 @@ rm -rf $DESTDIR - Improvements for man page output. * Fri May 3 2002 Tim Waugh 0.6.10-2 -- Don't define %graphic-default-extension% in the stylesheet---it messes +- Don't define graphic-default-extension in the stylesheet---it messes up PS+PDF output from the same source. * Wed May 1 2002 Tim Waugh 0.6.10-1