Accepting request 1149823 from home:dimstar:Factory

- Align path for document installation between openSUSE versions.

OBS-URL: https://build.opensuse.org/request/show/1149823
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/bladeRF?expand=0&rev=43
This commit is contained in:
Martin Pluskal 2024-02-23 13:52:54 +00:00 committed by Git OBS Bridge
parent 0ce21168cd
commit a387275688
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 23 11:25:04 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Align path for document installation between openSUSE versions.
-------------------------------------------------------------------
Thu Feb 22 10:25:17 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package bladeRF
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2013-2015 Wojciech Kazubski, wk@ire.pw.edu.pl
#
# All modifications and additions to the file contributed by third parties
@ -102,6 +102,7 @@ cd host
%if 0%{?use_syslog}
-DENABLE_LIBBLADERF_SYSLOG=ON \
%endif
-DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/lib%{name} \
-DBUILD_DOCUMENTATION=ON
%cmake_build
@ -109,10 +110,6 @@ cd host
cd host
%cmake_install
#move docs
mkdir -p %{buildroot}%{_docdir}
mv %{buildroot}/%{_datadir}/doc/libbladeRF %{buildroot}%{_docdir}
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig