[perl-autodie] Import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit dc6bfc417db99560bcdddc2713737ac530f3f3b3
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Mar 6 08:42:36 2013 +0100

    Import

 .gitignore        |    1 +
 perl-autodie.spec |   79 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b45beef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/autodie-2.13.tar.gz
diff --git a/perl-autodie.spec b/perl-autodie.spec
new file mode 100644
index 0000000..38a5803
--- /dev/null
+++ b/perl-autodie.spec
@@ -0,0 +1,79 @@
+Name:           perl-autodie
+Version:        2.13
+Release:        1%{?dist}
+Summary:        Replace functions with ones that succeed or die
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/autodie/
+Source0:        http://www.cpan.org/authors/id/P/PJ/PJF/autodie-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+# Stick on bundled inc::Module::Install to allow boot-straping this core package
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MM_Unix)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Run-time:
+BuildRequires:  perl(B)
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Fcntl)
+BuildRequires:  perl(if)
+# Keep IPC::System::Simple 0.12 optional
+BuildRequires:  perl(overload)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Tie::RefHash)
+# Sub::Identify is optional
+BuildRequires:  perl(warnings)
+# Tests:
+BuildRequires:  perl(lib)
+BuildRequires:  perl(File::Copy)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(Socket)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(B)
+Requires:       perl(Fcntl)
+Requires:       perl(overload)
+Requires:       perl(POSIX)
+
+%description
+The "autodie" and "Fatal" pragma provides a convenient way to replace
+functions that normally return false on failure with equivalents that throw an
+exception on failure.
+
+However "Fatal" has been obsoleted by the new autodie pragma. Please use
+autodie in preference to "Fatal".
+
+%prep
+%setup -q -n autodie-%{version}
+find -type f -exec chmod -x {} +
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc AUTHORS Changes README TODO
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Feb 14 2013 Petr Pisar <ppisar@xxxxxxxxxx> 2.13-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..4ec7980 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2c72f01216797b44ebbc5303014a1987  autodie-2.13.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux