]> git.pld-linux.org Git - packages/bash.git/blobdiff - bash.spec
- enable tests
[packages/bash.git] / 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.028742 seconds and 4 git commands to generate.