From 757e86768df0884e8561f754468921c4456f0431 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 24 Nov 2023 16:41:12 +0100 Subject: [PATCH] Obsolete noopenh264 stub package The plan is to distribute the noopenh264 stub package in Fedora proper, and have the actual openh264 implementation from Cisco repos obsolete and replace it. See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2247274 for the noopenh264 package review. This should finally get us to a point where we can get the openh264 package automatically installed on Fedora Workstation on first update (see https://pagure.io/fedora-workstation/issue/84#comment-883140) and also opens up ways to build dependent packages that link with openh264, without actually including openh264 in the build roots. --- openh264.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openh264.spec b/openh264.spec index 496ba3f..1e3485b 100644 --- a/openh264.spec +++ b/openh264.spec @@ -32,6 +32,9 @@ BuildRequires: make BuildRequires: meson BuildRequires: nasm +# Replace the stub package +Obsoletes: noopenh264 < 1:0 + %description OpenH264 is a codec library which supports H.264 encoding and decoding. It is suitable for use in real time applications such as WebRTC. @@ -40,6 +43,8 @@ suitable for use in real time applications such as WebRTC. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{openh264_version}-%{release} +# Replace the stub package +Obsoletes: noopenh264-devel < 1:0 %description devel The %{name}-devel package contains libraries and header files for @@ -226,6 +231,7 @@ popd %changelog * Fri Nov 24 2023 Kalev Lember - 2.4.0-1 - Update to 2.4.0 +- Obsolete noopenh264 stub package * Wed Nov 22 2023 NoisyCoil - 2.3.1-4 - Set MOZ_GMP_PATH for fish user shell