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