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