]> git.pld-linux.org Git - packages/perl-File-MMagic.git/blobdiff - perl-File-MMagic.spec
- new style bconds
[packages/perl-File-MMagic.git] / perl-File-MMagic.spec
index b22d94da7550798d417354e542997febbfafcf40..055522ec8020fd5d08787a8dd2da765ab17e224c 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    File
@@ -20,12 +20,12 @@ Summary(ru):        
 Summary(sv):   En Perl-modul som gissar filtyper utgående från deras innehåll
 Summary(zh_CN):        Ò»¸ö¸ù¾ÄÚȲ²âÎļþÀàÐ͵ĠPerl Ä£¿é¡£
 Name:          perl-File-MMagic
-Version:       1.19
+Version:       1.22
 Release:       1
 License:       GPL
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 217dfb45125e7bb290bccf63383df2c4
+# Source0-md5: de4fc586de7629483196bea11c898bfc
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildRequires: perl-devel >= 5.6.1
 BuildArch:     noarch
@@ -95,7 +95,7 @@ fungerar.
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.058329 seconds and 4 git commands to generate.