Blame SPECS/perl-Sub-Install.spec

d4e5f5
%{?scl:%scl_package perl-Sub-Install}
d4e5f5
d4e5f5
# Run optional test
d4e5f5
%bcond_without perl_Sub_Install_enables_optional_test
d4e5f5
d4e5f5
Name:           %{?scl_prefix}perl-Sub-Install
d4e5f5
Version:        0.928
d4e5f5
Release:        14%{?dist}
d4e5f5
Summary:        Install subroutines into packages easily
d4e5f5
License:        GPL+ or Artistic
d4e5f5
Group:          Development/Libraries
d4e5f5
URL:            http://search.cpan.org/dist/Sub-Install/
d4e5f5
Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Sub-Install-%{version}.tar.gz
d4e5f5
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
d4e5f5
BuildArch:      noarch
d4e5f5
# ================= Module Build ============================
d4e5f5
BuildRequires:  %{?scl_prefix}perl-interpreter
d4e5f5
BuildRequires:  %{?scl_prefix}perl-generators
d4e5f5
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.30
d4e5f5
BuildRequires:  %{?scl_prefix}perl(strict)
d4e5f5
BuildRequires:  %{?scl_prefix}perl(warnings)
d4e5f5
# ================= Run-time ================================
d4e5f5
BuildRequires:  %{?scl_prefix}perl(B)
d4e5f5
BuildRequires:  %{?scl_prefix}perl(Carp)
d4e5f5
BuildRequires:  %{?scl_prefix}perl(Scalar::Util)
d4e5f5
# ================= Test Suite ==============================
d4e5f5
BuildRequires:  %{?scl_prefix}perl(Test::More) >= 0.88
d4e5f5
%if %{with perl_Sub_Install_enables_optional_test} && !%{defined perl_bootstrap}
d4e5f5
# ================= Optional Tests ==========================
d4e5f5
# Test::Output -> Sub::Exporter -> Sub::Install
d4e5f5
BuildRequires:  %{?scl_prefix}perl(Test::Output)
d4e5f5
%endif
d4e5f5
# ================= Run-time ================================
d4e5f5
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
d4e5f5
Requires:       %{?scl_prefix}perl(B)
d4e5f5
d4e5f5
%description
d4e5f5
This module makes it easy to install subroutines into packages without the
d4e5f5
unsightly mess of no strict or typeglobs lying about where just anyone
d4e5f5
can see them.
d4e5f5
d4e5f5
%prep
d4e5f5
%setup -q -n Sub-Install-%{version}
d4e5f5
d4e5f5
%build
d4e5f5
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
d4e5f5
d4e5f5
%install
d4e5f5
rm -rf %{buildroot}
d4e5f5
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'}
d4e5f5
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
d4e5f5
%{_fixperms} %{buildroot}
d4e5f5
d4e5f5
%check
d4e5f5
%{?scl:scl enable %{scl} '}make test%{?scl:'}
d4e5f5
d4e5f5
%clean
d4e5f5
rm -rf %{buildroot}
d4e5f5
d4e5f5
%files
d4e5f5
%doc Changes LICENSE README
d4e5f5
%{perl_vendorlib}/Sub/
d4e5f5
%{_mandir}/man3/Sub::Install.3pm*
d4e5f5
d4e5f5
%changelog
d4e5f5
* Fri Dec 15 2017 Petr Pisar <ppisar@redhat.com> - 0.928-14
d4e5f5
- SCL
d4e5f5
d4e5f5
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.928-13
d4e5f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d4e5f5
d4e5f5
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.928-12
d4e5f5
- Perl 5.26 re-rebuild of bootstrapped packages
d4e5f5
d4e5f5
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.928-11
d4e5f5
- Perl 5.26 rebuild
d4e5f5
d4e5f5
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.928-10
d4e5f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d4e5f5
d4e5f5
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.928-9
d4e5f5
- Perl 5.24 re-rebuild of bootstrapped packages
d4e5f5
d4e5f5
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.928-8
d4e5f5
- Perl 5.24 rebuild
d4e5f5
d4e5f5
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.928-7
d4e5f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d4e5f5
d4e5f5
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.928-6
d4e5f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d4e5f5
d4e5f5
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.928-5
d4e5f5
- Perl 5.22 re-rebuild of bootstrapped packages
d4e5f5
d4e5f5
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.928-4
d4e5f5
- Perl 5.22 rebuild
d4e5f5
d4e5f5
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.928-3
d4e5f5
- Perl 5.20 re-rebuild of bootstrapped packages
d4e5f5
d4e5f5
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.928-2
d4e5f5
- Perl 5.20 rebuild
d4e5f5
d4e5f5
* Fri Jun 27 2014 Paul Howarth <paul@city-fan.org> - 0.928-1
d4e5f5
- Update to 0.928
d4e5f5
  - Cope with subroutines with spaces in their names when catching warnings
d4e5f5
  - Don't assume that the source sub isn't blessed in tests (!)
d4e5f5
d4e5f5
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.927-3
d4e5f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d4e5f5
d4e5f5
* Wed Nov 20 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.927-2
d4e5f5
- Update BRs
d4e5f5
d4e5f5
* Wed Nov 13 2013 Robin Lee <cheeselee@fedoraproject.org> - 0.927-1
d4e5f5
- Update to 0.927
d4e5f5
d4e5f5
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.926-10
d4e5f5
- Perl 5.18 re-rebuild of bootstrapped packages
d4e5f5
d4e5f5
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.926-9
d4e5f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d4e5f5
d4e5f5
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.926-8
d4e5f5
- Perl 5.18 rebuild
d4e5f5
d4e5f5
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.926-7
d4e5f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d4e5f5
d4e5f5
* Thu Aug 23 2012 Paul Howarth <paul@city-fan.org> - 0.926-6
d4e5f5
- Be more selective about what to exclude when bootstrapping
d4e5f5
- Don't use macros for commands
d4e5f5
- Drop %%defattr, redundant since rpm 4.4
d4e5f5
- Don't need to remove empty directories from the buildroot
d4e5f5
- Make %%files list more explicit
d4e5f5
- Fix typo in %%description
d4e5f5
d4e5f5
* Mon Aug 20 2012 Petr Pisar <ppisar@redhat.com> - 0.926-5
d4e5f5
- Specify all dependencies
d4e5f5
d4e5f5
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.926-4
d4e5f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d4e5f5
d4e5f5
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.926-3
d4e5f5
- Perl 5.16 re-rebuild of bootstrapped packages
d4e5f5
d4e5f5
* Sun Jun 10 2012 Petr Pisar <ppisar@redhat.com> - 0.926-2
d4e5f5
- Perl 5.16 rebuild
d4e5f5
d4e5f5
* Mon Mar 12 2012 Robin Lee <cheeselee@fedoraproject.org> - 0.926-1
d4e5f5
- Update to 0.926
d4e5f5
d4e5f5
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.925-10
d4e5f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d4e5f5
d4e5f5
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.925-9
d4e5f5
- Perl mass rebuild
d4e5f5
- add perl_bootstrap macro
d4e5f5
- add missing BR ExtUtils::MakeMaker
d4e5f5
d4e5f5
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.925-8
d4e5f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d4e5f5
d4e5f5
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.925-7
d4e5f5
- 661697 rebuild for fixing problems with vendorach/lib
d4e5f5
d4e5f5
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.925-6
d4e5f5
- Mass rebuild with perl-5.12.0
d4e5f5
d4e5f5
* Thu Feb 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.925-5
d4e5f5
- add license
d4e5f5
d4e5f5
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.925-4
d4e5f5
- rebuild against perl 5.10.1
d4e5f5
d4e5f5
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.925-3
d4e5f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d4e5f5
d4e5f5
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.925-2
d4e5f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d4e5f5
d4e5f5
* Tue Feb 03 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.925-1
d4e5f5
- update to 0.925
d4e5f5
d4e5f5
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.924-3
d4e5f5
- Rebuild for perl 5.10 (again)
d4e5f5
d4e5f5
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.924-2
d4e5f5
- rebuild for new perl
d4e5f5
- fix license tag
d4e5f5
d4e5f5
* Wed Nov 22 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.924-1
d4e5f5
- update to 0.924
d4e5f5
- add perl(Test::Perl::Critic) to BR's
d4e5f5
d4e5f5
* Wed Sep 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.922-2
d4e5f5
- bump
d4e5f5
d4e5f5
* Sat Sep 02 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.922-1
d4e5f5
- Specfile autogenerated by cpanspec 1.69.1.