From 7548a0cd68c4fd6cd15ce2bc04e3b301a8180be8 Mon Sep 17 00:00:00 2001 From: radek Date: Sun, 28 Nov 2004 01:42:11 +0000 Subject: [PATCH] - release 0.3: updated patch0, bcond_with for make check, s/%%patch/%%patch0/ Changed files: al.spec -> 1.6 --- al.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/al.spec b/al.spec index 90fb383..285fece 100644 --- a/al.spec +++ b/al.spec @@ -1,8 +1,12 @@ +# +# Conditional build: +%bcond_with tests # perform "make check" (segfaults after tests) +# Summary: OSSP al - Assembly Line Summary(pl): OSSP al - biblioteka Assembly Line ("linii monta¿owej") Name: al Version: 0.9.1 -Release: 0.2 +Release: 0.3 Epoch: 0 License: distributable (see README) Group: Libraries @@ -61,7 +65,7 @@ OSSP al - biblioteka Assembly Line - biblioteki statyczne. %prep %setup -q -%patch -p1 +%patch0 -p1 %build mv -f aclocal.m4 acinclude.m4 @@ -71,7 +75,8 @@ mv -f aclocal.m4 acinclude.m4 %configure \ --with-ex %{__make} -#%%{__make} check //segfaults after passing tests + +%{?with_tests:%{__make} check} %install rm -rf $RPM_BUILD_ROOT -- 2.44.0