|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Moo
|
|
|
|
|
Version: 2.003004
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 2.003006
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Minimalist Object Orientation (with Moose compatibility)
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
|
|
|
|
@ -56,7 +56,7 @@ BuildRequires: perl(Test::More) >= 0.96
|
|
|
|
|
BuildRequires: perl(threads)
|
|
|
|
|
# Optional tests:
|
|
|
|
|
BuildRequires: perl(CPAN::Meta::Requirements)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(Carp)
|
|
|
|
|
Requires: perl(Class::Method::Modifiers) >= 1.10
|
|
|
|
|
Requires: perl(Devel::GlobalDestruction) >= 0.11
|
|
|
|
@ -81,15 +81,15 @@ not quite- two thirds of Moose.
|
|
|
|
|
%setup -q -n Moo-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
%{make_install}
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
%{make_build} test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README
|
|
|
|
@ -97,6 +97,13 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Oct 27 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 2.003006-1
|
|
|
|
|
- Update to 2.003006
|
|
|
|
|
- Replace calls to %%{__perl} with /usr/bin/perl
|
|
|
|
|
- Replace calls to "make pure_install" with %%{make_install}
|
|
|
|
|
- Replace calls to make with %%{make_build}
|
|
|
|
|
- Pass NO_PERLLOCAL=1 to Makefile.PL
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.003004-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|