From ad1f2119b9166fd18210b8bc2f2b3b8689099c2c Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Tue, 6 Sep 2005 01:22:08 +0000 Subject: [PATCH] - Minor spec cleanup - Add COPYING and Artistic --- perl-Net-CIDR-Lite.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/perl-Net-CIDR-Lite.spec b/perl-Net-CIDR-Lite.spec index 4e0c4fe..cc793fa 100644 --- a/perl-Net-CIDR-Lite.spec +++ b/perl-Net-CIDR-Lite.spec @@ -1,13 +1,11 @@ -%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} - Name: perl-Net-CIDR-Lite Version: 0.18 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Net::CIDR::Lite Perl module License: GPL or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Net-CIDR-Lite/ -Source0: http://www.cpan.org/modules/by-module/Net/Net-CIDR-Lite-0.18.tar.gz +Source0: http://www.cpan.org/modules/by-module/Net/Net-CIDR-Lite-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -23,7 +21,6 @@ address ranges. Works for IPv4 and IPv6 addresses. %build %{__perl} Makefile.PL INSTALLDIRS=vendor -%{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile make %{?_smp_mflags} %install @@ -36,7 +33,10 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \; chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/* -%check || : +perldoc -t perlgpl > COPYING +perldoc -t perlartistic > Artistic + +%check make test %clean @@ -44,11 +44,15 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc Changes README +%doc Changes README COPYING Artistic %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Mon Sep 05 2005 Steven Pritchard 0.18-3 +- Minor spec cleanup +- Add COPYING and Artistic + * Mon Aug 01 2005 Steven Pritchard 0.18-2 - Add BR Test::Pod and Test::Pod::Coverage for make test