From a1aca71a6b31ba170264817a8d9d35e1a3476dab Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 29 Jul 2023 15:12:30 +0200 Subject: [PATCH] openh264 is only for Fedora --- packaging/rpm/xpra.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/rpm/xpra.spec b/packaging/rpm/xpra.spec index 511ac8026a..0f1f7119c0 100644 --- a/packaging/rpm/xpra.spec +++ b/packaging/rpm/xpra.spec @@ -174,9 +174,9 @@ BuildRequires: pkgconfig(libyuv) Requires: libyuv BuildRequires: pkgconfig(libavif) Requires: libavif +%if 0%{?fedora} BuildRequires: pkgconfig(openh264) Requires: openh264 -%if 0%{?fedora} BuildRequires: pkgconfig(spng) Requires: libspng %endif @@ -532,8 +532,8 @@ rm -rf $RPM_BUILD_ROOT %{python3_sitearch}/xpra/codecs/v4l2 %{python3_sitearch}/xpra/codecs/vpx %{python3_sitearch}/xpra/codecs/webp -%{python3_sitearch}/xpra/codecs/openh264 %if 0%{?fedora} +%{python3_sitearch}/xpra/codecs/openh264 %{python3_sitearch}/xpra/codecs/spng %endif