]> git.pld-linux.org Git - packages/perl-Locale-Maketext-Fuzzy.git/blobdiff - perl-Locale-Maketext-Fuzzy.spec
- ported to new bconds
[packages/perl-Locale-Maketext-Fuzzy.git] / perl-Locale-Maketext-Fuzzy.spec
index 4e4dfe64f2292ed63d009989684e01cb3870a21b..3f9aa3602f4edede521700c5518b17a0962d858e 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
@@ -15,7 +15,7 @@ Group:                Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 0425610d448900a774ed253eb678c559
 BuildRequires: perl-devel >= 5.6
-%if %{?_without_tests:0}%{!?_without_tests:1}
+%if %{with tests}
 BuildRequires: perl-Locale-Maketext
 BuildRequires: perl-Test-Simple
 %endif
@@ -45,7 +45,7 @@ found" do "[_1]: command not found".
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.087039 seconds and 4 git commands to generate.