Blame SPECS/perl-autodie.spec

fca318
%{?scl:%scl_package perl-autodie}
fca318
fca318
Name:           %{?scl_prefix}perl-autodie
fca318
Version:        2.29
fca318
Release:        368%{?dist}
fca318
Summary:        Replace functions with ones that succeed or die
fca318
License:        GPL+ or Artistic
fca318
Group:          Development/Libraries
fca318
URL:            http://search.cpan.org/dist/autodie/
fca318
Source0:        http://www.cpan.org/authors/id/P/PJ/PJF/autodie-%{version}.tar.gz
fca318
BuildArch:      noarch
fca318
BuildRequires:  findutils
fca318
BuildRequires:  make
fca318
BuildRequires:  %{?scl_prefix}perl
fca318
BuildRequires:  %{?scl_prefix}perl-generators
fca318
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker)
fca318
BuildRequires:  %{?scl_prefix}perl(strict)
fca318
BuildRequires:  %{?scl_prefix}perl(warnings)
fca318
# Run-time:
fca318
BuildRequires:  %{?scl_prefix}perl(B)
fca318
BuildRequires:  %{?scl_prefix}perl(Carp)
fca318
BuildRequires:  %{?scl_prefix}perl(Config)
fca318
BuildRequires:  %{?scl_prefix}perl(constant)
fca318
BuildRequires:  %{?scl_prefix}perl(Exporter) >= 5.57
fca318
BuildRequires:  %{?scl_prefix}perl(Fcntl)
fca318
%if !%{defined perl_bootstrap}
fca318
BuildRequires:  %{?scl_prefix}perl(IPC::System::Simple) >= 0.12
fca318
%endif
fca318
BuildRequires:  %{?scl_prefix}perl(overload)
fca318
BuildRequires:  %{?scl_prefix}perl(parent)
fca318
BuildRequires:  %{?scl_prefix}perl(POSIX)
fca318
BuildRequires:  %{?scl_prefix}perl(Scalar::Util)
fca318
# Sub::Identify is optional
fca318
BuildRequires:  %{?scl_prefix}perl(Tie::RefHash)
fca318
# Tests:
fca318
# English not used
fca318
BuildRequires:  %{?scl_prefix}perl(File::Copy)
fca318
BuildRequires:  %{?scl_prefix}perl(File::Spec)
fca318
BuildRequires:  %{?scl_prefix}perl(File::Temp)
fca318
BuildRequires:  %{?scl_prefix}perl(FindBin)
fca318
BuildRequires:  %{?scl_prefix}perl(if)
fca318
BuildRequires:  %{?scl_prefix}perl(IO::Handle)
fca318
BuildRequires:  %{?scl_prefix}perl(lib)
fca318
BuildRequires:  %{?scl_prefix}perl(open)
fca318
# Pod::Coverage::TrustPod not used
fca318
BuildRequires:  %{?scl_prefix}perl(Socket)
fca318
# Test::Kwalitee not used
fca318
BuildRequires:  %{?scl_prefix}perl(Test::More)
fca318
# Test::Perl::Critic not used
fca318
# Test::Pod 1.41 not used
fca318
# Test::Pod::Coverage 1.08 not used
fca318
# Optional tests:
fca318
%if !%{defined perl_bootstrap} && !%{defined perl_small}
fca318
BuildRequires:  %{?scl_prefix}perl(BSD::Resource)
fca318
BuildRequires:  %{?scl_prefix}perl(Import::Into) >= 1.002004
fca318
%endif
fca318
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
fca318
Requires:       %{?scl_prefix}perl(B)
fca318
Requires:       %{?scl_prefix}perl(Fcntl)
fca318
Requires:       %{?scl_prefix}perl(POSIX)
fca318
# Optional:
fca318
%if !%{defined perl_bootstrap}
fca318
# IPC::System::Simple dependency requested, bug #1183231
fca318
Requires:  %{?scl_prefix}perl(IPC::System::Simple) >= 0.12
fca318
%endif
fca318
fca318
# Remove falsely detected perl(lib)
fca318
%if 0%{?rhel} < 7
fca318
# RPM 4.8 style
fca318
%{?filter_setup:
fca318
%filter_from_requires /^%{?scl_prefix}perl(lib)$/d
fca318
%?perl_default_filter
fca318
}
fca318
%else
fca318
# RPM 4.9 style
fca318
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^%{?scl_prefix}perl\\(lib\\)$
fca318
%endif
fca318
fca318
%description
fca318
The "autodie" and "Fatal" pragma provides a convenient way to replace
fca318
functions that normally return false on failure with equivalents that throw an
fca318
exception on failure.
fca318
fca318
However "Fatal" has been obsoleted by the new autodie pragma. Please use
fca318
autodie in preference to "Fatal".
fca318
fca318
%prep
fca318
%setup -q -n autodie-%{version}
fca318
find -type f -exec chmod -x {} +
fca318
fca318
%build
fca318
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
fca318
fca318
%install
fca318
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
fca318
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
fca318
%{_fixperms} $RPM_BUILD_ROOT/*
fca318
fca318
%check
fca318
%{?scl:scl enable %{scl} '}make test%{?scl:'}
fca318
fca318
%files
fca318
%doc LICENSE
fca318
%doc AUTHORS Changes README.md
fca318
%{perl_vendorlib}/*
fca318
%{_mandir}/man3/*
fca318
fca318
%changelog
fca318
* Sun Jul 24 2016 Petr Pisar <ppisar@redhat.com> - 2.29-368
fca318
- Rebuild without bootstrap
fca318
fca318
* Mon Jul 11 2016 Petr Pisar <ppisar@redhat.com> - 2.29-367
fca318
- SCL
fca318
fca318
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.29-366
fca318
- Perl 5.24 re-rebuild of bootstrapped packages
fca318
fca318
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.29-365
fca318
- Increase release to favour standalone package
fca318
fca318
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.29-2
fca318
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fca318
fca318
* Thu Jul 09 2015 Petr Pisar <ppisar@redhat.com> - 2.29-1
fca318
- 2.29 bump
fca318
fca318
* Mon Jun 22 2015 Petr Pisar <ppisar@redhat.com> - 2.28-1
fca318
- 2.28 bump
fca318
fca318
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.27-3
fca318
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fca318
fca318
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.27-2
fca318
- Perl 5.22 re-rebuild of bootstrapped packages
fca318
fca318
* Wed Jun 10 2015 Petr Pisar <ppisar@redhat.com> - 2.27-1
fca318
- 2.27 bump
fca318
fca318
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-345
fca318
- Increase release to favour standalone package
fca318
fca318
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-3
fca318
- Perl 5.22 rebuild
fca318
fca318
* Mon Jan 19 2015 Petr Pisar <ppisar@redhat.com> - 2.26-2
fca318
- Run-require IPC::System::Simple for fatalizing system() (bug #1183231)
fca318
fca318
* Mon Jan 05 2015 Petr Pisar <ppisar@redhat.com> - 2.26-1
fca318
- 2.26 bump
fca318
fca318
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.25-4
fca318
- Perl 5.20 re-rebuild of bootstrapped packages
fca318
fca318
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.25-3
fca318
- Perl 5.20 rebuild
fca318
fca318
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.25-2
fca318
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fca318
fca318
* Fri Apr 04 2014 Petr Pisar <ppisar@redhat.com> - 2.25-1
fca318
- 2.25 bump
fca318
fca318
* Mon Mar 31 2014 Petr Pisar <ppisar@redhat.com> - 2.24-1
fca318
- 2.24 bump
fca318
fca318
* Thu Jan 30 2014 Petr Pisar <ppisar@redhat.com> - 2.23-1
fca318
- 2.23 bump
fca318
fca318
* Mon Sep 23 2013 Petr Pisar <ppisar@redhat.com> - 2.22-1
fca318
- 2.22 bump
fca318
fca318
* Thu Sep 12 2013 Petr Pisar <ppisar@redhat.com> - 2.21-1
fca318
- 2.21 bump
fca318
fca318
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.20-4
fca318
- Perl 5.18 re-rebuild of bootstrapped packages
fca318
fca318
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-3
fca318
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fca318
fca318
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.20-2
fca318
- Perl 5.18 rebuild
fca318
fca318
* Mon Jul 01 2013 Petr Pisar <ppisar@redhat.com> - 2.20-1
fca318
- 2.20 bump
fca318
fca318
* Wed Mar 06 2013 Petr Pisar <ppisar@redhat.com> - 2.16-1
fca318
- 2.16 bump
fca318
fca318
* Thu Feb 14 2013 Petr Pisar <ppisar@redhat.com> 2.13-1
fca318
- Specfile autogenerated by cpanspec 1.78.