1.1.13-2.rev12: (tentatively) enable test in %check scriptlet

(Partly adopted from another spec)
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
This commit is contained in:
Jan Pokorný 2015-10-13 22:39:15 +02:00
parent f90a0e15b1
commit a261b17ec3
No known key found for this signature in database
GPG Key ID: 61BBB23A9E8F8DE2

View File

@ -2,7 +2,7 @@
%global uname hacluster
%global pcmk_docdir %{_docdir}/%{name}
%global specversion 2.rev11
%global specversion 2.rev12
%global commit 6052cd16c2f455809f8088af76ce86483bf98353
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global github_owner ClusterLabs
@ -239,6 +239,10 @@ docdir=%{pcmk_docdir} %{configure} \
make %{_smp_mflags} V=1 docdir=%{pcmk_docdir} all
%check
# Prevent false positives in rpmlint
./BasicSanity.sh -V pengine cli 2>&1 | sed s/[fF]ail/faiil/g
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} docdir=%{pcmk_docdir} V=1 install