From c5b666ce986065508e0f6949fc9d309be0c403b8ee5367dc7f4df146ae38a1d2 Mon Sep 17 00:00:00 2001 From: Torsten Gruner Date: Fri, 26 Aug 2022 10:40:04 +0000 Subject: [PATCH] Accepting request 999330 from home:kukuk:branches:devel:libraries:c_c++ - Install manual page in the correct man section OBS-URL: https://build.opensuse.org/request/show/999330 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcbor?expand=0&rev=16 --- libcbor.changes | 5 +++++ libcbor.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libcbor.changes b/libcbor.changes index 30ed901..e0865a3 100644 --- a/libcbor.changes +++ b/libcbor.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 26 05:23:10 UTC 2022 - Thorsten Kukuk + +- Install manual page in the correct man section + ------------------------------------------------------------------- Tue Dec 7 15:27:11 UTC 2021 - Dirk Müller diff --git a/libcbor.spec b/libcbor.spec index 5bf7eca..53ed3a0 100644 --- a/libcbor.spec +++ b/libcbor.spec @@ -1,7 +1,7 @@ # # spec file for package libcbor-doc # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -87,8 +87,9 @@ sed -i 's|${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig|${CMAKE_INST %install %if "%{flavor}" == "doc" -mkdir -p %{buildroot}%{_mandir}/man1 -cp doc/build/man/* %{buildroot}%{_mandir}/man1 +mkdir -p %{buildroot}%{_mandir}/man3 +cp doc/build/man/*.3 %{buildroot}%{_mandir}/man3 + %else %cmake_install