Blame SPECS/perl-Sub-Install.spec

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