Update to 0.5.2

- Use SPDX license identifiers
- Fix documentation build to be properly be noarch

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
This commit is contained in:
Michel Alexandre Salim 2023-07-25 22:13:31 -05:00
parent b35b9ed395
commit 2b1b8ea00a
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2
2 changed files with 12 additions and 4 deletions

View File

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

View File

@ -1 +1 @@
SHA512 (libkdumpfile-0.5.1.tar.gz) = 530db55db52d38a5584d74c03dbea040a145fefc9a1e94808e605ad3f7dfc1378fc3b703f0a1cb88e8fa3f374ee8616a8cf49c42ea7162d61f3ace07dba94dc1
SHA512 (libkdumpfile-0.5.2.tar.gz) = 168d246dc69185418329ce8cca0f00a5d1dffb25b6e216262077ce54c41f356c07b4619f1e2ea6909a5673c422bacb5ed06483cf8e622adbf7ea2b4a904f2845