[krb5] add explicit buildrequires: on 'hostname' and 'net-tools'
Nalin Dahyabhai
nalin at fedoraproject.org
Fri Jun 1 20:32:28 UTC 2012
commit 6e8c2c396cd34bf04e4cf63548040cac7f8c5e1f
Author: Nalin Dahyabhai <nalin at dahyabhai.net>
Date: Fri Jun 1 16:31:50 2012 -0400
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 files changed, 7 insertions(+), 0 deletions(-)
---
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 <nalin at redhat.com>
- skip the setfscreatecon() if fopen() is passed "rb" as the open mode (part
More information about the scm-commits
mailing list