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

perl-Locale-Maketext-Lexicon.spec

index 5e5c681db995f1bd3e2fc350919c42bebb5f9474..8c2bf8e3c8d9c66674e1ce0c8525b071b3077098 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    Locale
@@ -17,7 +17,7 @@ Source0:      http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version
 # Source0-md5: 88487388e3e24d5eb88b2ce253dbd0dc
 BuildRequires: perl-devel >= 5.6
 BuildRequires: rpm-perlprov >= 4.1-13
-%if %{?_without_tests:0}%{!?_without_tests:1}
+%if %{with tests}
 BuildRequires: perl-Locale-Maketext
 BuildRequires: perl-Regexp-Common
 BuildRequires: perl-Test-Simple
@@ -44,7 +44,7 @@ itp.
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.027695 seconds and 4 git commands to generate.