Add BuildRequires on python2 so we can run tests at build-time

This commit is contained in:
Robbie Harwood 2018-07-06 15:27:21 +00:00
parent 97d3fa66d0
commit 2fc18e9142

View File

@ -18,7 +18,7 @@ Summary: The Kerberos network authentication system
Name: krb5 Name: krb5
Version: 1.16.1 Version: 1.16.1
# for prerelease, should be e.g., 0.% {prerelease}.1% { ?dist } (without spaces) # for prerelease, should be e.g., 0.% {prerelease}.1% { ?dist } (without spaces)
Release: 8%{?dist} Release: 9%{?dist}
# lookaside-cached sources; two downloads and a build artifact # lookaside-cached sources; two downloads and a build artifact
Source0: https://web.mit.edu/kerberos/dist/krb5/1.16/krb5-%{version}%{prerelease}.tar.gz Source0: https://web.mit.edu/kerberos/dist/krb5/1.16/krb5-%{version}%{prerelease}.tar.gz
@ -152,6 +152,9 @@ BuildRequires: yasm
BuildRequires: nss_wrapper BuildRequires: nss_wrapper
BuildRequires: socket_wrapper BuildRequires: socket_wrapper
# To run TESTS, we need python2
BuildRequires: python2
%description %description
Kerberos V5 is a trusted-third-party network authentication system, Kerberos V5 is a trusted-third-party network authentication system,
which can improve your network's security by eliminating the insecure which can improve your network's security by eliminating the insecure
@ -744,6 +747,9 @@ exit 0
%{_libdir}/libkadm5srv_mit.so.* %{_libdir}/libkadm5srv_mit.so.*
%changelog %changelog
* Fri Jul 06 2018 Robbie Harwood <rharwood@redhat.com> - 1.16.1-9
- Add BuildRequires on python2 so we can run tests at build-time
* Fri Jul 06 2018 Robbie Harwood <rharwood@redhat.com> - 1.16.1-8 * Fri Jul 06 2018 Robbie Harwood <rharwood@redhat.com> - 1.16.1-8
- Explicitly look for python2 in configure.in - Explicitly look for python2 in configure.in