quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] [PATCH] Trivial fix for .spec file


From: Thomas Petazzoni
Subject: [Quilt-dev] [PATCH] Trivial fix for .spec file
Date: Wed, 15 Feb 2006 09:55:16 +0100
User-agent: Mozilla Thunderbird 1.0.6-7.2.20060mdk (X11/20050322)

Hi,

Here's a trivial fix for quilt.spec and quilt.spec.in to allow the
building of the package to work and Mandriva. The problem is that the
.spec file assumes that manpages are gzipped, while they are bzip2ed on
Mandriva. As recommended by the Mandriva packaging HOWTO, the patch
changes blabla.1.gz to blabla.1*.

(I fixed both since both are in the tarball, but maybe only the
quilt.spec.in has to be fixed).

diff -ru quilt-0.44/quilt.spec quilt-0.44.new/quilt.spec
--- quilt-0.44/quilt.spec       2006-02-15 07:41:31.000000000 +0100
+++ quilt-0.44.new/quilt.spec   2006-02-15 09:50:06.000000000 +0100
@@ -49,8 +49,8 @@
 /usr/lib/quilt/
 /etc/bash_completion.d/quilt
 %config(noreplace) /etc/quilt.quiltrc
-%doc %{_mandir}/man1/guards.1.gz
-%doc %{_mandir}/man1/quilt.1.gz
+%doc %{_mandir}/man1/guards.1*
+%doc %{_mandir}/man1/quilt.1*
 %doc %{_docdir}/%{name}-%{version}/README
 %doc %{_docdir}/%{name}-%{version}/README.MAIL
 %doc %{_docdir}/%{name}-%{version}/quilt.pdf
diff -ru quilt-0.44/quilt.spec.in quilt-0.44.new/quilt.spec.in
--- quilt-0.44/quilt.spec.in    2005-11-04 19:09:46.000000000 +0100
+++ quilt-0.44.new/quilt.spec.in        2006-02-15 09:52:26.000000000 +0100
@@ -49,8 +49,8 @@
 /usr/lib/quilt/
 /etc/bash_completion.d/quilt
 %config(noreplace) /etc/quilt.quiltrc
-%doc %{_mandir}/man1/guards.1.gz
-%doc %{_mandir}/man1/quilt.1.gz
+%doc %{_mandir}/man1/guards.1*
+%doc %{_mandir}/man1/quilt.1*
 %doc %{_docdir}/%{name}-%{version}/README
 %doc %{_docdir}/%{name}-%{version}/README.MAIL
 %doc %{_docdir}/%{name}-%{version}/quilt.pdf

Sincerly,

Thomas
-- 
Thomas Petazzoni
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]