From 98e3e441f6685fd88cdde32a654f39e41644bdc8 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 26 Nov 2025 15:50:38 -0800 Subject: [PATCH] fix(qdl): package manpages (#7709) (#7710) (cherry picked from commit 11260eb90f9656706b8abd18c32627bd75578988) Co-authored-by: metcya <134973769+metcya@users.noreply.github.com> --- anda/tools/qdl/qdl.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/anda/tools/qdl/qdl.spec b/anda/tools/qdl/qdl.spec index f737149eb3..38978c0836 100644 --- a/anda/tools/qdl/qdl.spec +++ b/anda/tools/qdl/qdl.spec @@ -4,13 +4,14 @@ Name: qdl Version: 0^%commit_date.%shortcommit -Release: 1%?dist +Release: 2%?dist Summary: This tool communicates with USB devices of id 05c6:9008 to upload a flash loader and use this to flash images URL: https://github.com/linux-msm/qdl Source0: %{url}/archive/%{commit}/qdl-%{commit}.tar.gz License: BSD-3-Clause BuildRequires: make BuildRequires: gcc +BuildRequires: help2man BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libusb-1.0) @@ -24,19 +25,31 @@ Packager: Owen Zimmerman %build %make_build +make manpages %install install -Dm755 qdl %{buildroot}%{_bindir}/qdl install -Dm755 qdl %{buildroot}%{_bindir}/qdl-ramdump install -Dm755 qdl %{buildroot}%{_bindir}/ks +mkdir -p %{buildroot}%{_mandir}/man1 +install -Dm644 qdl.1 %{buildroot}%{_mandir}/man1/qdl.1 +install -Dm644 qdl-ramdump.1 %{buildroot}%{_mandir}/man1/qdl-ramdump.1 +install -Dm644 ks.1 %{buildroot}%{_mandir}/man1/ks.1 %files %{_bindir}/qdl %{_bindir}/qdl-ramdump %{_bindir}/ks +%{_mandir}/man1/qdl.1.* +%{_mandir}/man1/qdl-ramdump.1.* +%{_mandir}/man1/ks.1.* + %license LICENSE %doc README.md %changelog +* Wed Nov 26 2025 metcya +- Package manpages + * Sun Nov 23 2025 Owen-sz - Initial commit