el8
leigh123linux 7 years ago
parent 9b303f1c8f
commit d427edab2b

@ -49,14 +49,13 @@ contains include files needed to develop applications using librtmp.
%build %build
# The fact that we have to add -ldl for gnutls is Fedora bug #611318 # 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 %install
make CRYPTO=GNUTLS SHARED=yes DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir} install make CRYPTO=GNUTLS SHARED=yes DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir} install
rm -f %{buildroot}%{_libdir}/librtmp.a rm -f %{buildroot}%{_libdir}/librtmp.a
%post -n librtmp -p /sbin/ldconfig %ldconfig_scriptlets librtmp
%postun -n librtmp -p /sbin/ldconfig
%files %files
%doc README %doc README

Loading…
Cancel
Save