|
 |
96d3a8 |
Name: perl-Sub-Install
|
|
 |
96d3a8 |
Version: 0.926
|
|
 |
73c0e4 |
Release: 6%{?dist}
|
|
 |
96d3a8 |
Summary: Install subroutines into packages easily
|
|
 |
96d3a8 |
License: GPL+ or Artistic
|
|
 |
96d3a8 |
Group: Development/Libraries
|
|
 |
96d3a8 |
URL: http://search.cpan.org/dist/Sub-Install/
|
|
 |
96d3a8 |
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Sub-Install-%{version}.tar.gz
|
|
 |
96d3a8 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
 |
96d3a8 |
BuildArch: noarch
|
|
 |
96d3a8 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
 |
96d3a8 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
%if !%{defined perl_bootstrap}
|
|
 |
96d3a8 |
# Run-time:
|
|
 |
96d3a8 |
BuildRequires: perl(Carp)
|
|
 |
96d3a8 |
BuildRequires: perl(Scalar::Util)
|
|
 |
96d3a8 |
# Tests:
|
|
 |
96d3a8 |
BuildRequires: perl(Test::More)
|
|
 |
96d3a8 |
BuildRequires: perl(Test::Perl::Critic)
|
|
 |
96d3a8 |
BuildRequires: perl(Test::Pod)
|
|
 |
96d3a8 |
BuildRequires: perl(Test::Pod::Coverage)
|
|
 |
96d3a8 |
%endif
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
%description
|
|
 |
96d3a8 |
This module makes it easy to install subroutines into packages without the
|
|
 |
96d3a8 |
unslightly mess of no strict or typeglobs lying about where just anyone
|
|
 |
96d3a8 |
can see them.
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
%prep
|
|
 |
96d3a8 |
%setup -q -n Sub-Install-%{version}
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
%build
|
|
 |
96d3a8 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
 |
96d3a8 |
make %{?_smp_mflags}
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
%install
|
|
 |
96d3a8 |
rm -rf %{buildroot}
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
make pure_install DESTDIR=%{buildroot}
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
 |
96d3a8 |
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
%{_fixperms} %{buildroot}/*
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
%check
|
|
 |
96d3a8 |
# you'll note a number of tests are skipped due to Test::Output not being
|
|
 |
96d3a8 |
# present. However, Test::Output requires Sub::Exporter which requires...
|
|
 |
96d3a8 |
# Sub::Install. Holy circular loop, Batman! :)
|
|
 |
96d3a8 |
%if !%{defined perl_bootstrap}
|
|
 |
96d3a8 |
PERL_TEST_CRITIC=1 make test
|
|
 |
96d3a8 |
%endif
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
%clean
|
|
 |
96d3a8 |
rm -rf %{buildroot}
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
%files
|
|
 |
96d3a8 |
%defattr(-,root,root,-)
|
|
 |
96d3a8 |
%doc Changes README LICENSE
|
|
 |
96d3a8 |
%{perl_vendorlib}/*
|
|
 |
96d3a8 |
%{_mandir}/man3/*
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
%changelog
|
|
 |
73c0e4 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.926-6
|
|
 |
73c0e4 |
- Mass rebuild 2013-12-27
|
|
 |
73c0e4 |
|
|
 |
96d3a8 |
* Mon Aug 20 2012 Petr Pisar <ppisar@redhat.com> - 0.926-5
|
|
 |
96d3a8 |
- Specify all dependencies
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 0.926-4.1
|
|
 |
96d3a8 |
- Rebuild for perl 5.16
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.926-4
|
|
 |
96d3a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.926-3
|
|
 |
96d3a8 |
- Perl 5.16 re-rebuild of bootstrapped packages
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Sun Jun 10 2012 Petr Pisar <ppisar@redhat.com> - 0.926-2
|
|
 |
96d3a8 |
- Perl 5.16 rebuild
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Mon Mar 12 2012 Robin Lee <cheeselee@fedoraproject.org> - 0.926-1
|
|
 |
96d3a8 |
- Update to 0.926
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.925-10
|
|
 |
96d3a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.925-9
|
|
 |
96d3a8 |
- Perl mass rebuild
|
|
 |
96d3a8 |
- add perl_bootstrap macro
|
|
 |
96d3a8 |
- add missing BR ExtUtils::MakeMaker
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.925-8
|
|
 |
96d3a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.925-7
|
|
 |
96d3a8 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.925-6
|
|
 |
96d3a8 |
- Mass rebuild with perl-5.12.0
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Thu Feb 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.925-5
|
|
 |
96d3a8 |
- add license
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.925-4
|
|
 |
96d3a8 |
- rebuild against perl 5.10.1
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.925-3
|
|
 |
96d3a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.925-2
|
|
 |
96d3a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Tue Feb 03 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.925-1
|
|
 |
96d3a8 |
- update to 0.925
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.924-3
|
|
 |
96d3a8 |
- Rebuild for perl 5.10 (again)
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.924-2
|
|
 |
96d3a8 |
- rebuild for new perl
|
|
 |
96d3a8 |
- fix license tag
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Wed Nov 22 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.924-1
|
|
 |
96d3a8 |
- update to 0.924
|
|
 |
96d3a8 |
- add perl(Test::Perl::Critic) to BR's
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Wed Sep 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.922-2
|
|
 |
96d3a8 |
- bump
|
|
 |
96d3a8 |
|
|
 |
96d3a8 |
* Sat Sep 02 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.922-1
|
|
 |
96d3a8 |
- Specfile autogenerated by cpanspec 1.69.1.
|