]> git.pld-linux.org Git - packages/al.git/blobdiff - al.spec
- release 0.3: updated patch0, bcond_with for make check, s/%%patch/%%patch0/
[packages/al.git] / al.spec
diff --git a/al.spec b/al.spec
index 90fb383050caaa26a766bfa6943ba4b68b561555..285fece330b1ca61d8a94ef5d36d398a89104b00 100644 (file)
--- 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
This page took 0.076683 seconds and 4 git commands to generate.