Teach RPM the package name provided in Perl alias packages.
authorNoah Misch <[email protected]>
Wed, 7 Aug 2024 18:43:34 +0000 (11:43 -0700)
committerNoah Misch <[email protected]>
Wed, 7 Aug 2024 18:43:45 +0000 (11:43 -0700)
commit646b16bcafeaa98d7a085ccf4bef11dfc0999fb8
tree58cf6ec2c49408b91dab97f2d4d634c6d43fe59a
parent76265a851b13bbb001a218481c0cb6315c0fdfe6
Teach RPM the package name provided in Perl alias packages.

When commit 1185be355462d1dc7e2950a7e52eb7ca0cb6f3c8 introduced
installation of a file containing "use PostgreSQL::Test::Utils", the RPM
Package Manager said "nothing provides perl(PostgreSQL::Test::Utils)".
Discussed on pgsql-packagers.  Back-patch to v12, v13, and v14 only;
newer versions don't have the alias packages.

Reviewed by Andrew Dunstan, Tom Lane, and John Harvey.  Reported by John
Harvey.
src/test/perl/PostgreSQL/Test/Cluster.pm
src/test/perl/PostgreSQL/Test/Utils.pm