Name: perl-Sys-Path Version: 0.10 Release: 2%{?dist} Summary: Supply autoconf style installation directories License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Sys-Path/ Source0: http://www.cpan.org/modules/by-module/Sys/Sys-Path-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(JSON::Util) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Compile) >= 0.08 BuildRequires: perl(Test::More) BuildRequires: perl(Text::Diff) BuildRequires: perl(Test::Distribution) BuildRequires: perl(Test::Fixme) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The goal is that Sys::Path provides autoconf style system paths. %prep %setup -q -n Sys-Path-%{version} %build PERL_MM_USE_DEFAULT=1 %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Jun 9 2011 RĂ¼diger Landmann 0.10-2 - Remove redundant requires from spec * Mon Mar 14 2011 RĂ¼diger Landmann 0.10-1 - Specfile autogenerated by cpanspec 1.78. - set to use defaults at build time. - BR Test::Distribution and Test::Fixme