On 07/18/2016 07:56 AM, Mikolaj Izdebski wrote:
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\\(
Actually there is another option - disable generators by type, for example:
%undefine __maven_path
%undefine __osgi_path
%undefine __javadoc_path
etc.
--
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk