]> git.pld-linux.org Git - packages/bash.git/commitdiff
- enable tests auto/th/bash-3_2-1
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 29 Oct 2006 20:54:44 +0000 (20:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bash.spec -> 1.164

bash.spec

index 9e1d6ff129d0741a82e1feccacc56bf48feac8b9..a1855a1e77bd1256c31e30464bd3f99858f71e84 100644 (file)
--- a/bash.spec
+++ b/bash.spec
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_without static          # don't build static version
 %bcond_with    bash_history    # build with additional history in /var/log/bash_hist ;)
+%bcond_without tests   # do not perform "make test"
 ##
 %define                _ver            3.2
 %define                _patchlevel     000
@@ -217,6 +218,8 @@ for mode in %{?with_static:static} shared; do
 [ "$mode" = "static" ] && mv -f bash bash.static || :
 done
 
+%{?with_tests:%{__make} tests}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/bin,/etc/skel,%{_datadir}/%{name}}
This page took 0.123534 seconds and 4 git commands to generate.