]> git.pld-linux.org Git - packages/file.git/commitdiff
- run tests
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 30 Aug 2008 00:50:54 +0000 (00:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    file.spec -> 1.149

file.spec

index 12e6708ea665e942489d21e1158a59a8643335da..7f7cf02f04140b29e248d6feac144738e3998285 100644 (file)
--- a/file.spec
+++ b/file.spec
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_without python          # don't build python-magic module
 %bcond_without static_libs     # don't build static libraries
+%bcond_without tests
 #
 Summary:       A utility for determining file types
 Summary(cs.UTF-8):     Program pro zjišťování typu souborů
@@ -272,6 +273,10 @@ python setup.py build
 cd ..
 %endif
 
+%if %{with tests}
+%{__make} check
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/%{_lib}
This page took 0.171154 seconds and 4 git commands to generate.