On Sunday, 04 July 2010 at 22:29, David Woodhouse wrote:
> Author: dwmw2
> 
> Update of /cvs/free/rpms/rtmpdump/devel
> In directory se02.es.rpmfusion.net:/tmp/cvs-serv6685
> 
> Modified Files:
>       .cvsignore rtmpdump.spec sources 
> Log Message:
> update to 2.3, enable shared library

Thanks, but you forgot some important details. Patch attached.

Regards,
R.

-- 
Fedora Developer http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
? rtmpdump.spec.patch
Index: rtmpdump.spec
===================================================================
RCS file: /cvs/free/rpms/rtmpdump/devel/rtmpdump.spec,v
retrieving revision 1.4
diff -u -r1.4 rtmpdump.spec
--- rtmpdump.spec       4 Jul 2010 20:29:51 -0000       1.4
+++ rtmpdump.spec       4 Jul 2010 22:47:11 -0000
@@ -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 @@
 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 @@
 %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 @@
 %doc ChangeLog
 
 %changelog
+* Sun Jul 04 2010 Dominik Mierzejewski <[email protected]> 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 <[email protected]> 2.3-1
 - Update to 2.3; build shared library
 

Reply via email to