Name: perl-Package-Anon Version: 0.05 Release: 3%{?dist} Summary: Anonymous packages License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Package-Anons/ Source0: http://search.cpan.org/CPAN/authors/id/A/AU/AUGGY/Package-Anon-%{version}.tar.gz # Build BuildRequires: perl(ExtUtils::MakeMaker) # Module BuildRequires: perl >= 4:5.14 BuildRequires: perl(Scalar::Util) BuildRequires: perl(XSLoader) # Test suite BuildRequires: perl(lib) BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Test::More) # Release tests BuildRequires: perl(Pod::Coverage::TrustPod) BuildRequires: perl(Test::EOL) BuildRequires: perl(Test::NoTabs) BuildRequires: perl(Test::Pod::Coverage) >= 1.08 BuildRequires: perl(Test::Pod) >= 1.41 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) # Avoid private object provides %{perl_default_filter} %description This module allows for anonymous packages that are independent of the main namespace and only available through an object instance, not by name. %prep %setup -q -n Package-Anon-%{version} %build perl Makefile.PL INSTALLDIRS=vendor OPTMIZE="%{optflags}" make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' %{_fixperms} %{buildroot} %check make test RELEASE_TESTING=1 %files %doc Changes LICENSE README %{perl_vendorarch}/auto/Package/ %{perl_vendorarch}/Package/ %{_mandir}/man3/Package::Anon.3pm* %changelog * Thu Feb 14 2013 Fedora Release Engineering - 0.05-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Jan 7 2013 Paul Howarth - 0.05-2 - Sanitize for Fedora submission (#892651) * Fri Jan 4 2013 Paul Howarth - 0.05-1 - Initial RPM build