%define upstream_name Directory-Scratch %define upstream_version 0.15 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Perl Module to generate self-cleaning scratch space for tests License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Directory/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.360.0 BuildRequires: perl(File::Copy) BuildRequires: perl(File::Path) BuildRequires: perl(File::Slurp) >= 9999.120.0 BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) BuildRequires: perl(File::stat) BuildRequires: perl(Path::Class) BuildRequires: perl(Test::More) BuildArch: noarch %description When writing test suites for modules that operate on files, it's often inconvenient to correctly create a platform-independent temporary storage space, manipulate files inside it, then clean it up when the test exits. The inconvenience usually results in tests that don't work everwhere, or worse, no tests at all. This module aims to eliminate that problem by making it easy to do things right. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install %makeinstall_std %files %doc Changes META.yml MYMETA.yml README examples %{_mandir}/man3/* %perl_vendorlib/Directory %changelog * Sat Oct 19 2013 umeabot <umeabot> 0.150.0-2.mga4 + Revision: 526872 - Mageia 4 Mass Rebuild * Fri Jun 07 2013 jquelin <jquelin> 0.150.0-1.mga4 + Revision: 439064 - update to 0.15 * Sun Jan 13 2013 umeabot <umeabot> 0.140.0-2.mga3 + Revision: 365982 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Jan 21 2011 jquelin <jquelin> 0.140.0-1.mga1 + Revision: 28512 - mageia rebuild - imported package perl-Directory-Scratch * Tue Jul 28 2009 Jérôme Quelin <jquelin@mandriva.org> 0.140.0-1mdv2010.0 + Revision: 402136 - rebuild using %%perl_convert_version * Fri Aug 08 2008 Thierry Vignaud <tv@mandriva.org> 0.14-2mdv2009.0 + Revision: 268440 - rebuild early 2009.0 package (before pixel changes) * Wed Jun 11 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.14-1mdv2009.0 + Revision: 217982 - update to new version 0.14 + Michael Scherer <misc@mandriva.org> - enhance description and summary * Sat May 31 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.13-1mdv2009.0 + Revision: 213728 - import perl-Directory-Scratch * Sat May 31 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.13-1mdv2009.0 - first mdv release