[packages/perl-Directory-Scratch] - updated to 0.18

qboosh qboosh at pld-linux.org
Tue Nov 8 21:23:58 CET 2016


commit 0494d725eaf19a36dc0da0750ab64e74b8f6365e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Nov 8 21:23:56 2016 +0100

    - updated to 0.18

 perl-Directory-Scratch.spec | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/perl-Directory-Scratch.spec b/perl-Directory-Scratch.spec
index 068ac84..aa8dc61 100644
--- a/perl-Directory-Scratch.spec
+++ b/perl-Directory-Scratch.spec
@@ -8,19 +8,22 @@
 Summary:	Directory::Scratch - Easy-to-use self-cleaning scratch space
 Summary(pl.UTF-8):	Directory::Scratch - łatwa w użyciu samoczyszcząca przestrzeń robocza
 Name:		perl-Directory-Scratch
-Version:	0.14
-Release:	2
-License:	Perl
+Version:	0.18
+Release:	1
+# same as perl 5
+License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/Directory/Directory-Scratch-%{version}.tar.gz
-# Source0-md5:	3e759c3a5ff8c678725aad99e80a5c14
+# Source0-md5:	66ea2b47c1bb184b08ba562d14727fb4
 URL:		http://search.cpan.org/dist/Directory-Scratch/
+BuildRequires:	perl-Module-Build-Tiny
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
 BuildRequires:	perl-File-Slurp >= 9999.12
 # version is just because it failed on 0.12 here, even if makefile doesn't specify minimum version
 BuildRequires:	perl-Path-Class > 0.12
+BuildRequires:	perl-Path-Tiny >= 0.060
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,8 +36,7 @@ Directory::Scratch - łatwa w użyciu samoczyszcząca przestrzeń robocza.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-mv t/os/win32.t{,.off}
-mv t/os/mac.t{,.off}
+%{__mv} t/os/win32.t{,.off}
 
 %build
 %{__perl} Makefile.PL \
@@ -59,6 +61,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc Changes README
 %dir %{perl_vendorlib}/Directory
-%{perl_vendorlib}/Directory/*.pm
-%{_mandir}/man3/*
+%{perl_vendorlib}/Directory/Scratch.pm
+%{_mandir}/man3/Directory::Scratch.3pm*
 %{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Directory-Scratch.git/commitdiff/0494d725eaf19a36dc0da0750ab64e74b8f6365e



More information about the pld-cvs-commit mailing list