Name: perl-Acme-Damn Version: 0.03 Release: 7%{?dist} Summary: Unbless Perl objects License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Acme-Damn/ Source0: http://www.cpan.org/authors/id/I/IB/IBB/Acme-Damn-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(Test::Exception) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Acme::Damn provides a single routine, damn(), which takes a blessed reference (a Perl object), and unblesses it, to return the original reference. I can't think of any reason why you might want to do this, but just because it's of no use doesn't mean that you shouldn't be able to do it. %prep %setup -q -n Acme-Damn-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Acme* %{_mandir}/man3/* %changelog * Thu Feb 26 2009 Fedora Release Engineering - 0.03-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 06 2008 Tom "spot" Callaway - 0.03-6 Rebuild for new perl * Mon Feb 18 2008 Fedora Release Engineering - 0.03-5 - Autorebuild for GCC 4.3 * Tue Aug 21 2007 Chris Weyl 0.03-4 - bump * Mon Feb 19 2007 Chris Weyl 0.03-3 - bump * Wed Feb 14 2007 Chris Weyl 0.03-2 - remove quotes from "unbless" in summary to make rpmlint happy * Tue Feb 13 2007 Chris Weyl 0.03-1 - Specfile autogenerated by cpanspec 1.70.