]> git.pld-linux.org Git - packages/perl-Text-PDF.git/blobdiff - perl-Text-PDF.spec
- fixed file list, moved changes to %%docdir, rediffed patch0
[packages/perl-Text-PDF.git] / perl-Text-PDF.spec
index 8ae806b8a6845c581b05eb00798d5600e3b52d3b..b4107f4834b302472a67edf24f67562253b516d3 100644 (file)
@@ -1,11 +1,15 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
-%define        pdir    Text
-%define        pnam    PDF
+%define                pdir    Text
+%define                pnam    PDF
 Summary:       Text::PDF perl module
 Summary(pl):   Modu³ perla Text::PDF
 Name:          perl-Text-PDF
 Version:       0.23
-Release:       1
+Release:       2
 License:       GPL
 Group:         Development/Languages/Perl
 Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
@@ -30,6 +34,7 @@ Text::PDF umo
 %build
 perl Makefile.PL
 %{__make}
+%{!?_without_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -41,7 +46,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *txt
+%doc *txt lib/Text/PDF/changes
 %attr(755,root,root) %{_bindir}/*
-%{perl_sitelib}/Text/PDF
+%dir %{perl_sitelib}/Text/PDF
+%{perl_sitelib}/Text/PDF/*.pm
 %{_mandir}/man3/*
This page took 0.543524 seconds and 4 git commands to generate.