From 2a644cdee42066841eb1dabebf32a060accb5f9f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 29 Jun 2022 17:38:18 +0100 Subject: [PATCH] Spec File: Use the %%dir directive in the %%files section to ensure that plugin directories are useable. (#2080454) Spec File: Remove bogus Provides from annobin-docs subpackage. --- annobin.spec | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/annobin.spec b/annobin.spec index 7215442..d0bd158 100644 --- a/annobin.spec +++ b/annobin.spec @@ -2,7 +2,7 @@ Name: annobin Summary: Annotate and examine compiled binary files Version: 10.76 -Release: 1%{?dist} +Release: 3%{?dist} License: GPLv3+ URL: https://sourceware.org/annobin/ # Maintainer: nickc@redhat.com @@ -126,9 +126,6 @@ annotated files and reports on any missing security options. %package docs Summary: Documentation and shell scripts for use with annobin BuildArch: noarch -# annobin renamed to annobin-doc in 9.66-1 -Provides: %{name} = %{version}-%{release} -Obsoletes: %{name} < %{version}-%{release} # The documentation uses pod2man... BuildRequires: perl-interpreter perl-podlators gawk make sharutils @@ -455,16 +452,19 @@ fi %if %{with llvmplugin} %files plugin-llvm +%dir %{llvm_plugin_dir} %{llvm_plugin_dir}/annobin-for-llvm.so %endif %if %{with clangplugin} %files plugin-clang +%dir %{clang_plugin_dir} %{clang_plugin_dir}/annobin-for-clang.so %endif %if %{with gccplugin} %files plugin-gcc +%dir %{ANNOBIN_GCC_PLUGIN_DIR} %{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so %{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0 %{ANNOBIN_GCC_PLUGIN_DIR}/annobin.so.0.0.0 @@ -483,7 +483,14 @@ fi #--------------------------------------------------------------------------------- %changelog -* Tuw Jun 14 2022 Nick Clifton - 10.76-1 +* Wed Jun 29 2022 Nick Clifton - 10.76-3 +- Spec File: Use the %%dir directive in the %%files section to ensure that +- plugin directories are useable. (#2080454) + +* Fri Jun 24 2022 Nick Clifton - 10.76-2 +- Spec File: Remove bogus Provides from annobin-docs subpackage. + +* Tue Jun 14 2022 Nick Clifton - 10.76-1 - Annocheck: Check build-id of separate debuginfo files. - Annocheck: Add GAPS test replacing --ignore-gaps.