Use the correct package names for the triggers.

Resolves: #2030671
This commit is contained in:
Nick Clifton 2022-02-17 13:26:34 +00:00
parent 33b2a7ca43
commit 2bebe738a3

View File

@ -6,7 +6,7 @@
Summary: Red Hat specific rpm configuration files Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config Name: redhat-rpm-config
Version: 193 Version: 194
Release: 1%{?dist} Release: 1%{?dist}
# No version specified. # No version specified.
License: GPL+ License: GPL+
@ -167,7 +167,7 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
# This trigger is used to decide which version of the annobin plugin for gcc # This trigger is used to decide which version of the annobin plugin for gcc
# should be used. See comments in the script for full details. # should be used. See comments in the script for full details.
%triggerin -- annobin-plugin-gcc gcc %triggerin -- annobin gcc-plugin-annobin
%{rrcdir}/redhat-annobin-plugin-select.sh %{rrcdir}/redhat-annobin-plugin-select.sh
%end %end
@ -175,7 +175,7 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
# over to the gcc generated version of the plugin. It does not matter if # over to the gcc generated version of the plugin. It does not matter if
# gcc is uninstalled, since if that happens the plugin cannot be used. # gcc is uninstalled, since if that happens the plugin cannot be used.
%triggerpostun -- annobin-plugin-gcc %triggerpostun -- annobin
%{rrcdir}/redhat-annobin-plugin-select.sh %{rrcdir}/redhat-annobin-plugin-select.sh
%end %end
@ -213,6 +213,10 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
%doc buildflags.md %doc buildflags.md
%changelog %changelog
* Thu Feb 17 2022 Nick Clifton <nickc@redhat.com> - 194-1
- Use the correct package names for the triggers.
- Resolves: rhbz#2030671
* Tue Feb 15 2022 Nick Clifton <nickc@redhat.com> - 193-1 * Tue Feb 15 2022 Nick Clifton <nickc@redhat.com> - 193-1
- Fix bugs in plugin selection script. - Fix bugs in plugin selection script.
- Resolves: rhbz#2030671 - Resolves: rhbz#2030671