commit d427edab2b8bb7fdff23b0e86833eb1d42bc4c12
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Mar 1 11:17:40 2018 +0000
fix build
rtmpdump.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/rtmpdump.spec b/rtmpdump.spec
index 8e92e37..1b5617b 100644
--- a/rtmpdump.spec
+++ b/rtmpdump.spec
@@ -49,14 +49,13 @@ contains include files needed to develop applications using librtmp.
%build
# The fact that we have to add -ldl for gnutls is Fedora bug #611318
-make SYS=posix CRYPTO=GNUTLS SHARED=yes OPT="%{optflags}"
LIB_GNUTLS="-lgnutls -lgcrypt -ldl"
+make SYS=posix CRYPTO=GNUTLS SHARED=yes OPT="%{optflags}"
LIB_GNUTLS="-lgnutls -lgcrypt -ldl -lz"
%install
make CRYPTO=GNUTLS SHARED=yes DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir}
libdir=%{_libdir} install
rm -f %{buildroot}%{_libdir}/librtmp.a
-%post -n librtmp -p /sbin/ldconfig
-%postun -n librtmp -p /sbin/ldconfig
+%ldconfig_scriptlets librtmp
%files
%doc README