Thorsten Kukuk 2017-08-19 05:56:30 +00:00 committed by Git OBS Bridge
parent 23b752aea0
commit 78c5f111ad

View File

@ -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