From: ankry Date: Tue, 20 Apr 2004 23:59:32 +0000 (+0000) Subject: - ported to new bconds X-Git-Tag: auto/ac/perl-Lingua-Stem-0_70-1~5 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fperl-Lingua-Stem.git;a=commitdiff_plain;h=621ba93e580d94487fdb73ed4435840abb84a15d - ported to new bconds Changed files: perl-Lingua-Stem.spec -> 1.14 --- diff --git a/perl-Lingua-Stem.spec b/perl-Lingua-Stem.spec index 0df9f69..c4a9912 100644 --- a/perl-Lingua-Stem.spec +++ b/perl-Lingua-Stem.spec @@ -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