Blame SPECS/perl-Carp.spec

12fced
%{?scl:%scl_package perl-Carp}
12fced
12fced
%global cpan_version 1.38
12fced
12fced
Name:           %{?scl_prefix}perl-Carp
12fced
Version:        1.42
12fced
Release:        395%{?dist}
12fced
Summary:        Alternative warn and die for modules
12fced
License:        GPL+ or Artistic
12fced
URL:            http://search.cpan.org/dist/Carp/
12fced
Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Carp-%{cpan_version}.tar.gz
12fced
# Unbundled from perl 5.24.0
12fced
Patch0:         Carp-1.38-Upgrade-to-1.40.patch
12fced
# Unbundled from perl 5.25.12
12fced
Patch1:         Carp-1.40-Upgrade-to-1.42.patch
12fced
BuildArch:      noarch
12fced
BuildRequires:  make
12fced
BuildRequires:  %{?scl_prefix}perl-interpreter
12fced
BuildRequires:  %{?scl_prefix}perl-generators
12fced
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.76
12fced
BuildRequires:  %{?scl_prefix}perl(warnings)
12fced
BuildRequires:  %{?scl_prefix}perl(strict)
12fced
# Run-time:
12fced
BuildRequires:  %{?scl_prefix}perl(Exporter)
12fced
# Tests:
12fced
BuildRequires:  %{?scl_prefix}perl(B)
12fced
BuildRequires:  %{?scl_prefix}perl(Config)
12fced
BuildRequires:  %{?scl_prefix}perl(Data::Dumper)
12fced
# IPC::Open3  >= 1.0103 in reality, but the provides is 2-digit number only
12fced
BuildRequires:  %{?scl_prefix}perl(IPC::Open3)
12fced
BuildRequires:  %{?scl_prefix}perl(overload)
12fced
BuildRequires:  %{?scl_prefix}perl(Test::More) >= 0.47
12fced
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
12fced
12fced
# Do not export private DB module stub
12fced
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^%{?scl_prefix}perl\\(DB\\)
12fced
12fced
%description
12fced
The Carp routines are useful in your own modules because they act like
12fced
die() or warn(), but with a message which is more likely to be useful to a
12fced
user of your module. In the case of cluck, confess, and longmess that
12fced
context is a summary of every call in the call-stack. For a shorter message
12fced
you can use carp or croak which report the error as being from where your
12fced
module was called. There is no guarantee that that is where the error was,
12fced
but it is a good educated guess.
12fced
12fced
%prep
12fced
%setup -q -n Carp-%{cpan_version}
12fced
%patch0 -p1
12fced
%patch1 -p1
12fced
12fced
%build
12fced
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 && make %{?_smp_mflags}%{?scl:'}
12fced
12fced
%install
12fced
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
12fced
%{_fixperms} $RPM_BUILD_ROOT/*
12fced
12fced
%check
12fced
%{?scl:scl enable %{scl} '}make test%{?scl:'}
12fced
12fced
%files
12fced
%doc Changes README
12fced
%{perl_vendorlib}/*
12fced
%{_mandir}/man3/*
12fced
12fced
%changelog
12fced
* Mon Dec 18 2017 Petr Pisar <ppisar@redhat.com> - 1.42-395
12fced
- SCL
12fced
12fced
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-394
12fced
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
12fced
12fced
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.42-393
12fced
- Perl 5.26 rebuild
12fced
12fced
* Thu May 11 2017 Petr Pisar <ppisar@redhat.com> - 1.42-1
12fced
- Upgrade to 1.42 as provided in perl-5.25.12
12fced
12fced
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.40-366
12fced
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
12fced
12fced
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-365
12fced
- Increase release to favour standalone package
12fced
12fced
* Wed May 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-1
12fced
- 1.40 bump in order to dual-live with perl 5.24
12fced
12fced
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-2
12fced
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
12fced
12fced
* Tue Nov 10 2015 Petr Pisar <ppisar@redhat.com> - 1.38-1
12fced
- 1.38 bump
12fced
12fced
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.36-346
12fced
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
12fced
12fced
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.36-345
12fced
- Increase release to favour standalone package
12fced
12fced
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.36-2
12fced
- Perl 5.22 rebuild
12fced
12fced
* Fri Mar 20 2015 Petr Pisar <ppisar@redhat.com> - 1.36-1
12fced
- 1.36 bump
12fced
12fced
* Mon Mar 16 2015 Petr Pisar <ppisar@redhat.com> - 1.35-1
12fced
- 1.35 bump
12fced
12fced
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.33.01-310
12fced
- Increase release to favour standalone package
12fced
12fced
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.33.01-3
12fced
- Perl 5.20 rebuild
12fced
12fced
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.33.01-2
12fced
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
12fced
12fced
* Fri Apr 04 2014 Petr Pisar <ppisar@redhat.com> - 1.33.01-1
12fced
- 1.3301 bump
12fced
12fced
* Wed Mar 26 2014 Petr Pisar <ppisar@redhat.com> - 1.33-1
12fced
- 1.33 bump
12fced
12fced
* Tue Sep 10 2013 Petr Pisar <ppisar@redhat.com> - 1.32-1
12fced
- 1.32 bump
12fced
12fced
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-245
12fced
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
12fced
12fced
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1.26-244
12fced
- Link minimal build-root packages against libperl.so explicitly
12fced
12fced
* Tue Apr 30 2013 Petr Pisar <ppisar@redhat.com> - 1.26-243
12fced
- Increase release number to supersede perl sub-package (bug #957931)
12fced
12fced
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-241
12fced
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
12fced
12fced
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.26-240
12fced
- Bump release to override sub-package from perl.spec
12fced
12fced
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-3
12fced
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
12fced
12fced
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 1.26-2
12fced
- Perl 5.16 rebuild
12fced
12fced
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 1.26-1
12fced
- 1.26 bump
12fced
12fced
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1.25-2
12fced
- Perl 5.16 rebuild
12fced
12fced
* Thu Mar 15 2012 Petr Pisar <ppisar@redhat.com> - 1.25-1
12fced
- 1.25 bump
12fced
12fced
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-2
12fced
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
12fced
12fced
* Wed Sep 07 2011 Petr Pisar <ppisar@redhat.com> 1.22-1
12fced
- Specfile autogenerated by cpanspec 1.78.
12fced
- Remove BuildRoot and defattr code from spec
12fced
- Do not export private module DB