Address rpminspect finding and don't require Devhelp on RHEL 10

Resolves: RHEL-33609
This commit is contained in:
Tomas Popela 2024-06-06 14:53:45 +02:00
parent 76a53c8ca5
commit 11ec8bc393

View File

@ -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 <tpopela@redhat.com> - 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 <amigadave@amigadave.com> - 0.56.17-1
- Update to 0.56.17