]> git.pld-linux.org Git - packages/perl-Sys-Hostname-FQDN.git/commitdiff
- new bconds
authorankry <ankry@pld-linux.org>
Tue, 27 Apr 2004 15:26:27 +0000 (15:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Sys-Hostname-FQDN.spec -> 1.3

perl-Sys-Hostname-FQDN.spec

index d240f7b52651d56622b16eb77c746b32df535d9a..9bd6f0a4f1e49261e1424b41ba3123d9a22dd156 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests   # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Sys
@@ -44,10 +44,10 @@ funkcje biblioteki C inet_ntoa i inet_aton.
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
 
-%{__make} OPTIMIZE="%{rpmcflags}"
-
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.027371 seconds and 4 git commands to generate.