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:
parent
f073dea44b
commit
15484c2d3a
@ -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>
|
Wed Sep 26 12:56:51 UTC 2018 - Andreas Schneider <asn@cryptomilk.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pam_wrapper
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -115,19 +115,19 @@ the header files for libpamtest
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# CMAKE_SKIP_RPATH:BOOL=OFF is required to run the tests!
|
||||||
%cmake \
|
%cmake \
|
||||||
-DUNIT_TESTING=ON
|
-DUNIT_TESTING=ON \
|
||||||
|
-DCMAKE_SKIP_RPATH:BOOL=OFF
|
||||||
|
|
||||||
make %{?_smp_mflags} VERBOSE=1
|
make %{?_smp_mflags} VERBOSE=1
|
||||||
|
make %{?_smp_mflags} doc
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd build
|
%ctest
|
||||||
make %{?_smp_mflags} test || cat $(find Testing -name "*.log")
|
|
||||||
make %{?_smp_mflags} doc
|
|
||||||
popd
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user