From 51a70055174bf9e3ed949cb4fb08284203c85037 Mon Sep 17 00:00:00 2001 From: ankry Date: Mon, 16 Sep 2002 11:37:33 +0000 Subject: [PATCH] - fixed file list, moved changes to %%docdir, rediffed patch0 - added tests on bcond (but currently no-op) - release 2 Changed files: perl-Text-PDF.spec -> 1.30 --- perl-Text-PDF.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/perl-Text-PDF.spec b/perl-Text-PDF.spec index 8ae806b..b4107f4 100644 --- a/perl-Text-PDF.spec +++ b/perl-Text-PDF.spec @@ -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/* -- 2.44.0