https://bugzilla.redhat.com/show_bug.cgi?id=2176394
--- Comment #3 from Neal Gompa ngompa13@gmail.com --- Initial spec review:
%{!?_without_caca:BuildRequires: libcaca-devel} %{!?_without_lirc:BuildRequires: lirc-devel}
We can drop the conditional goop here since it's available everywhere xine-lib is (EPEL9 and Fedora)
%if 0%{!?_without_lirc} export LIRC_CFLAGS="-llirc_client" export LIRC_LIBS="-llirc_client" %endif
Ditto for here too.
%if 0%{?rhel} && 0%{?rhel} < 8 %post # Mime type update-desktop-database &> /dev/null || : update-mime-database %{_datadir}/mime &> /dev/null || : # Icon cache touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun # Mime type update-desktop-database &> /dev/null || : update-mime-database %{_datadir}/mime &> /dev/null || : # Icon cache if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi
%posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif
We can drop all this since this package can't be built on anything older than EPEL 9.
%{!?_without_caca:%{_bindir}/cacaxine}
We can drop the conditional goop here since it's available everywhere xine-lib is (EPEL9 and Fedora)