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:40 +0000 (11:43 -0700)
commit382909b635cb0eb164ef678b68b0cc4ecfb26d6b
treeeba428da12c37d5291f7a96bbde018b104a7f796
parent0dc08bbfcc93ac4f04d2a3f4b9d1231a80e2cc0c
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