git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] cogito: Fix rpm build for 64bit platforms

From
CWChris Wright <chrisw@osdl.org>
Date
Sep 18, 2005, 17:32 UTC
Message-ID
<20050918173229.GR7762@shell0.pdx.osdl.net>
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
 
Previous: Chris Wright
Message 8 of 8 in “Re: [PATCH] add git.spec and adapt Makefile for RPM build”
  1. Horst von BrandMay 2, 2005
  2. Paul JakmaMay 2, 2005
  3. Paul JakmaMay 2, 2005
  4. Chris WrightMay 2, 2005
  5. Horst von BrandMay 4, 2005
  6. Horst von BrandSep 16, 2005
  7. Update cogito.spec.inChris Wright, Sep 16, 2005
  8. cogito: Fix rpm build for 64bit platformsChris Wright, Sep 18, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.