[perl-Carp] Import

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

 



commit b7b2d659632306228f492868e298594dca7053ed
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Sep 13 15:10:21 2011 +0200

    Import

 .gitignore     |    1 +
 perl-Carp.spec |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..cf39d6e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Carp-1.22.tar.gz
diff --git a/perl-Carp.spec b/perl-Carp.spec
new file mode 100644
index 0000000..ac7e996
--- /dev/null
+++ b/perl-Carp.spec
@@ -0,0 +1,53 @@
+Name:           perl-Carp
+Version:        1.22
+Release:        1%{?dist}
+Summary:        Alternative warn and die for modules
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Carp/
+Source0:        http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Carp-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Tests:
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+# 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
+%setup -q -n Carp-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Sep 07 2011 Petr Pisar <ppisar@xxxxxxxxxx> 1.22-1
+- Specfile autogenerated by cpanspec 1.78.
+- Remove BuildRoot and defattr code from spec
+- Do not export private module DB
diff --git a/sources b/sources
index e69de29..60b9aee 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b3504290991b57beb1c0c704864ebef0  Carp-1.22.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