pghmcfc pushed to perl-File-Slurp-Tiny (master). "Update to 0.004 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Jul 16 10:34:32 UTC 2015


From 8d361648c82aae260cc713d2f33afd9c2224f5d1 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Thu, 16 Jul 2015 11:33:52 +0100
Subject: Update to 0.004

- New upstream release 0.004
  - Add discouragement notice (File::Slurper is a better choice)
  - Don't skip '.\n' and '..\n' in read_dir
  - Don't install benchmark.pl
- Use %license where possible
- Release tests no longer part of main test suite

diff --git a/perl-File-Slurp-Tiny.spec b/perl-File-Slurp-Tiny.spec
index c6c0971..28c320b 100644
--- a/perl-File-Slurp-Tiny.spec
+++ b/perl-File-Slurp-Tiny.spec
@@ -2,8 +2,8 @@
 %global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION) < 0.88 ? 1 : 0);' 2>/dev/null || echo 0)
 
 Name:		perl-File-Slurp-Tiny
-Version:	0.003
-Release:	7%{?dist}
+Version:	0.004
+Release:	1%{?dist}
 Summary:	A simple, sane and efficient file slurper
 Group:		Development/Libraries
 License:	GPL+ or Artistic
@@ -13,7 +13,11 @@ Patch0:		File-Slurp-Tiny-0.003-old-Test::More.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 # Build
-BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:	coreutils
+BuildRequires:	findutils
+BuildRequires:	make
+BuildRequires:	perl
+BuildRequires:	perl(ExtUtils::MakeMaker)
 # Module
 BuildRequires:	perl(Carp)
 BuildRequires:	perl(Exporter) >= 5.57
@@ -22,15 +26,8 @@ BuildRequires:	perl(FileHandle)
 BuildRequires:	perl(strict)
 BuildRequires:	perl(warnings)
 # Test Suite
-BuildRequires:	perl(File::Spec)
 BuildRequires:	perl(File::Temp)
-BuildRequires:	perl(IO::Handle)
-BuildRequires:	perl(IPC::Open3)
 BuildRequires:	perl(Test::More)
-# Release Tests
-BuildRequires:	perl(Pod::Coverage::TrustPod)
-BuildRequires:	perl(Test::Pod)
-BuildRequires:	perl(Test::Pod::Coverage)
 # Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -56,21 +53,31 @@ make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 %{_fixperms} %{buildroot}
 
-# Don't want to ship the benchmark script
-rm %{buildroot}%{perl_vendorlib}/File/Slurp/benchmark.pl
-
 %check
-make test RELEASE_TESTING=1
+make test
 
 %clean
 rm -rf %{buildroot}
 
 %files
-%doc Changes LICENSE README
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
+%doc Changes README
 %{perl_vendorlib}/File/
-%{_mandir}/man3/File::Slurp::Tiny.3pm*
+%{_mandir}/man3/File::Slurp::Tiny.3*
 
 %changelog
+* Thu Jul 16 2015 Paul Howarth <paul at city-fan.org> - 0.004-1
+- Update to 0.004
+  - Add discouragement notice (File::Slurper is a better choice)
+  - Don't skip '.\n' and '..\n' in read_dir
+  - Don't install benchmark.pl
+- Use %%license where possible
+- Release tests no longer part of main test suite
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.003-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 3a15420..872689d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b3c1c485b5bc40f7e94acfd983d7a871  File-Slurp-Tiny-0.003.tar.gz
+7575b81543281ea57cdb7e5eb3f73264  File-Slurp-Tiny-0.004.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-File-Slurp-Tiny.git/commit/?h=master&id=8d361648c82aae260cc713d2f33afd9c2224f5d1


More information about the perl-devel mailing list