- don't install the .so links in /lib
This commit is contained in:
parent
eecc66af23
commit
e6a42109ce
1
pam.spec
1
pam.spec
@ -181,7 +181,6 @@ install -m 644 doc/man/*.8 $RPM_BUILD_ROOT%{_mandir}/man8/
|
|||||||
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}
|
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}
|
||||||
for lib in libpam libpamc libpam_misc ; do
|
for lib in libpam libpamc libpam_misc ; do
|
||||||
ln -sf ../../%{_lib}/${lib}.so.%{version} $RPM_BUILD_ROOT%{_libdir}/${lib}.so
|
ln -sf ../../%{_lib}/${lib}.so.%{version} $RPM_BUILD_ROOT%{_libdir}/${lib}.so
|
||||||
ln -sf ${lib}.so.%{version} $RPM_BUILD_ROOT/%{_lib}/${lib}.so
|
|
||||||
mv $RPM_BUILD_ROOT/%{_lib}/${lib}.a $RPM_BUILD_ROOT%{_libdir}/
|
mv $RPM_BUILD_ROOT/%{_lib}/${lib}.a $RPM_BUILD_ROOT%{_libdir}/
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user