]> git.pld-linux.org Git - packages/perl-Lingua-Stem.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-Lingua-Stem.spec -> 1.14

perl-Lingua-Stem.spec

index 0df9f69238fd4b8a8d4943c8aad919f32f175e33..c4a99128247bb63d33a0d3c7e2cccf6c29f98975 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    Lingua
@@ -14,7 +14,7 @@ License:      GPL or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: ca99b08aa82fcbcd749d4903b205fcec
-%if 0%{!?_without_tests:1}
+%if %{with tests}
 BuildRequires: perl-Lingua-GL-Stemmer
 BuildRequires: perl-Lingua-PT-Stemmer
 BuildRequires: perl-Lingua-Stem-It
@@ -44,7 +44,8 @@ lokalizacji.
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
-%{!?_without_tests:%{__make} test}
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.076735 seconds and 4 git commands to generate.