perl-Types-Serialiser/Types-Serialiser-1.0-provides.patch
Paul Howarth e7b9601185 Package clean-up
- Hide package declaration for JSON::PP::Boolean from rpm to avoid need for
  provides filtering
- Classify buildreqs by usage
- Use %license where possible
2016-01-06 15:11:58 +00:00

13 lines
396 B
Diff

--- Serialiser.pm
+++ 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::;
}