From 6c78504a9466ae901738ae0e7ee0fe961f58f2d8 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Wed, 7 Sep 2022 10:31:41 +0100 Subject: [PATCH] Remove internal headers, they shouldn't be used outside of ffmpeg compile Readd description --- ffmpeg.spec | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/ffmpeg.spec b/ffmpeg.spec index b2c898b..77e1192 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -316,11 +316,6 @@ machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. -This package contains also private headers for libavformat, libavcodec and -libavutil which are needed by libav-tools to build. No other package apart -from libav should depend on these private headers which are expected to -break compatibility without any notice. - %package -n libavcodec%{?pkg_suffix} Summary: FFmpeg codec library Requires: libavutil%{?pkg_suffix}%{_isa} = %{version}-%{release} @@ -735,25 +730,6 @@ done %install %make_install V=1 -# Install private headers required by libav-tools -for f in libavformat/options_table.h \ - libavformat/os_support.h \ - libavformat/internal.h \ - libavcodec/options_table.h \ - libavutil/libm.h \ - libavutil/internal.h \ - libavutil/colorspace.h \ - libavutil/timer.h \ - libavutil/x86/emms.h \ - libavutil/aarch64/timer.h \ - libavutil/arm/timer.h \ - libavutil/bfin/timer.h \ - libavutil/ppc/timer.h \ - libavutil/x86/timer.h; do - install -m 0755 -d "%{buildroot}%{_includedir}/ffmpeg/private/$(dirname "${f}")" - cp -a ${f} "%{buildroot}%{_includedir}/ffmpeg/private/${f}" -done - # We will package is as %%doc in the devel package rm -rf %{buildroot}%{_datadir}/%{name}/examples @@ -779,7 +755,6 @@ rm -rf %{buildroot}%{_datadir}/%{name}/examples %files -n %{pkg_name}-devel %doc MAINTAINERS doc/APIchanges doc/*.txt %doc _doc/examples -%{_includedir}/%{name}/private %files -n libavcodec%{?pkg_suffix} %license COPYING.GPLv2 LICENSE.md