perl-Types-Serialiser/Types-Serialiser-1.0-provides.patch

13 lines
400 B
Diff
Raw Normal View History

2020-03-06 16:20:09 +08:00
--- a/Serialiser.pm
+++ b/Serialiser.pm
@@ -102,7 +102,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.
- package JSON::PP::Boolean;
+ package # hide from rpm
+ JSON::PP::Boolean;
*Types::Serialiser::Boolean:: = *JSON::PP::Boolean::;
}