From 9162125da9e10a497e42edb8d791dea49acab02a Mon Sep 17 00:00:00 2001 From: Matt Coleman Date: Fri, 11 Jun 2021 19:30:49 +0000 Subject: [PATCH] Use %license for the LICENSE file From the packaging guidelines: > If the source package includes the text of the license(s) in its own > file, then that file, containing the text of the license(s) for the > package must be included in %license. https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text --- hivex.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/hivex.spec b/hivex.spec index adc6098..49ad57a 100644 --- a/hivex.spec +++ b/hivex.spec @@ -10,7 +10,7 @@ Name: hivex Version: 1.3.20 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Read and write Windows Registry binary hive files License: LGPLv2 @@ -237,7 +237,8 @@ if ! make check -k; then fi %files -f %{name}.lang -%doc README LICENSE +%doc README +%license LICENSE %{_bindir}/hivexget %{_bindir}/hivexml %{_bindir}/hivexsh @@ -248,7 +249,7 @@ fi %files devel -%doc LICENSE +%license LICENSE %{_libdir}/libhivex.so %{_mandir}/man3/hivex.3* %{_includedir}/hivex.h @@ -257,7 +258,7 @@ fi %if !0%{?rhel} %files static -%doc LICENSE +%license LICENSE %{_libdir}/libhivex.a %endif @@ -302,6 +303,9 @@ fi %changelog +* Fri Jun 11 2021 Matt Coleman - 1.3.20-5 +- Mark LICENSE as a license file + * Fri Jun 04 2021 Python Maint - 1.3.20-4 - Rebuilt for Python 3.10