|
|
|
@ -1,31 +1,24 @@
|
|
|
|
|
Name: perl-Context-Preserve
|
|
|
|
|
Summary: Run code after a subroutine call, preserving context
|
|
|
|
|
Version: 0.01
|
|
|
|
|
Release: 19%{?dist}
|
|
|
|
|
Version: 0.02
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/J/JR/JROCKWAY/Context-Preserve-%{version}.tar.gz
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Context-Preserve-%{version}.tar.gz
|
|
|
|
|
URL: http://search.cpan.org/dist/Context-Preserve
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Build
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(ExtUtils::MM_Unix)
|
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Runtime
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Tests only
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(ok)
|
|
|
|
|
BuildRequires: perl(Test::Exception)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
@ -62,11 +55,15 @@ make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README Changes
|
|
|
|
|
%license LICENCE
|
|
|
|
|
%doc CONTRIBUTING README Changes
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri May 12 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.02-1
|
|
|
|
|
- 0.02 bump
|
|
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.01-19
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|