]> git.pld-linux.org Git - packages/perl-File-MMagic.git/blobdiff - perl-File-MMagic.spec
- added tests on bcond
[packages/perl-File-MMagic.git] / perl-File-MMagic.spec
index 0dd9dcc234b0d94d42757113953054b47af3afa6..60df22e716228a5a3dd49e06f41c44eccac48912 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    File
 %define                pnam    MMagic
@@ -16,8 +20,8 @@ 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.15
-Release:       2
+Version:       1.16
+Release:       1
 License:       GPL
 Group:         Development/Languages/Perl
 Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
@@ -89,6 +93,7 @@ fungerar.
 %build
 perl Makefile.PL
 %{__make}
+%{!?_without_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -102,3 +107,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.en ChangeLog
 %{perl_sitelib}/File/*
+%{_mandir}/man3/*
This page took 0.160686 seconds and 4 git commands to generate.