diff --git a/vala.spec b/vala.spec index 15e50cb..7263e33 100644 --- a/vala.spec +++ b/vala.spec @@ -3,7 +3,7 @@ Name: vala Version: 0.56.17 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A modern programming language for GNOME # Most files are LGPLv2.1+, curses.vapi is 2-clause BSD @@ -79,7 +79,12 @@ necessary for using the %{name} compiler. Summary: Documentation for %{name} BuildArch: noarch Requires: %{name} = %{version}-%{release} +# Don't require Devhelp on RHEL 10+ as it won't be available there, +# but continue to package the documentation in case of it gets packaged +# in EPEL +%if ! 0%{?rhel} || 0%{?rhel} < 10 Requires: devhelp +%endif %description doc Vala is a new programming language that aims to bring modern programming @@ -93,6 +98,7 @@ This package contains documentation in a devhelp HTML book. %package -n valadoc Summary: Vala documentation generator Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: libvala%{?_isa} = %{version}-%{release} %description -n valadoc Valadoc is a documentation generator for generating API documentation from Vala @@ -195,6 +201,10 @@ export -n VALAFLAGS %changelog +* Thu Jun 06 2024 Tomas Popela - 0.56.17-2 +- Address rpminspect findings and also don't require Devhelp for help as it + won't be in RHEL 10. + * Fri Apr 19 2024 David King - 0.56.17-1 - Update to 0.56.17