Re: unexpected things when building custom gradle RPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/java-devel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux