%define upstream_name Module-Install-AckXXX %define upstream_version 0.18 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Warn Author About XXX.pm License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Module/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(App::Ack) BuildRequires: perl(Capture::Tiny) BuildRequires: perl(ExtUtils::MakeMaker) BuildArch: noarch %description If you are the module author, this module runs the command: system "ack '^\\s*use XXX\\b'"; whenever you run: %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc META.yml Changes README LICENSE %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.180.0-2.mga3 + Revision: 369828 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Jan 30 2012 shlomif <shlomif> 0.180.0-1.mga2 + Revision: 203472 - imported package perl-Module-Install-AckXXX