Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 1 | From 58bf006646a063837c46b695f7e7ebb69bee7238 Mon Sep 17 00:00:00 2001 |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 2 | From: Mark Hatle <mark.hatle@windriver.com> |
| 3 | Date: Tue, 15 Aug 2017 16:41:57 -0500 |
| 4 | Subject: [PATCH] perl: disable auto requires |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 5 | |
| 6 | When generating automatic requirements, it's possible for perl scripts to |
| 7 | declare 'optional' dependencies. These seem to often be incorrect and will |
| 8 | cause installation failures in OE. Instead of fixing the perl scripts, it |
| 9 | was decided it is better to simply disable the automatic dependency |
| 10 | generation. This matches the behavior from the previous RPM5 implementation. |
| 11 | |
| 12 | Upstream-Status: Inappropriate [OE specific configuration] |
| 13 | |
| 14 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 15 | --- |
| 16 | fileattrs/perl.attr | 2 +- |
| 17 | fileattrs/perllib.attr | 2 +- |
| 18 | 2 files changed, 2 insertions(+), 2 deletions(-) |
| 19 | |
| 20 | diff --git a/fileattrs/perl.attr b/fileattrs/perl.attr |
| 21 | index 0daef58d5..81ddf5305 100644 |
| 22 | --- a/fileattrs/perl.attr |
| 23 | +++ b/fileattrs/perl.attr |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 24 | @@ -1,3 +1,3 @@ |
| 25 | -%__perl_requires %{_rpmconfigdir}/perl.req |
| 26 | +#__perl_requires %{_rpmconfigdir}/perl.req |
| 27 | %__perl_magic ^.*[Pp]erl .*$ |
| 28 | %__perl_flags exeonly |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 29 | diff --git a/fileattrs/perllib.attr b/fileattrs/perllib.attr |
| 30 | index fcad48099..495a28927 100644 |
| 31 | --- a/fileattrs/perllib.attr |
| 32 | +++ b/fileattrs/perllib.attr |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 33 | @@ -1,5 +1,5 @@ |
| 34 | %__perllib_provides %{_rpmconfigdir}/perl.prov |
| 35 | -%__perllib_requires %{_rpmconfigdir}/perl.req |
| 36 | +#__perllib_requires %{_rpmconfigdir}/perl.req |
| 37 | %__perllib_magic ^Perl[[:digit:]] module source.* |
| 38 | %__perllib_path \\.pm$ |
| 39 | %__perllib_flags magic_and_path |