ALT Linux Bugzilla
– Attachment 580 Details for
Bug 5096
support for x86_64
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
multilib support
openpam-x86_64.patch (text/plain), 1.84 KB, created by
Kachalov Anton
on 2004-08-30 20:30:58 MSD
(
hide
)
Description:
multilib support
Filename:
MIME Type:
Creator:
Kachalov Anton
Created:
2004-08-30 20:30:58 MSD
Size:
1.84 KB
patch
obsolete
>--- openpam.spec.orig 2004-04-29 21:12:35 +0400 >+++ openpam.spec 2004-08-30 01:26:22 +0400 >@@ -1,6 +1,6 @@ > Name: openpam > Version: 20040210 >-Release: alt1 >+Release: alt2 > > Summary: Pluggable Authentication Modules Library > License: BSD >@@ -97,9 +97,9 @@ > %endif > sh -ex ./autogen.sh > %configure \ >- --libdir=/lib \ >+ --libdir=/%_lib \ > %{subst_enable static} \ >- --with-modules-dir=/lib/security \ >+ --with-modules-dir=/%_lib/security \ > --disable-unversioned-modules \ > # > %make_build >@@ -115,17 +115,17 @@ > > # Relocate development libraries from /lib/ to %_libdir/. > %__mkdir_p $RPM_BUILD_ROOT%_libdir >-%__mv $RPM_BUILD_ROOT/lib/*.*a $RPM_BUILD_ROOT%_libdir/ >+%__mv $RPM_BUILD_ROOT/%_lib/*.*a $RPM_BUILD_ROOT%_libdir/ > >-for f in $RPM_BUILD_ROOT/lib/libpam*.so; do >+for f in $RPM_BUILD_ROOT/%_lib/libpam*.so; do > t=`objdump -p "$f" |awk '/SONAME/ {print $2}'` > [ -n "$t" ] >- %__ln_s ../../lib/"$t" "$RPM_BUILD_ROOT%_libdir/${f##*/}" >+ %__ln_s ../../%_lib/"$t" "$RPM_BUILD_ROOT%_libdir/${f##*/}" > %__rm -f "$f" > done > >-%__chmod a-x $RPM_BUILD_ROOT/lib{,/security}/*.so.* >-%add_findprov_lib_path /lib/security >+%__chmod a-x $RPM_BUILD_ROOT/%_lib{,/security}/*.so.* >+%add_findprov_lib_path /%_lib/security > > # OpenPAM-specific rpm macros. > %__install -pD -m644 %SOURCE1 $RPM_BUILD_ROOT%_sysconfdir/rpm/macros.d/pam >@@ -148,9 +148,9 @@ > > %files -n %libpam > %config %_sysconfdir/buildreqs/packages/substitute.d/%libpam >-/lib/lib*.so.* >-/lib/security/pam_deny.so.* >-/lib/security/pam_permit.so.* >+/%_lib/lib*.so.* >+/%_lib/security/pam_deny.so.* >+/%_lib/security/pam_permit.so.* > %docdir > > %files -n %libpam-devel >@@ -167,6 +167,9 @@ > %endif # enabled static > > %changelog >+* Mon Aug 30 2004 Anton D. Kachalov <mouse@altlinux.org> 20040210-alt2 >+- Added multilib support >+ > * Thu Apr 29 2004 Dmitry V. Levin <ldv@altlinux.org> 20040210-alt1 > - Updated to 20040210. > - New patches:
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 5096
: 580