Re: unexpected things when building custom gradle RPM

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

 



Awesome!

I will try this once I'm at my F24 machine again, now on F23.

On 18/07/16 08:07, Mikolaj Izdebski wrote:
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.


--
Ferry Huberts
--
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