From c422e3133d24ff1c6c8a016b4572802ad62ff32e Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul(a)city-fan.org>
Date: Tue, 1 Aug 2017 09:15:50 +0100
Subject: Update to 0.17
- New upstream release 0.17
- A large chunk of boilerplate XS code, which is also used in other XS
modules, has been factored out of the main .xs file to a collection of .h
files in the xsh subdirectory
- The new optimization in perl 5.27.3 for scalar(keys(%$hashref)) is now
correctly supported
---
.gitignore | 1 +
.rpmlint | 5 +++++
perl-autovivification.spec | 24 ++++++++++++++++++------
sources | 2 +-
4 files changed, 25 insertions(+), 7 deletions(-)
create mode 100644 .rpmlint
diff --git a/.gitignore b/.gitignore
index 28af997..d8da34e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/autovivification-0.14.tar.gz
/autovivification-0.15.tar.gz
/autovivification-0.16.tar.gz
+/autovivification-0.17.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..594e07b
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,5 @@
+from Config import *
+
+addFilter("spelling-error Summary\(en_US\) Lexically -> ")
+addFilter("spelling-error %description -l en_US dereferenced -> ")
+addFilter("spelling-error %description -l en_US dereferencing -> ")
diff --git a/perl-autovivification.spec b/perl-autovivification.spec
index ec53417..f12e3bd 100644
--- a/perl-autovivification.spec
+++ b/perl-autovivification.spec
@@ -1,6 +1,6 @@
Name: perl-autovivification
-Version: 0.16
-Release: 7%{?dist}
+Version: 0.17
+Release: 1%{?dist}
Summary: Lexically disable autovivification
License: GPL+ or Artistic
URL:
http://search.cpan.org/dist/autovivification/
@@ -10,9 +10,9 @@ BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
-BuildRequires: perl-interpreter
BuildRequires: perl-devel
BuildRequires: perl-generators
+BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
@@ -50,13 +50,17 @@ constructs like exists.
%setup -q -n autovivification-%{version}
%build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
+perl Makefile.PL \
+ INSTALLDIRS=vendor \
+ OPTIMIZE="%{optflags}" \
+ NO_PACKLIST=1 \
+ NO_PERLLOCAL=1
make %{?_smp_mflags}
%install
-make pure_install DESTDIR=%{buildroot}
+make install DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.bs' -empty -delete
-%{_fixperms} %{buildroot}
+%{_fixperms} -c %{buildroot}
%check
make test
@@ -68,6 +72,14 @@ make test
%{_mandir}/man3/autovivification.3*
%changelog
+* Tue Aug 1 2017 Paul Howarth <paul(a)city-fan.org> - 0.17-1
+- Update to 0.17
+ - A large chunk of boilerplate XS code, which is also used in other XS
+ modules, has been factored out of the main .xs file to a collection of .h
+ files in the xsh subdirectory
+ - The new optimization in perl 5.27.3 for scalar(keys(%%$hashref)) is now
+ correctly supported
+
* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.16-7
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/sources b/sources
index 6e82af2..fcd7257 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7e20817f6034910c1bc23351d81a0658 autovivification-0.16.tar.gz
+SHA512 (autovivification-0.17.tar.gz) =
44377110a2f3e9829f2dddd5df0da9cca2718bcddff550d7a948196bc7e21d6b07e9c364e0951614baeedfe1914c54bf09b7c0b614a9420a9e53d55683134f5e
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-autovivification.git/commit/?h=ma...