Restore ldconfig for shlib package

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=5
This commit is contained in:
Jan Engelhardt 2012-02-04 14:06:41 +00:00 committed by Git OBS Bridge
parent 5813022813
commit d3b65a906a
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Feb 4 14:06:20 UTC 2012 - jengelh@medozas.de
- Restore ldconfig call for shlib package
-------------------------------------------------------------------
Sat Feb 4 08:27:28 UTC 2012 - i@marguerite.su

View File

@ -69,7 +69,7 @@ Authors
# autoreconf -fi
%configure --with-pic\
--disable-static
make %{?smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
make %{?smp_mflags}
cat > %{name}.pc << EOF
prefix=%{_prefix}
@ -92,9 +92,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
mv *.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
%post -p /sbin/ldconfig
%post -n %{name}0 -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n %{name}0 -p /sbin/ldconfig
%files -n %{name}0
%defattr(-,root,root)