Skip to content

Commit

Permalink
spec: Use Requires: git-core if distribution is new enough
Browse files Browse the repository at this point in the history
I am planning to propose we include `origin-clients` in Fedora Atomic
Workstation by default.

It was pointed out that that pulls in `git` which pulls in Perl.  A
while ago we added a `git-core` which is really all we need:
https://bugzilla.redhat.com/show_bug.cgi?id=1161251
  • Loading branch information
cgwalters committed Feb 11, 2018
1 parent 76c1143 commit cb73679
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions origin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,12 @@ Provides: tuned-profiles-%{name}-node
%package clients
Summary: %{product_name} Client binaries for Linux
Obsoletes: openshift-clients < %{package_refector_version}
# https://bugzilla.redhat.com/show_bug.cgi?id=1161251
%if 0%{?fedora} || 0%{?rhel} >= 8
Requires: git-core
%else
Requires: git
%endif
Requires: bash-completion

%description clients
Expand Down

0 comments on commit cb73679

Please sign in to comment.