#
# 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
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
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make}
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT