git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@osdl.org>
To: Petr Baudis <pasky@ucw.cz>
Cc: git@vger.kernel.org
Subject: [PATCH] cogito: Fix rpm build for 64bit platforms
Date: Sun, 18 Sep 2005 10:32:29 -0700	[thread overview]
Message-ID: <20050918173229.GR7762@shell0.pdx.osdl.net> (raw)
In-Reply-To: <20050917214807.GA3590@pasky.or.cz>

When building last update on 64bit machine, I realized the _libdir
change breaks the rpm build there.  This fixes up the issue by ensuring
the libdir %install target is same as %files target.

Signed-off-by: Chris Wright <chrisw@osdl.org>
---
 cogito.spec.in |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/cogito.spec.in b/cogito.spec.in
--- a/cogito.spec.in
+++ b/cogito.spec.in
@@ -25,7 +25,7 @@ make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install
+make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} libdir=%{_libdir}/cogito install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -38,6 +38,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc README COPYING Documentation/*
 
 %changelog
+* Fri Sep 16 2005 Chris Wright <chrisw@osdl.org> 0.14.1-2
+- fix _libdir breakage on 64-bit, the irony...
+
 * Thu Sep 15 2005 Chris Wright <chrisw@osdl.org> 0.14.1-1
 - Update to 0.14.1
 

      parent reply	other threads:[~2005-09-18 17:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-16  6:47 [PATCH] Update cogito.spec.in Chris Wright
2005-09-16 11:06 ` Petr Baudis
2005-09-16 15:46   ` Chris Wright
2005-09-16 18:04     ` Junio C Hamano
2005-09-16 18:09       ` Chris Wright
2005-09-16 19:44     ` Horst von Brand
2005-09-16 20:19       ` Chris Wright
     [not found]         ` <20050917214807.GA3590@pasky.or.cz>
2005-09-18 17:32           ` Chris Wright [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050918173229.GR7762@shell0.pdx.osdl.net \
    --to=chrisw@osdl.org \
    --cc=git@vger.kernel.org \
    --cc=pasky@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).