output.p 546 B

1234567891011121314151617181920212223242526
  1. --- output.orig.spec 2012-02-24 13:50:40.536851122 +0200
  2. +++ output.spec 2012-02-24 13:50:40.707854972 +0200
  3. @@ -16,6 +16,8 @@ License: BSD
  4. URL: http://www.testpkg.org/
  5. Source0: http://www.testpkg.org/testpkg-%{version}.tar.gz
  6. Source100: testpkg.yaml
  7. +Requires(post): /sbin/ldconfig
  8. +Requires(postun): /sbin/ldconfig
  9. %description
  10. @@ -58,8 +60,13 @@ rm -rf %{buildroot}
  11. # << install post
  12. +%post -p /sbin/ldconfig
  13. +
  14. +%postun -p /sbin/ldconfig
  15. +
  16. %files
  17. %defattr(-,root,root,-)
  18. +%{_libdir}/*.so
  19. # >> files
  20. # << files