Update to 1.01

- New upstream release 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
This commit is contained in:
Paul Howarth 2020-12-01 14:56:50 +00:00
parent 6f4539964b
commit b7b2d0782d
3 changed files with 18 additions and 11 deletions

View File

@ -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.

View File

@ -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 <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 1.0-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1 +1 @@
76460a2bfbc644672499af89192e03fe Types-Serialiser-1.0.tar.gz
SHA512 (Types-Serialiser-1.01.tar.gz) = 419b24cae85fba045de2f4593e1d17784f2016d5f9cd9ea96d23bbeaa86c1c6b866875871a787cacba1299616d371cc8806760e4c53e4f635deec4bc28fa81b5