From 6e8c2c396cd34bf04e4cf63548040cac7f8c5e1f Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Fri, 1 Jun 2012 16:31:50 -0400 Subject: [PATCH] add explicit buildrequires: on 'hostname' and 'net-tools' - add explicit buildrequires: on 'hostname', for the tests, on systems where it's in its own package, and require net-tools, which used to provide the command, everywhere --- krb5.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/krb5.spec b/krb5.spec index 7d3d34b..8b22c8e 100644 --- a/krb5.spec +++ b/krb5.spec @@ -85,6 +85,10 @@ BuildRequires: pam-devel BuildRequires: systemd-units # For the test framework. BuildRequires: perl, dejagnu, tcl-devel +BuildRequires: net-tools +%if 0%{?fedora} >= 13 || 0%{?rhel} > 6 +BuildRequires: hostname +%endif %if %{WITH_LDAP} BuildRequires: openldap-devel @@ -761,6 +765,9 @@ exit 0 an AS reply that we can't encrypt (RT#2131, #748528) - don't shuffle around any shared libraries on releases with no-separate-/usr, since /usr/lib is the same place as /lib +- add explicit buildrequires: on 'hostname', for the tests, on systems where + it's in its own package, and require net-tools, which used to provide the + command, everywhere * Mon May 7 2012 Nalin Dahyabhai - skip the setfscreatecon() if fopen() is passed "rb" as the open mode (part