On 07/17/2016 05:07 PM, Ferry Huberts wrote:
Hi list,
I have a custom gradle RPM that I build since fedora 23.
However, now on Fedora 24 this started pulling in a boatload of
'dependencies' that not actually dependencies since the package is
self-contained.
During the build some kind of osgi dependency analysis is run that
results in all these (fake) dependencies.
Can I turn this analysis off?
It seems to be new in Fedora 24 because I had no such problems in Fedora
23.
You have 3 options:
1. disable automatic dependency generators for the whole package
2. disable automatic dependency generators only for some files (regex)
3. exclude specific generated dependencies (filtering based on regex)
ad 1:
AutoReqProv: no
ad 2:
%global __requires_exclude_from ^%{_libexecdir}/gradle
%global __provides_exclude_from ^%{_libexecdir}/gradle
ad 3:
%global __requires_exclude ^osgi\\(
%global __provides_exclude ^osgi\\(
Please also refer to
https://bugzilla.redhat.com/show_bug.cgi?id=1348689
for more details, including build logs.
--
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk