From 757c3b03f55f09d841fba94ed2eafefd2fcc8f6c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 3 Oct 2017 15:48:09 +0200 Subject: [PATCH] cleanup spec Signed-off-by: Igor Gnatenko --- annobin.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/annobin.spec b/annobin.spec index 5613f68..e94fbad 100644 --- a/annobin.spec +++ b/annobin.spec @@ -47,15 +47,15 @@ touch configure */configure Makefile.in */Makefile.in %build %configure --quiet -make %{?_smp_mflags} - -%if %{with tests} -make check -%endif +%make_build %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT +%make_install + +%if %{with tests} +%check +make check +%endif %files %{ANNOBIN_PLUGIN_DIR}