public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Leigh Scott <leigh123linux@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ffmpeg] epel9-next: Remove internal headers, they shouldn't be used outside of ffmpeg compile
Date: Tue, 14 Jul 2026 21:59:40 GMT	[thread overview]
Message-ID: <178406638057.1.16950800733097957916.rpms-ffmpeg-14bc6a068459@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ffmpeg
            Branch : epel9-next
            Commit : 14bc6a068459c54abc1920ecba9d8bc513b9b2a6
            Author : Leigh Scott <leigh123linux@gmail.com>
            Date   : 2022-09-07T11:40:38+01:00
            Stats  : +0/-25 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ffmpeg/c/14bc6a068459c54abc1920ecba9d8bc513b9b2a6?branch=epel9-next

            Log:
            Remove internal headers, they shouldn't be used outside of ffmpeg compile

Readd description

---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index f32833c..96f846a 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -323,11 +323,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}
@@ -744,25 +739,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
 
@@ -788,7 +764,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

                 reply	other threads:[~2026-07-14 21:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178406638057.1.16950800733097957916.rpms-ffmpeg-14bc6a068459@fedoraproject.org \
    --to=leigh123linux@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox