%define upstream_name Module-Reload %define upstream_version 1.07 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Reload %%INC files when updated on disk License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Module/%{upstream_name}-%{upstream_version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description When Perl pulls a file via C<require>, it stores the filename in the global hash C<%%INC>. The next time Perl tries to C<require> the same file, it sees the file in C<%%INC> and does not reload from disk. This module's handler iterates over C<%%INC> and reloads the file if it has changed on disk. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README %{perl_vendorlib}/Module %{_mandir}/man3/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.70.0-2.mga3 + Revision: 369968 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 13 2011 jquelin <jquelin> 1.70.0-1.mga1 + Revision: 13075 - imported package perl-Module-Reload