From c922560632564f59eeefb71f9a50c67ba6cd7046 Mon Sep 17 00:00:00 2001 From: Matt Coleman Date: Mon, 14 Jun 2021 14:31:35 -0400 Subject: [PATCH] Correct the static package's dependency The static package should depend on the devel package to ensure that the headers required to use it are installed. It should not depend on the dynamically-linked library. --- hivex.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hivex.spec b/hivex.spec index 4bd6718..bfebd5e 100644 --- a/hivex.spec +++ b/hivex.spec @@ -10,7 +10,7 @@ Name: hivex Version: 1.3.20 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Read and write Windows Registry binary hive files License: LGPLv2 @@ -128,7 +128,7 @@ for %{name}. %if !0%{?rhel} %package static Summary: Statically linked library for %{name} -Requires: %{name}-libs = %{version}-%{release} +Requires: %{name}-devel = %{version}-%{release} %description static @@ -323,6 +323,9 @@ fi %changelog +* Mon Jun 14 2021 Matt Coleman - 1.3.20-7 +- Correct the static package's dependency + * Fri Jun 11 2021 Matt Coleman - 1.3.20-6 - Move the library into a separate package: hivex-libs