[cpp-sp] branch master updated: SSPCPP-889 - keygen.sh implicitly relies on hostname command

Scott Cantor cantor.2 at osu.edu
Wed Apr 8 18:52:12 EDT 2020


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=26109b4617326127396e7c76227bab1c77b10157

The following commit(s) were added to refs/heads/master by this push:
       new  26109b4   SSPCPP-889 - keygen.sh implicitly relies on hostname command
26109b4 is described below

commit 26109b4617326127396e7c76227bab1c77b10157
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Apr 8 18:51:27 2020 -0400

    SSPCPP-889 - keygen.sh implicitly relies on hostname command
    
    https://issues.shibboleth.net/jira/browse/SSPCPP-889
    
    hostname package only exists on RH7/8, net-tools everywhere else.
---
 shibboleth.spec.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/shibboleth.spec.in b/shibboleth.spec.in
index 5d3f360..5a30fc6 100644
--- a/shibboleth.spec.in
+++ b/shibboleth.spec.in
@@ -9,7 +9,7 @@ URL:		http://shibboleth.net/
 Source:		%{name}-sp-%{version}.tar.bz2
 BuildRoot:	%{_tmppath}/%{name}-sp-%{version}-root
 Obsoletes:	shibboleth-sp = 2.5.0
-Requires:	openssl, hostname
+Requires:	openssl
 %if 0%{?rhel} >= 6 || 0%{?amzn} >= 1
 PreReq:		xmltooling-schemas%{?_isa} >= 3.1.0, opensaml-schemas%{?_isa} >= 3.1.0
 %else
@@ -19,7 +19,10 @@ PreReq:		xmltooling-schemas >= 3.1.0, opensaml-schemas >= 3.1.0
 PreReq:		%{insserv_prereq} %{fillup_prereq}
 %endif
 %if 0%{?rhel} >= 7
+Requires: hostname
 BuildRequires:  systemd-devel
+%else
+Requires: net-tools
 %endif
 %if 0%{?rhel} >= 8
 BuildRequires:  gdb

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list