]> git.pld-linux.org Git - packages/perl-Image-Xbm.git/commitdiff
- ported to new bconds
authorankry <ankry@pld-linux.org>
Tue, 20 Apr 2004 23:30:13 +0000 (23:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Image-Xbm.spec -> 1.17

perl-Image-Xbm.spec

index 1a212dbb5a575beb8997cac5903651fe9f4647e6..9b110f5e013e748638c10010d7a1481dbfff08b1 100644 (file)
@@ -1,6 +1,7 @@
 #
 # 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    Image
 %define        pnam    Xbm
@@ -14,7 +15,7 @@ Group:                Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 3a6cde06d6de70ee98fb1849ba18b385
 BuildRequires: perl-devel >= 5.6
-%if %{?_without_tests:0}%{!?_without_tests:1}
+%if %{with tests}
 BuildRequires: perl-Image-Base >= 1.06
 %endif
 BuildRequires: rpm-perlprov >= 4.1-13
@@ -39,7 +40,7 @@ dostarczaj
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.106133 seconds and 4 git commands to generate.