diff --git a/Types-Serialiser-1.0-provides.patch b/Types-Serialiser-1.01-provides.patch similarity index 84% rename from Types-Serialiser-1.0-provides.patch rename to Types-Serialiser-1.01-provides.patch index cdaed42..a8a249b 100644 --- a/Types-Serialiser-1.0-provides.patch +++ b/Types-Serialiser-1.01-provides.patch @@ -1,6 +1,6 @@ --- Serialiser.pm +++ Serialiser.pm -@@ -102,7 +102,8 @@ Returns false iff C<$value> is C<$Types: +@@ -112,7 +112,8 @@ Returns false iff C<$value> is C<$Types: BEGIN { # for historical reasons, and to avoid extra dependencies in JSON::PP, # we alias *Types::Serialiser::Boolean with JSON::PP::Boolean. diff --git a/perl-Types-Serialiser.spec b/perl-Types-Serialiser.spec index 8a6db4d..85c4dd0 100644 --- a/perl-Types-Serialiser.spec +++ b/perl-Types-Serialiser.spec @@ -1,18 +1,18 @@ Name: perl-Types-Serialiser Summary: Simple data types for common serialization formats -Version: 1.0 -Release: 20%{?dist} +Version: 1.01 +Release: 1%{?dist} License: GPL+ or Artistic URL: https://metacpan.org/release/Types-Serialiser -Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Types-Serialiser-%{version}.tar.gz -Patch0: Types-Serialiser-1.0-provides.patch +Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Types-Serialiser-%{version}.tar.gz +Patch0: Types-Serialiser-1.01-provides.patch BuildArch: noarch # Module Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) # Module Runtime BuildRequires: perl(Carp) @@ -28,7 +28,7 @@ Requires: perl(Carp) This module provides some extra data types that are used by common serialization formats such as JSON or CBOR. The idea is to have a repository of simple/small constants and containers that can be shared by different -implementations so they become interoperable between each other. +implementations so they become inter-operable between each other. %prep %setup -q -n Types-Serialiser-%{version} @@ -41,10 +41,9 @@ perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -%{_fixperms} %{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} %check make test @@ -61,6 +60,14 @@ make test %{_mandir}/man3/Types::Serialiser::Error.3* %changelog +* Tue Dec 1 2020 Paul Howarth - 1.01-1 +- Update to 1.01 + - Implement Types::Serialiser::as_bool + - Slight documentation tweaks +- Drop redundant buildroot cleaning in %%install section +- Simplify find command using -delete +- Fix permissions verbosely + * Tue Jul 28 2020 Fedora Release Engineering - 1.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index ba735b8..f0b4423 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -76460a2bfbc644672499af89192e03fe Types-Serialiser-1.0.tar.gz +SHA512 (Types-Serialiser-1.01.tar.gz) = 419b24cae85fba045de2f4593e1d17784f2016d5f9cd9ea96d23bbeaa86c1c6b866875871a787cacba1299616d371cc8806760e4c53e4f635deec4bc28fa81b5