Name: perl-Package-New Version: 0.07 Release: 1%{?dist} Summary: Simple base package from which to inherit License: BSD URL: http://search.cpan.org/dist/Package-New/ Source0: http://search.cpan.org/CPAN/authors/id/M/MR/MRDVT/Package-New-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::Simple) >= 0.44 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The Package::New object provides a consistent object constructor for objects. %prep %setup -q -n Package-New-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w %{buildroot}/* %check make test %files %doc Changes README Todo %license LICENSE %{perl_vendorlib}/Package/ %{_mandir}/man3/*.3pm* %changelog * Fri Mar 20 2015 Tom Callaway - 0.07-1 - initial package