From 8741309e34f7fb65f744d610a4287b1243d668c7 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Fri, 5 Feb 2010 22:45:05 +0000 Subject: [PATCH] - add perl_default_filter (and drop custom filtering scheme) - PERL_INSTALL_ROOT => DESTDIR in install --- perl-MooseX-Types.spec | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/perl-MooseX-Types.spec b/perl-MooseX-Types.spec index 643a616..2c2a58f 100644 --- a/perl-MooseX-Types.spec +++ b/perl-MooseX-Types.spec @@ -1,6 +1,6 @@ Name: perl-MooseX-Types Version: 0.21 -Release: 1%{?dist} +Release: 2%{?dist} # see Makefile.PL, lib/MooseX/Types.pm License: GPL+ or Artistic Group: Development/Libraries @@ -38,6 +38,8 @@ Requires: perl(Sub::Install) >= 0.924 Requires: perl(Sub::Name) Requires: perl(namespace::clean) >= 0.08 +%{?perl_default_filter} + %description The types provided with the Moose manpage are by design global. This package helps you to organise and selectively import your own and the @@ -54,23 +56,6 @@ easier to use Moose types in your code. %prep %setup -q -n MooseX-Types-%{version} -# make sure doc/tests don't generate provides -cat << \EOF > %{name}-prov -#!/bin/sh -%{__perl_provides} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'` -EOF - -%define __perl_provides %{_builddir}/MooseX-Types-%{version}/%{name}-prov -chmod +x %{__perl_provides} - -cat << \EOF > %{name}-req -#!/bin/sh -%{__perl_requires} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'` -EOF - -%define __perl_requires %{_builddir}/MooseX-Types-%{version}/%{name}-req -chmod +x %{__perl_requires} - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -97,6 +82,10 @@ rm -rf %{buildroot} %{_mandir}/man3/*.3* %changelog +* Fri Feb 05 2010 Chris Weyl 0.21-2 +- add perl_default_filter (and drop custom filtering scheme) +- PERL_INSTALL_ROOT => DESTDIR in install + * Wed Jan 20 2010 Chris Weyl 0.21-1 - auto-update to 0.21 (by cpan-spec-update 0.01) - altered br on perl(Moose) (0.61 => 0.93)