Lines 1-6
Link Here
|
1 |
Name: readline |
1 |
Name: readline |
2 |
Version: 4.3 |
2 |
Version: 4.3 |
3 |
Release: alt6 |
3 |
Release: alt7 |
4 |
|
4 |
|
5 |
Summary: A library for editing typed in command lines |
5 |
Summary: A library for editing typed in command lines |
6 |
License: GPL |
6 |
License: GPL |
Lines 117-135
Link Here
|
117 |
%install |
117 |
%install |
118 |
%makeinstall |
118 |
%makeinstall |
119 |
|
119 |
|
120 |
# Relocate shared libraries from %_libdir/ to /lib/. |
120 |
# Relocate shared libraries from %_libdir/ to /%_lib/. |
121 |
%__mkdir_p $RPM_BUILD_ROOT/lib |
121 |
%__mkdir_p $RPM_BUILD_ROOT/%_lib |
122 |
for f in $RPM_BUILD_ROOT%_libdir/*.so; do |
122 |
for f in $RPM_BUILD_ROOT%_libdir/*.so; do |
123 |
t=`objdump -p "$f" |awk '/SONAME/ {print $2}'` |
123 |
t=`objdump -p "$f" |awk '/SONAME/ {print $2}'` |
124 |
[ -n "$t" ] |
124 |
[ -n "$t" ] |
125 |
%__ln_s -nf ../../lib/"$t" "$f" |
125 |
%__ln_s -nf ../../%_lib/"$t" "$f" |
126 |
done |
126 |
done |
127 |
mv $RPM_BUILD_ROOT%_libdir/*.so.* $RPM_BUILD_ROOT/lib/ |
127 |
mv $RPM_BUILD_ROOT%_libdir/*.so.* $RPM_BUILD_ROOT/%_lib/ |
128 |
|
128 |
|
129 |
for n in %name history; do |
129 |
for n in %name history; do |
130 |
t=`objdump -p "$RPM_BUILD_ROOT%_libdir/lib$n.so" |awk '/SONAME/ {print $2}'` |
130 |
t=`objdump -p "$RPM_BUILD_ROOT%_libdir/lib$n.so" |awk '/SONAME/ {print $2}'` |
131 |
for v in %compat_list; do |
131 |
for v in %compat_list; do |
132 |
%__ln_s "../../lib/$t" "$RPM_BUILD_ROOT%_libdir/lib$n.so.$v" |
132 |
%__ln_s "../../%_lib/$t" "$RPM_BUILD_ROOT%_libdir/lib$n.so.$v" |
133 |
done |
133 |
done |
134 |
done |
134 |
done |
135 |
|
135 |
|
Lines 156-162
Link Here
|
156 |
%uninstall_info {%name,history,rluserman}.info |
156 |
%uninstall_info {%name,history,rluserman}.info |
157 |
|
157 |
|
158 |
%files -n lib%name |
158 |
%files -n lib%name |
159 |
/lib/* |
159 |
/%_lib/* |
160 |
%_libdir/*.so.* |
160 |
%_libdir/*.so.* |
161 |
|
161 |
|
162 |
%files -n lib%name-devel |
162 |
%files -n lib%name-devel |
Lines 170-175
Link Here
|
170 |
%_libdir/*.a |
170 |
%_libdir/*.a |
171 |
|
171 |
|
172 |
%changelog |
172 |
%changelog |
|
|
173 |
* Thu Jul 22 2004 Kachalov Anton <mouse@altlinux.org> 4.3-alt7 |
174 |
- Change /lib to /%_lib to make compile on x86_64 |
175 |
|
173 |
* Wed Apr 28 2004 Dmitry V. Levin <ldv@altlinux.org> 4.3-alt6 |
176 |
* Wed Apr 28 2004 Dmitry V. Levin <ldv@altlinux.org> 4.3-alt6 |
174 |
- Rebuilt with glibc-2.3.x. |
177 |
- Rebuilt with glibc-2.3.x. |
175 |
|
178 |
|