X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=perl-Lingua-Stem.spec;h=c4a99128247bb63d33a0d3c7e2cccf6c29f98975;hb=621ba93e580d94487fdb73ed4435840abb84a15d;hp=0df9f69238fd4b8a8d4943c8aad919f32f175e33;hpb=4acdde7858f7ebfef96396b182f3f09fc81110eb;p=packages%2Fperl-Lingua-Stem.git 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