SHA256
1
0
forked from pool/pam_wrapper

Build documentation in the build stage

OBS-URL: https://build.opensuse.org/package/show/devel:tools/pam_wrapper?expand=0&rev=20
This commit is contained in:
Andreas Schneider 2019-07-16 09:43:19 +00:00 committed by Git OBS Bridge
parent f073dea44b
commit 15484c2d3a
2 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 16 09:42:49 UTC 2019 - Andreas Schneider <asn@cryptomilk.org>
- Build documentation in the build stage
- Use ctest macro
-------------------------------------------------------------------
Wed Sep 26 12:56:51 UTC 2018 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package pam_wrapper
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -115,19 +115,19 @@ the header files for libpamtest
%setup -q
%build
# CMAKE_SKIP_RPATH:BOOL=OFF is required to run the tests!
%cmake \
-DUNIT_TESTING=ON
-DUNIT_TESTING=ON \
-DCMAKE_SKIP_RPATH:BOOL=OFF
make %{?_smp_mflags} VERBOSE=1
make %{?_smp_mflags} doc
%install
%cmake_install
%check
pushd build
make %{?_smp_mflags} test || cat $(find Testing -name "*.log")
make %{?_smp_mflags} doc
popd
%ctest
%post -p /sbin/ldconfig