quilt-dev
[Top][All Lists]
Advanced

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

[Quilt-dev] [PATCH] fix 'make rpm'


From: Anders Larsen
Subject: [Quilt-dev] [PATCH] fix 'make rpm'
Date: Sun, 23 Jul 2006 20:08:32 +0200

Hi,

this commit broke 'make rpm' on my FC4 box:
"revision 1.129
 date: 2006-07-14 14:38:03 +0000;  author: agruen;  state: Exp;  lines: +1 -1
 - Makefile.in: replace $(datadir)/man with configure's @mandir@ macro."

The patch below forces configure to use the same mandir as rpmbuild.

Signed-off-by: Anders Larsen <address@hidden>
---
Cheers
 Anders

Index: quilt.spec.in
===================================================================
RCS file: /sources/quilt/quilt/quilt.spec.in,v
retrieving revision 1.18
diff -u -r1.18 quilt.spec.in
--- quilt.spec.in       15 Feb 2006 09:04:19 -0000      1.18
+++ quilt.spec.in       23 Jul 2006 18:05:16 -0000
@@ -30,7 +30,7 @@
 %setup

 %build
-CFLAGS="$RPM_OPT_FLAGS" ./configure
+CFLAGS="$RPM_OPT_FLAGS" ./configure --mandir=%{_mandir}
 make prefix=/usr BUILD_ROOT=$RPM_BUILD_ROOT RELEASE=%release

 %install





reply via email to

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