From 3377b66eb0ca30bdd43f6675f1560ae8a64b937b Mon Sep 17 00:00:00 2001 From: Christian Tosta <7252968+christiantosta@users.noreply.github.com> Date: Tue, 15 Jul 2025 04:13:50 -0300 Subject: [PATCH] Fix documentation path --- CMakeLists.txt | 2 +- packaging/pkg.spec.in | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 99cd253..288f1cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -132,7 +132,7 @@ install( ${CMAKE_INSTALL_PREFIX}/${CACERT_INSTALL_DIR} ) -set(DOCS_INSTALL_DIR "share/doc/${PROJECT}") +set(DOCS_INSTALL_DIR "share/doc/${PROJECT_NAME}") install( FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE diff --git a/packaging/pkg.spec.in b/packaging/pkg.spec.in index f41cc68..ef3d70f 100644 --- a/packaging/pkg.spec.in +++ b/packaging/pkg.spec.in @@ -43,9 +43,9 @@ chain, supervise and audit the processes. %files -%doc %{_datadir}/doc/*.pdf -%doc %{_datadir}/doc/README.md -%license %{_datadir}/doc/LICENSE +%doc %{_datadir}/doc/%{name}/*.pdf +%doc %{_datadir}/doc/%{name}/README.md +%license %{_datadir}/doc/%{name}/LICENSE %{_datadir}/pki/ca-trust-source/anchors/isrg-root-x2.crt %{_datadir}/pki/ca-trust-source/anchors/lets-encrypt-ca-bundle.crt %{_datadir}/pki/ca-trust-source/anchors/icp-brasil-ca-bundle.crt