From 2b1b8ea00ab4271fcd1a9750bb48143ce1caee06 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Tue, 25 Jul 2023 22:13:31 -0500 Subject: [PATCH] Update to 0.5.2 - Use SPDX license identifiers - Fix documentation build to be properly be noarch Signed-off-by: Michel Alexandre Salim --- libkdumpfile.spec | 14 +++++++++++--- sources | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/libkdumpfile.spec b/libkdumpfile.spec index 52fb442..9e7a52f 100644 --- a/libkdumpfile.spec +++ b/libkdumpfile.spec @@ -2,11 +2,11 @@ %global addrlibsover 3 Name: libkdumpfile -Version: 0.5.1 +Version: 0.5.2 Release: %autorelease Summary: Kernel coredump file access -License: LGPLv3+ or GPLv2+ +License: LGPL-3.0-or-later OR GPL-2.0-or-later URL: https://github.com/ptesarik/libkdumpfile Source: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz @@ -37,6 +37,14 @@ developing applications that use %{name}. %package doc Summary: Documentation for %{name} +BuildArch: noarch +# keep this until F38 is EOL (so Fedora < 41) as 0.5.1 was not noarch due to +# doxygen being run *after* rather than *before* build so it indexes "built" +# Python sources too +# likewise, EPEL 8 and 9 are affected +%if (0%{?fedora} && 0%{?fedora} < 41) || (0%{?rhel} && 0%{?rhel} < 10) +Obsoletes: %{name}-doc < 0.5.2-1 +%endif %description doc %{_description} @@ -69,8 +77,8 @@ sed -e "\|#!/usr/bin/env python|d" -i python/*/*.py %build %configure -%make_build %{__make} doxygen-doc +%make_build %install diff --git a/sources b/sources index 15e0da3..62469f0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libkdumpfile-0.5.1.tar.gz) = 530db55db52d38a5584d74c03dbea040a145fefc9a1e94808e605ad3f7dfc1378fc3b703f0a1cb88e8fa3f374ee8616a8cf49c42ea7162d61f3ace07dba94dc1 +SHA512 (libkdumpfile-0.5.2.tar.gz) = 168d246dc69185418329ce8cca0f00a5d1dffb25b6e216262077ce54c41f356c07b4619f1e2ea6909a5673c422bacb5ed06483cf8e622adbf7ea2b4a904f2845