Name: perl-Carp-Assert
Version: 0.20
Release: 9%{?dist}
Summary: Executable comments
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Carp-Assert/
Source0: http://www.cpan.org/authors/id/M/MS/MSCHWERN/Carp-Assert-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Pod::Tests)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Carp::Assert is intended for a purpose like the ANSI C library assert.h.
%prep
%setup -q -n Carp-Assert-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%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 ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/Carp/
%{_mandir}/man3/*.3pm*
%changelog
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.20-9
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.20-7
- 661697 rebuild for fixing problems with vendorach/lib
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.20-6
- Mass rebuild with perl-5.12.0
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.20-5
- rebuild against perl 5.10.1
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.20-2
- rebuild for new perl
* Fri Jan 12 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
- Update to 0.20.
* Fri Sep 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.18-4
- Rebuild for FC6.
* Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.18-3
- Rebuild for FC5 (perl 5.8.8).
* Thu Aug 25 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.18-2
- Build conflicts with Test::Inline (#165903).
* Thu Aug 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.18-1
- First build.