Fix scriptlets, ldconfig is needed for the libs subpackage, not the main one

This commit is contained in:
Mathieu Bridon 2012-09-26 13:12:27 +08:00
parent bd3d7b70ba
commit 75f71d0520

View File

@ -66,10 +66,10 @@ make install DESTDIR=%{buildroot}
find %{buildroot} -name '*.la' -exec rm -f '{}' \;
%post -p /sbin/ldconfig
%post libs -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files
@ -88,6 +88,8 @@ find %{buildroot} -name '*.la' -exec rm -f '{}' \;
%changelog
- Fix scriptlets, ldconfig is needed for the libs subpackage, not the main one.
* Mon Jul 30 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 6.13-1
- New upstream release.
- Split out the library in its own subpackage.