diff --git a/ffmpeg-4.changes b/ffmpeg-4.changes index 1ead746..ea9c102 100644 --- a/ffmpeg-4.changes +++ b/ffmpeg-4.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Mar 30 07:14:39 UTC 2020 - Tomáš Chvátal + +- Always build the binary ffmpeg-4 even on Leap releases boo#1167628: + * The conflicts in place should allow users to decide if they + want to use ffmpeg from ffmpeg package or ffmpeg-4 from this + package + +------------------------------------------------------------------- +Mon Mar 16 13:30:41 UTC 2020 - Andreas Schwab + +- Add -ffat-lto-objects to _lto_cflags to fix configure checks + ------------------------------------------------------------------- Tue Mar 3 13:07:51 UTC 2020 - Bjørn Lie diff --git a/ffmpeg-4.spec b/ffmpeg-4.spec index 07aafb8..153dc65 100644 --- a/ffmpeg-4.spec +++ b/ffmpeg-4.spec @@ -47,7 +47,7 @@ %bcond_with amrwb %bcond_without cuda_sdk %else -%bcond_with cuda_sdk +%bcond_with cuda_sdk %endif %bcond_with fdk_aac_dlopen %bcond_with librtmp @@ -56,13 +56,6 @@ %bcond_with x265 %bcond_with xvid -# Full build or just support package on older codestream -%if 0%{?suse_version} > 1500 -%bcond_without full_build -%else -%bcond_with full_build -%endif - %if 0%{?suse_version} > 1500 %bcond_without libaom %bcond_without mysofa @@ -582,6 +575,9 @@ break compatibility without any notice. %ifarch %ix86 %arm %define _lto_cflags %nil %endif +%if "%_lto_cflags" != "" +%global _lto_cflags %_lto_cflags -ffat-lto-objects +%endif CFLAGS="%optflags" \ %if %suse_version > 1500 %ifarch %ix86 @@ -735,14 +731,10 @@ done %install b="%buildroot" %make_install install-man -%if %{with full_build} rm -Rf "$b/%_datadir/ffmpeg/examples" for i in %extratools; do cp -a "tools/$i" "$b/%_bindir/" done -%else -rm -Rf "$b/%_bindir" "$b/%_mandir/man1" "$b/%_datadir/ffmpeg" -%endif # Install private headers required by libav-tools for i in libavformat/options_table.h libavformat/os_support.h \ @@ -773,13 +765,11 @@ done %post -n libswscale5 -p /sbin/ldconfig %postun -n libswscale5 -p /sbin/ldconfig -%if %{with full_build} %files %doc Changelog CREDITS README.md %_bindir/* %_mandir/man1/ff*.1* %_datadir/ffmpeg/ -%endif %files -n libavcodec58 %license COPYING.GPLv2 LICENSE.md