From 04fb95577dfe42702c385fa1060123824f9bc2f2 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:56:16 +0100 Subject: [PATCH] automatic update by autodist [release 0.17022-1mamba;Tue Feb 25 2014] --- README.md | 2 ++ perl-Error.spec | 85 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 perl-Error.spec diff --git a/README.md b/README.md index 491930e..2357370 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Error +Error - Error/exception handling in an OO-ish way. + diff --git a/perl-Error.spec b/perl-Error.spec new file mode 100644 index 0000000..64b958d --- /dev/null +++ b/perl-Error.spec @@ -0,0 +1,85 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Error +Version: 0.17022 +Release: 1mamba +Summary: Error - Error/exception handling in an OO-ish way +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz +License: GPL, Artistic +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Error - Error/exception handling in an OO-ish way. + +%prep +%setup -q -n Error-%{version} + +%build +perl Build.PL installdirs=vendor +./Build +./Build test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +./Build install \ + destdir="%{buildroot}" \ + --install_path bindoc="%{_mandir}/man1" \ + --install_path libdoc="%{_mandir}/man3" + +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +find %{buildroot}%{perl_vendorlib} \ + -type d -depth -exec rmdir {} 2>/dev/null \; + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo %dir ${dir#%buildroot} >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Tue Feb 25 2014 Automatic Build System 0.17022-1mamba +- automatic update by autodist + +* Sun Sep 01 2013 Automatic Build System 0.17021-1mamba +- automatic update by autodist + +* Fri May 10 2013 Automatic Build System 0.17020-1mamba +- automatic version update by autodist + +* Wed Nov 21 2012 Automatic Build System 0.17019-1mamba +- update to 0.17019 + +* Thu Aug 09 2012 Automatic Build System 0.17018-1mamba +- automatic version update by autodist + +* Wed Feb 15 2012 Automatic Build System 0.17017-1mamba +- automatic version update by autodist + +* Wed Jan 13 2010 Automatic Build System 0.17016-1mamba +- automatic update by autodist + +* Thu Feb 05 2009 Silvan Calarco 0.17015-1mamba +- automatic update by autodist + +* Tue Nov 04 2008 Silvan Calarco 0.17010-2mamba +- automatic rebuild by autodist + +* Wed Dec 12 2007 Silvan Calarco 0.17010-1mamba +- package created by autospec