ALT Linux Bugzilla
– Attachment 522 Details for
Bug 4895
support for x86_64
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Change /lib to /%_lib to make compile on x86_64
readline.spec.diff (text/plain), 1.42 KB, created by
Kachalov Anton
on 2004-07-26 18:57:57 MSD
(
hide
)
Description:
Change /lib to /%_lib to make compile on x86_64
Filename:
MIME Type:
Creator:
Kachalov Anton
Created:
2004-07-26 18:57:57 MSD
Size:
1.42 KB
patch
obsolete
>--- readline.spec.orig 2004-04-28 20:27:53 +0400 >+++ readline.spec 2004-07-26 18:57:04 +0400 >@@ -1,6 +1,6 @@ > Name: readline > Version: 4.3 >-Release: alt6 >+Release: alt7 > > Summary: A library for editing typed in command lines > License: GPL >@@ -117,19 +117,19 @@ > %install > %makeinstall > >-# Relocate shared libraries from %_libdir/ to /lib/. >-%__mkdir_p $RPM_BUILD_ROOT/lib >+# Relocate shared libraries from %_libdir/ to /%_lib/. >+%__mkdir_p $RPM_BUILD_ROOT/%_lib > for f in $RPM_BUILD_ROOT%_libdir/*.so; do > t=`objdump -p "$f" |awk '/SONAME/ {print $2}'` > [ -n "$t" ] >- %__ln_s -nf ../../lib/"$t" "$f" >+ %__ln_s -nf ../../%_lib/"$t" "$f" > done >-mv $RPM_BUILD_ROOT%_libdir/*.so.* $RPM_BUILD_ROOT/lib/ >+mv $RPM_BUILD_ROOT%_libdir/*.so.* $RPM_BUILD_ROOT/%_lib/ > > for n in %name history; do > t=`objdump -p "$RPM_BUILD_ROOT%_libdir/lib$n.so" |awk '/SONAME/ {print $2}'` > for v in %compat_list; do >- %__ln_s "../../lib/$t" "$RPM_BUILD_ROOT%_libdir/lib$n.so.$v" >+ %__ln_s "../../%_lib/$t" "$RPM_BUILD_ROOT%_libdir/lib$n.so.$v" > done > done > >@@ -156,7 +156,7 @@ > %uninstall_info {%name,history,rluserman}.info > > %files -n lib%name >-/lib/* >+/%_lib/* > %_libdir/*.so.* > > %files -n lib%name-devel >@@ -170,6 +170,9 @@ > %_libdir/*.a > > %changelog >+* Thu Jul 22 2004 Kachalov Anton <mouse@altlinux.org> 4.3-alt7 >+- Change /lib to /%_lib to make compile on x86_64 >+ > * Wed Apr 28 2004 Dmitry V. Levin <ldv@altlinux.org> 4.3-alt6 > - Rebuilt with glibc-2.3.x. >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4895
: 522