Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/perl-Types-Serialiser.git#b7b2d0782d637619d8912ae8b24abb3d576aafe5
This commit is contained in:
DistroBaker 2020-12-01 15:11:20 +00:00
parent fd1db6170f
commit e2c0700fd0
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