]> git.pld-linux.org Git - packages/perl-I18N-Charset.git/blobdiff - perl-I18N-Charset.spec
- ported to new bconds
[packages/perl-I18N-Charset.git] / perl-I18N-Charset.spec
index 686d381c558a304cab4c09480675dfd692b2e54e..b9226c355d1ca8024165327e461c38af450af4a0 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    I18N
@@ -15,7 +15,7 @@ Group:                Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 8ae515dea452c64f2820bcead466265f
 BuildRequires: perl-devel >= 5.6
-%if %{?_without_tests:0}%{!?_without_tests:1}
+%if %{with tests}
 BuildRequires: perl-File-Which
 BuildRequires: perl-IO-String
 BuildRequires: perl-Test-Simple
@@ -53,7 +53,7 @@ konwersji dokumentu do Unikodu.
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.046634 seconds and 4 git commands to generate.