#2 Correct the static package's dependency
Merged 2 years ago by rjones. Opened 2 years ago by mcoleman.
https://github.com/iammattcoleman/package_hivex.git fix-static-package-dependency  into  rawhide

Correct the static package's dependency
Matt Coleman • 2 years ago  
hivex.spec
file modified
+5 -2
@@ -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 @@

  %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 @@

  

  

  %changelog

+ * Mon Jun 14 2021 Matt Coleman <matt@datto.com> - 1.3.20-7

+ - Correct the static package's dependency

+ 

  * Fri Jun 11 2021 Matt Coleman <matt@datto.com> - 1.3.20-6

  - Move the library into a separate package: hivex-libs

  

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.

It seems the Release bump is missing here?

rebased onto c922560

2 years ago

Thanks for catching that. Fixed in the rebase.

Pull-Request has been merged by rjones

2 years ago
Metadata