> -----Original Message----- > From: Alexander Kanavin [mailto:[email protected]] > Sent: den 15 juni 2017 16:00 > To: Peter Kjellerstedt <[email protected]>; openembedded- > [email protected] > Subject: Re: [OE-core] [PATCH 09/11] package_rpm.bbclass: Filter out > unwanted file deps for nativesdk packages > > On 06/15/2017 04:53 PM, Peter Kjellerstedt wrote: > > Filter out any file dependencies on absolute paths and any > > dependencies on Perl modules for nativesdk packages. It is assumed > > that they will be provided by the native host if needed, and they > mess > > up the dependency handling if they are present. > > Does this mean you can also drop the "bin/sh" hack from here in the > same > file? > > print_deps(srcrprovides + (" /bin/sh" if > srcname.startswith("nativesdk-") else ""), "Provides", > spec_preamble_top, d) > > > Alex
No, unfortunately not. I tried it, but it turns out rpm adds the dependency itself even if it is not specified in the .spec file due to the postinst scriptlet. //Peter -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
