From c580c3354a622d039dd25313a47109ed1b83ff70 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova <jples...@redhat.com> Date: Fri, 3 Feb 2017 14:40:03 +0100 Subject: Initial import
--- .gitignore | 1 + perl-failures.spec | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 63 insertions(+) create mode 100644 perl-failures.spec diff --git a/.gitignore b/.gitignore index e69de29..072f73a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/failures-0.004.tar.gz diff --git a/perl-failures.spec b/perl-failures.spec new file mode 100644 index 0000000..0daab9d --- /dev/null +++ b/perl-failures.spec @@ -0,0 +1,61 @@ +Name: perl-failures +Version: 0.004 +Release: 2%{?dist} +Summary: Minimalist exception hierarchy generator +License: ASL 2.0 +URL: http://search.cpan.org/dist/failures/ +Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/failures-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: make +BuildRequires: perl(:VERSION) >= 5.8.1 +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time +BuildRequires: perl(Carp) +BuildRequires: perl(Class::Tiny) +BuildRequires: perl(overload) +BuildRequires: perl(parent) +# Tests +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(lib) +BuildRequires: perl(List::Util) +BuildRequires: perl(Test::FailWarnings) +BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(version) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) + + +%description +This module lets you define an exception hierarchy quickly and simply. + +%prep +%setup -q -n failures-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes CONTRIBUTING README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Feb 03 2017 Jitka Plesnikova <jples...@redhat.com> - 0.004-2 +- Add BR perl(Test::FailWarnings) + +* Tue Jan 31 2017 Jitka Plesnikova <jples...@redhat.com> - 0.004-1 +- Initial release diff --git a/sources b/sources index e69de29..86d6972 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (failures-0.004.tar.gz) = 3e34a5905a81170b30121466b95269ff3eb678519549febcbe4bb396763b4c1e1ddcc3fad32caeb395d9304a8bd97f571fce96bd246ad46d1ab660ee48269eed -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-failures.git/commit/?h=master&id=c580c3354a622d039dd25313a47109ed1b83ff70 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org