parent
2a14239929
commit
f520854c22
@ -0,0 +1 @@
|
|||||||
|
Carp-Always-0.09.tar.gz
|
@ -0,0 +1,69 @@
|
|||||||
|
Name: perl-Carp-Always
|
||||||
|
Version: 0.09
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Warn and die in Perl noisily with stack backtraces
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://search.cpan.org/dist/Carp-Always/
|
||||||
|
Source0: http://www.cpan.org//authors/id/F/FE/FERREIRA/Carp-Always-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Test::Base)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(Test::Pod) >= 1.18
|
||||||
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module is meant as a debugging aid. It can be used to make a script
|
||||||
|
complain loudly with stack backtraces when warn()ing or die()ing.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Carp-Always-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
# Recode
|
||||||
|
iconv -f iso8859-1 -t utf8 README >README.utf8
|
||||||
|
touch -r README README.utf8
|
||||||
|
mv README.utf8 README
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jul 23 2010 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> 0.09-2
|
||||||
|
- Recode README (manuel wolfshant)
|
||||||
|
|
||||||
|
* Thu Dec 03 2009 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> 0.09-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.78.
|
||||||
|
- Fixed up deps
|
Loading…
Reference in new issue