- update filtering

- auto-update to 1.0006 (by cpan-spec-update 0.01)
- added a new req on perl(Carp) (version 0)
- added a new req on perl(Class::C3) (version 0.20)
- added a new req on perl(Class::Inspector) (version 0)
- added a new req on perl(MRO::Compat) (version 0)
epel9
Chris Weyl 16 years ago
parent 8f3a1acfdc
commit d3a26a43c6

@ -1 +1 @@
Class-C3-Componentised-1.0005.tar.gz
Class-C3-Componentised-1.0006.tar.gz

@ -1,6 +1,6 @@
Name: perl-Class-C3-Componentised
Version: 1.0005
Release: 2%{?dist}
Version: 1.0006
Release: 1%{?dist}
Summary: Load mix-ins or components to your C3-based class
License: GPL+ or Artistic
Group: Development/Libraries
@ -10,10 +10,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# core
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(Test::More)
# cpan
BuildRequires: perl(FindBin)
BuildRequires: perl(Carp)
BuildRequires: perl(Class::C3) >= 0.20
BuildRequires: perl(Class::Inspector)
BuildRequires: perl(MRO::Compat)
@ -22,10 +22,12 @@ BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl(Carp)
Requires: perl(Class::C3) >= 0.20
Requires: perl(Class::Inspector)
Requires: perl(MRO::Compat)
### auto-added brs!
BuildRequires: perl(FindBin)
BuildRequires: perl(Carp)
%{?perl_default_filter}
%description
This will inject base classes to your module using the Class::C3 method
@ -38,18 +40,7 @@ MooseX::Object::Pluggable.
%prep
%setup -q -n Class-C3-Componentised-%{version}
perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t
# Filter unwanted Requires:
cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} $* |\
sed -e '/perl(base)/d'
EOF
%define __perl_requires %{_builddir}/Class-C3-Componentised-%{version}/%{name}-req
chmod +x %{__perl_requires}
perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@ -78,6 +69,14 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
* Sat Sep 26 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.0006-1
- update filtering
- auto-update to 1.0006 (by cpan-spec-update 0.01)
- added a new req on perl(Carp) (version 0)
- added a new req on perl(Class::C3) (version 0.20)
- added a new req on perl(Class::Inspector) (version 0)
- added a new req on perl(MRO::Compat) (version 0)
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0005-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

@ -1 +1 @@
1c843ffd2737c6db77edcc6b666cfc48 Class-C3-Componentised-1.0005.tar.gz
daea1eb95cdeda8752b472e5fe6a4c86 Class-C3-Componentised-1.0006.tar.gz

Loading…
Cancel
Save