Skip to content

Add man page for cpa_sample_code #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ColinIanKing
Copy link
Contributor

The manual is missing for this binary and this is required for Debian packages. Add it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
@gcabiddu gcabiddu requested a review from fionatrahe April 29, 2025 12:27
@@ -322,7 +322,7 @@ if SERVICE_AC
fi
endif

dist_man_MANS = qat_init.sh.8 qatmgr.8
dist_man_MANS = qat_init.sh.8 qatmgr.8 cpa_sample_code.7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't checked the creation of the Fedora RPM, but I think this will require a small change in the spec file to include this file (otherwise the RPM creation will be broken).

%files tests

%files         tests
...
%{_mandir}/man7/cpa_sample_code.7*

Copy link
Contributor

@gcabiddu gcabiddu May 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ColinIanKing, just confirming that this change is breaking the build of the rpm on Fedora. This can be tested with make rpm.

Can you just add the following change to this PR?

diff --git a/qatlib.spec.in b/qatlib.spec.in
index c5c3e9f29f7c..531f14ccda35 100644
--- a/qatlib.spec.in
+++ b/qatlib.spec.in
@@ -123,6 +123,7 @@ exit 0
 %{_datadir}/qat/calgary
 %{_datadir}/qat/calgary32
 %{_datadir}/qat/canterbury
+%{_mandir}/man7/cpa_sample_code.7*

 %files         service
 %{_sbindir}/qatmgr

Don't worry about updating the changelog or bumping up the build number on the Release filed.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants