This commit is contained in:
parent
23b752aea0
commit
78c5f111ad
@ -75,10 +75,10 @@ export STRIP_KEEP_SYMTAB=libnsl*.so*
|
||||
# NO_BRP_CHECK_ROOTFS is for SLES11 only, but does not harm for Factory
|
||||
export NO_BRP_CHECK_ROOTFS=true
|
||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||
mv -v %{buildroot}/%{_libdir}/nsl/%{name}.so.2* %{buildroot}%{_libdir}/
|
||||
mv -v %{buildroot}/%{_libdir}/nsl/%{name}.so.2* %{buildroot}%{_libdir}/
|
||||
# Adjust devel so link
|
||||
rm -v %{buildroot}/%{_libdir}/nsl/%{name}.{a,la,so}
|
||||
ln -s -v %{_lib}/%{name}.so.2 %{buildroot}%{_libdir}/nsl/%{name}.so
|
||||
ln -s -v %{_libdir}/%{name}.so.2 %{buildroot}%{_libdir}/nsl/%{name}.so
|
||||
mv -v %{buildroot}/%{_libdir}/nsl/pkgconfig %{buildroot}/%{_libdir}
|
||||
|
||||
%check
|
||||
|
Loading…
Reference in New Issue
Block a user