|
|
@ -1,24 +1,23 @@
|
|
|
|
Name: perl-Moose
|
|
|
|
Name: perl-Moose
|
|
|
|
Version: 0.44
|
|
|
|
Version: 0.50
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Complete modern object system for Perl 5
|
|
|
|
Summary: Complete modern object system for Perl 5
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Moose/
|
|
|
|
URL: http://search.cpan.org/dist/Moose/
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/S/ST/STEVAN/Moose-%{version}.tar.gz
|
|
|
|
# source tends to flip between these three authors
|
|
|
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/Moose-%{version}.tar.gz
|
|
|
|
|
|
|
|
#Source0: http://search.cpan.org/CPAN/authors/id/S/ST/STEVAN/Moose-%{version}.tar.gz
|
|
|
|
#Source0: http://search.cpan.org/CPAN/authors/id/G/GR/GRODITI/Moose-%{version}.tar.gz
|
|
|
|
#Source0: http://search.cpan.org/CPAN/authors/id/G/GR/GRODITI/Moose-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
# write temp db to tmpdir rather than .
|
|
|
|
|
|
|
|
Patch: t202_tmpfile.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# core
|
|
|
|
# core
|
|
|
|
BuildRequires: perl(Test::More) >= 0.62
|
|
|
|
BuildRequires: perl(Test::More) >= 0.62
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
# cpan
|
|
|
|
# cpan
|
|
|
|
BuildRequires: perl(Class::MOP) >= 0.49
|
|
|
|
BuildRequires: perl(Class::MOP) >= 0.55
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(Filter::Simple)
|
|
|
|
BuildRequires: perl(Filter::Simple)
|
|
|
|
BuildRequires: perl(Sub::Exporter) >= 0.954
|
|
|
|
BuildRequires: perl(Sub::Exporter) >= 0.954
|
|
|
@ -66,9 +65,6 @@ Perl 6 OO. So instead of switching to Ruby, I wrote Moose :)
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Moose-%{version}
|
|
|
|
%setup -q -n Moose-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
# test patches
|
|
|
|
|
|
|
|
#patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
find t/ -type f -exec perl -pi -e 's|^#!/usr/local/bin|#!/usr/bin|' {} +
|
|
|
|
find t/ -type f -exec perl -pi -e 's|^#!/usr/local/bin|#!/usr/bin|' {} +
|
|
|
|
|
|
|
|
|
|
|
|
# remove the originals of patched files...
|
|
|
|
# remove the originals of patched files...
|
|
|
@ -106,11 +102,15 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README t/
|
|
|
|
%doc Changes README doap.rdf t/
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jun 17 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.50-1
|
|
|
|
|
|
|
|
- update to 0.50
|
|
|
|
|
|
|
|
- drop obviated test patch
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.44-2
|
|
|
|
* Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.44-2
|
|
|
|
- bump
|
|
|
|
- bump
|
|
|
|
|
|
|
|
|
|
|
|