[krb5] Add the buildrequires: for AES-NI support

Nalin Dahyabhai nalin at fedoraproject.org
Thu Dec 19 18:08:05 UTC 2013


commit 911b9e932db5f432c40e94b5f23fc421a9cce225
Author: Nalin Dahyabhai <nalin at dahyabhai.net>
Date:   Thu Dec 19 13:07:54 2013 -0500

    Add the buildrequires: for AES-NI support
    
    - add yasm as a build requirement for AES-NI support, on arches that have
      yasm and AES-NI

 krb5.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/krb5.spec b/krb5.spec
index 5bb3da4..46fe1ea 100644
--- a/krb5.spec
+++ b/krb5.spec
@@ -41,7 +41,7 @@
 Summary: The Kerberos network authentication system
 Name: krb5
 Version: 1.12
-Release: 5%{?dist}
+Release: 6%{?dist}
 # Maybe we should explode from the now-available-to-everybody tarball instead?
 # http://web.mit.edu/kerberos/dist/krb5/1.12/krb5-1.12-signed.tar
 Source0: krb5-%{version}.tar.gz
@@ -148,6 +148,11 @@ BuildRequires: iproute
 %if 0%{?fedora} >= 9
 BuildRequires: python-pyrad
 %endif
+%if 0%{?fedora} >= 8
+%ifarch %{ix86} x86_64
+BuildRequires: yasm
+%endif
+%endif
 
 %if %{WITH_LDAP}
 BuildRequires: openldap-devel
@@ -969,6 +974,10 @@ exit 0
 %{_sbindir}/uuserver
 
 %changelog
+* Thu Dec 19 2013 Nalin Dahyabhai <nalin at redhat.com> - 1.12-6
+- add yasm as a build requirement for AES-NI support, on arches that have
+  yasm and AES-NI
+
 * Thu Dec 19 2013 Nalin Dahyabhai <nalin at redhat.com> - 1.12-5
 - pull in fix from master to make reporting of errors encountered by
   the SPNEGO mechanism work better (RT#7045, part of #1043962)


More information about the scm-commits mailing list