pghmcfc pushed to perl-Scope-Guard (perl-Scope-Guard-0.21-1.fc23). "Update to 0.21 (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Jul 20 09:44:27 UTC 2015
From 3c5105cb616b78580f1e910098c30d4a9352f52d Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Mon, 20 Jul 2015 10:26:44 +0100
Subject: Update to 0.21
- New upstream release 0.21
- Remove useless use of UNIVERSAL::isa (CPAN RT#105948)
- Classify buildreqs by usage
- Drop obsoletes/provides for old tests sub-package
- Drop %defattr, redundant since rpm 4.4
- Don't need to remove empty directories from the buildroot
- Don't use macros for common commands
- Make %files list more explicit
diff --git a/.gitignore b/.gitignore
index 7111e82..6d5b407 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-Scope-Guard-0.12.tar.gz
-/Scope-Guard-0.20.tar.gz
+/Scope-Guard-[0-9.]*.tar.gz
diff --git a/perl-Scope-Guard.spec b/perl-Scope-Guard.spec
index 7063720..8822594 100644
--- a/perl-Scope-Guard.spec
+++ b/perl-Scope-Guard.spec
@@ -1,22 +1,27 @@
Name: perl-Scope-Guard
Summary: Lexically scoped resource management
-Version: 0.20
-Release: 15%{?dist}
+Version: 0.21
+Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHOCOLATE/Scope-Guard-%{version}.tar.gz
URL: http://search.cpan.org/dist/Scope-Guard/
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
-
+# Module Build
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
+BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
+# Module Runtime
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Test Suite
BuildRequires: perl(Test::More)
-BuildRequires: perl(Test::Pod)
-
-# obsolete/provide old tests subpackage
-# can be removed during F23 development cycle
-Obsoletes: %{name}-tests < 0.20-11
-Provides: %{name}-tests = %{version}-%{release}
+# Runtime
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
@@ -33,27 +38,33 @@ collector.
%setup -q -n Scope-Guard-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
-
-find %{buildroot} -type f -name .packlist -exec rm -f {} +
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} %{buildroot}/*
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} %{buildroot}
%check
make test
%files
-%defattr(-,root,root,-)
%doc Changes README t/
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/Scope/
+%{_mandir}/man3/Scope::Guard.3*
%changelog
+* Mon Jul 20 2015 Paul Howarth <paul at city-fan.org> - 0.21-1
+- Update to 0.21
+ - Remove useless use of UNIVERSAL::isa (CPAN RT#105948)
+- Classify buildreqs by usage
+- Drop obsoletes/provides for old tests sub-package
+- Drop %%defattr, redundant since rpm 4.4
+- Don't need to remove empty directories from the buildroot
+- Don't use macros for common commands
+- Make %%files list more explicit
+
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.20-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
diff --git a/sources b/sources
index c38bc81..dec4b56 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-495d5ae16a2df8128fd068c386c9d4ac Scope-Guard-0.20.tar.gz
+be57b915d23ddac7677ef2ad9e52b92a Scope-Guard-0.21.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Scope-Guard.git/commit/?h=perl-Scope-Guard-0.21-1.fc23&id=3c5105cb616b78580f1e910098c30d4a9352f52d
More information about the perl-devel
mailing list