Blame SPECS/perl-Class-Method-Modifiers.spec

456247
# Run optional tests
456247
%if ! (0%{?rhel})
456247
%{bcond_without perl_Class_Method_Modifiers_enables_optional_test}
456247
%else
456247
%{bcond_with perl_Class_Method_Modifiers_enables_optional_test}
456247
%endif
456247
456247
Name:           perl-Class-Method-Modifiers
456247
Summary:        Provides Moose-like method modifiers
456247
Version:        2.12
456247
Release:        8%{?dist}
456247
License:        GPL+ or Artistic
456247
URL:            http://search.cpan.org/dist/Class-Method-Modifiers
456247
Source0:        http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Method-Modifiers-%{version}.tar.gz
456247
BuildArch:      noarch
456247
# Module Build
456247
BuildRequires:  coreutils
456247
BuildRequires:  findutils
456247
BuildRequires:  make
456247
BuildRequires:  perl-interpreter
456247
BuildRequires:  perl-generators
456247
BuildRequires:  perl(ExtUtils::MakeMaker)
456247
BuildRequires:  perl(strict)
456247
BuildRequires:  perl(warnings)
456247
# Module Runtime
456247
BuildRequires:  perl(B)
456247
BuildRequires:  perl(base)
456247
BuildRequires:  perl(Carp)
456247
BuildRequires:  perl(Exporter)
456247
# Test Suite
456247
BuildRequires:  perl(File::Spec)
456247
BuildRequires:  perl(if)
456247
BuildRequires:  perl(Test::Fatal)
456247
BuildRequires:  perl(Test::More) >= 0.88
456247
BuildRequires:  perl(Test::Requires)
456247
# Optional Test Requirements
456247
%if 0%{!?perl_bootstrap:1} && %{with perl_Class_Method_Modifiers_enables_optional_test}
456247
BuildRequires:  perl(CPAN::Meta) >= 2.120900
456247
BuildRequires:  perl(Moose)
456247
%endif
456247
# Runtime
456247
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
456247
Requires:       perl(B)
456247
Requires:       perl(Carp)
456247
Requires:       perl(Exporter)
456247
456247
# Avoid doc-file dependencies
456247
%{?perl_default_filter}
456247
456247
%description
456247
Method modifiers are a powerful feature from the CLOS (Common Lisp Object
456247
System) world.
456247
456247
In its most basic form, a method modifier is just a method that calls
456247
'$self->SUPER::foo(@_)'. I for one have trouble remembering that exact
456247
invocation, so my classes seldom re-dispatch to their base classes. Very
456247
bad!
456247
456247
'Class::Method::Modifiers' provides three modifiers: 'before', 'around',
456247
and 'after'. 'before' and 'after' are run just before and after the method
456247
they modify, but can not really affect that original method. 'around' is
456247
run in place of the original method, with a hook to easily call that
456247
original method. See the 'MODIFIERS' section for more details on how the
456247
particular modifiers work.
456247
456247
%prep
456247
%setup -q -n Class-Method-Modifiers-%{version}
456247
456247
# Drop unnecessary exec permissions from test files
456247
chmod -c -x t/*.t
456247
456247
%build
456247
perl Makefile.PL INSTALLDIRS=vendor
456247
make %{?_smp_mflags}
456247
456247
%install
456247
make pure_install DESTDIR=%{buildroot}
456247
find %{buildroot} -type f -name .packlist -delete
456247
%{_fixperms} %{buildroot}
456247
456247
%check
456247
make test
456247
456247
%files
456247
%license LICENSE
456247
%doc Changes CONTRIBUTING README t/
456247
%{perl_vendorlib}/Class/
456247
%{_mandir}/man3/Class::Method::Modifiers.3*
456247
456247
%changelog
456247
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-8
456247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
456247
456247
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-7
456247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
456247
456247
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.12-6
456247
- Perl 5.26 re-rebuild of bootstrapped packages
456247
456247
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.12-5
456247
- Perl 5.26 rebuild
456247
456247
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.12-4
456247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
456247
456247
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.12-3
456247
- Perl 5.24 re-rebuild of bootstrapped packages
456247
456247
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.12-2
456247
- Perl 5.24 rebuild
456247
456247
* Sat Mar 05 2016 Petr Šabata <contyk@redhat.com> - 2.12-1
456247
- 2.12 bump, documentation fixes
456247
- %%license is now supported in EPEL too
456247
456247
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-7
456247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
456247
456247
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-6
456247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
456247
456247
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.11-5
456247
- Perl 5.22 re-rebuild of bootstrapped packages
456247
456247
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.11-4
456247
- Perl 5.22 rebuild
456247
456247
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.11-3
456247
- Perl 5.20 re-rebuild of bootstrapped packages
456247
456247
* Fri Sep 05 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.11-2
456247
- Perl 5.20 rebuild
456247
456247
* Thu Sep  4 2014 Paul Howarth <paul@city-fan.org> <paul@city-fan.org> - 2.11-1
456247
- Update to 2.11
456247
  - Add documentation for modifying multiple methods at once (GitHub #2)
456247
- Use %%license where possible
456247
456247
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.10-3
456247
- Perl 5.20 rebuild
456247
456247
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-2
456247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
456247
456247
* Sun Mar 16 2014 Paul Howarth <paul@city-fan.org> <paul@city-fan.org> - 2.10-1
456247
- Update to 2.10
456247
  - Remove erroneous perl 5.8 requirement
456247
  - Support for handling lvalue methods
456247
  - Convert to building with Dist::Zilla
456247
  - Repository migrated to the github moose organization
456247
  - Refresh configure_requires checking in generated Makefile.PL
456247
  - New CONTRIBUTING file
456247
  - Updated tests:
456247
    - Compile test now only runs for authors
456247
    - Check-deps test replaced by information-only report-prereqs test
456247
- Drop obsoletes/provides for old tests sub-package
456247
- Drop redundant Group tag
456247
- Classify buildreqs by usage
456247
- Make %%files list more explicit
456247
456247
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.03-3
456247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
456247
456247
* Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 2.03-2
456247
- Perl 5.18 rebuild
456247
456247
* Fri Feb 15 2013 Iain Arnell <iarnell@gmail.com> 2.03-1
456247
- update to latest upstream version
456247
456247
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.00-2
456247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
456247
456247
* Sat Jan 05 2013 Iain Arnell <iarnell@gmail.com> 2.00-1
456247
- update to latest upstream version
456247
456247
* Sun Oct 28 2012 Iain Arnell <iarnell@gmail.com> 1.12-1
456247
- update to latest upstream version
456247
456247
* Sat Oct 27 2012 Iain Arnell <iarnell@gmail.com> 1.10-1
456247
- update to latest upstream version
456247
456247
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-3
456247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
456247
456247
* Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 1.09-2
456247
- Perl 5.16 rebuild
456247
456247
* Tue Apr 03 2012 Iain Arnell <iarnell@gmail.com> 1.09-1
456247
- update to latest upstream version
456247
456247
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 1.08-3
456247
- drop tests subpackage; move tests to main package documentation
456247
456247
* Tue Jan 17 2012 Iain Arnell <iarnell@gmail.com> - 1.08-2
456247
- rebuilt again for F17 mass rebuild
456247
456247
* Fri Jan 13 2012 Iain Arnell <iarnell@gmail.com> 1.08-1
456247
- update to latest upstream version
456247
456247
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-3
456247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
456247
456247
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.07-2
456247
- Perl mass rebuild
456247
456247
* Sun Mar 13 2011 Iain Arnell <iarnell@gmail.com> 1.07-1
456247
- update to latest upstream version
456247
- clean up spec for modern rpmbuild
456247
456247
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-4
456247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
456247
456247
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.05-3
456247
- 661697 rebuild for fixing problems with vendorach/lib
456247
456247
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.05-2
456247
- Mass rebuild with perl-5.12.0
456247
456247
* Mon Mar 01 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.05-1
456247
- update by Fedora::App::MaintainerTools 0.004
456247
- PERL_INSTALL_ROOT => DESTDIR
456247
456247
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.04-2
456247
- rebuild against perl 5.10.1
456247
456247
* Fri Jul 31 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.04-1
456247
- auto-update to 1.04 (by cpan-spec-update 0.01)
456247
456247
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-2
456247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
456247
456247
* Mon Jun 08 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.02-1
456247
- auto-update to 1.02 (by cpan-spec-update 0.01)
456247
- altered br on perl(ExtUtils::MakeMaker) (0 => 6.42)
456247
456247
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-4
456247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
456247
456247
* Mon Sep 08 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.01-3
456247
- remove MM version qualifier (F-8's is older)
456247
456247
* Mon Sep 08 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.01-2
456247
- bump
456247
456247
* Sat Sep 06 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.01-1
456247
- initial Fedora packaging
456247
- generated with cpan2dist (CPANPLUS::Dist::Fedora version 0.0.1)