From e6a6f816cdfe99213f01a6c39776c0f58c188be2 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 5 Jul 2010 06:21:28 +0000 Subject: [PATCH] shared library fixes --- rtmpdump.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/rtmpdump.spec b/rtmpdump.spec index b5ff596..7e7aa5c 100644 --- a/rtmpdump.spec +++ b/rtmpdump.spec @@ -1,6 +1,6 @@ Name: rtmpdump Version: 2.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Toolkit for RTMP streams Group: Applications/Internet @@ -31,6 +31,7 @@ including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://. Summary: Files for librtmp development Group: Applications/Internet License: LGPLv2+ +Requires: librtmp = %{version}-%{release} %description -n librtmp-devel librtmp is a suport library for RTMP streams. The librtmp-devel package @@ -52,6 +53,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/librtmp.a %clean rm -rf $RPM_BUILD_ROOT +%post -n librtmp -p /sbin/ldconfig + +%postun -n librtmp -p /sbin/ldconfig %files %defattr(-,root,root,-) @@ -77,6 +81,10 @@ rm -rf $RPM_BUILD_ROOT %doc ChangeLog %changelog +* Sun Jul 04 2010 Dominik Mierzejewski 2.3-2 +- call ldconfig in post(un) scripts for the shared library +- add strict dependency on the library to -devel + * Sun Jul 04 2010 David Woodhouse 2.3-1 - Update to 2.3; build shared library