]> git.pld-linux.org Git - packages/tzdata.git/commitdiff
- added tests bcond
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 1 Nov 2007 20:38:11 +0000 (20:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tzdata.spec -> 1.28

tzdata.spec

index 9a98cfd6df291ee1387e9ba37aed2c5bdfb759c9..c95d6c744c4bb3aaa669ff751c6df7a6b99eafdc 100644 (file)
@@ -1,5 +1,6 @@
 %define        _tzdata_ver     2007i
 %define        _tzcode_ver     2007h
+%bcond_without tests
 Summary:       Timezone data
 Summary(pl.UTF-8):     Dane o strefach czasowych
 Name:          tzdata
@@ -74,11 +75,13 @@ install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
 
 %{__make} install
 
+%if %{with tests}
 : ====================TESTING=========================
 %{__make} check \
        CC="%{__cc}" \
        CFLAGS="%{rpmcflags} %{rpmldflags}"
 : ====================TESTING END=====================
+%endif
 
 
 # glibc.spec didn't keep it. so won't here either.
This page took 0.031075 seconds and 4 git commands to generate.