Name: perl-Module-Versions Version: 0.02 Release: 1%{?dist} Summary: Handle versions of loaded modules with flexible result interface License: CHECK(GPL+ or Artistic) Group: Development/Libraries URL: http://search.cpan.org/dist/Module-Versions/ Source0: http://www.cpan.org/authors/id/T/TH/THW/Module-Versions-%{version}.zip BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Data::Dumper) >= 1 BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(Data::Dumper) >= 1 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Module::Versions handles versions of loaded modules with a flexible result interface. The main goal is to get as much version informations as possible about a module or module list with a simple call interface and an absolutely flexible result interface. Module::Versions handles *loaded* and *loadable* modules. %prep %setup -q -n Module-Versions-%{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 \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Jan 19 2013 Dave Cross 0.02-1 - Specfile autogenerated by cpanspec 1.78.