Skip to content

Commit

Permalink
enable internal_dependency_generator for Fedora >= 28
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigro committed Aug 19, 2018
1 parent be813cf commit 052e18b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion java-1.8.0-oracle.spec
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@

# Avoid RPM 4.2+'s internal dep generator, it may produce bogus
# Provides/Requires here.
%define _use_internal_dependency_generator 0
%if 0%{?fedora} >= 28
%define _use_internal_dependency_generator 1
%endif

# This prevents aggressive stripping.
%define debug_package %{nil}
Expand Down

2 comments on commit 052e18b

@jonathanunderwood
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is correct. The internal dependency generator is default on, for example F27, so this change enables the internal generator on all Fedora version for which it is enabled by default.

@jonathanunderwood
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See PR #3

Please sign in to comment.