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
This commit is contained in:
Torsten Gruner 2022-08-26 10:40:04 +00:00 committed by Git OBS Bridge
parent 115e024ef3
commit c5b666ce98
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 26 05:23:10 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>
- Install manual page in the correct man section
-------------------------------------------------------------------
Tue Dec 7 15:27:11 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

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