diff --git a/packaging/rpm/xpra.spec b/packaging/rpm/xpra.spec index 64ec5ebd5a..7631f05759 100644 --- a/packaging/rpm/xpra.spec +++ b/packaging/rpm/xpra.spec @@ -181,10 +181,8 @@ BuildRequires: pkgconfig(libyuv) Requires: libyuv BuildRequires: pkgconfig(libavif) Requires: libavif -%if 0%{?fedora}>=37 BuildRequires: pkgconfig(openh264) Requires: openh264 -%endif %if 0%{?fedora} BuildRequires: pkgconfig(spng) Requires: libspng @@ -535,9 +533,7 @@ rm -rf $RPM_BUILD_ROOT %{python3_sitearch}/xpra/codecs/v4l2 %{python3_sitearch}/xpra/codecs/vpx %{python3_sitearch}/xpra/codecs/webp -%if 0%{?fedora}>=37 %{python3_sitearch}/xpra/codecs/openh264 -%endif %if 0%{?fedora} %{python3_sitearch}/xpra/codecs/spng %endif