Repository: aurora Updated Branches: refs/heads/master fb0325065 -> 7fdcfef17
Build Kerberos clients in RPM. Testing Done: None - I don't have a test environment for RPMs. Bugs closed: AURORA-1410 Reviewed at https://reviews.apache.org/r/37047/ Project: http://git-wip-us.apache.org/repos/asf/aurora/repo Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/7fdcfef1 Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/7fdcfef1 Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/7fdcfef1 Branch: refs/heads/master Commit: 7fdcfef171a6cefb9edb121a6df2e8a95999549a Parents: fb03250 Author: Kevin Sweeney <[email protected]> Authored: Mon Aug 3 12:21:09 2015 -0700 Committer: Kevin Sweeney <[email protected]> Committed: Mon Aug 3 12:21:09 2015 -0700 ---------------------------------------------------------------------- build-support/packaging/rpm/aurora.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aurora/blob/7fdcfef1/build-support/packaging/rpm/aurora.spec ---------------------------------------------------------------------- diff --git a/build-support/packaging/rpm/aurora.spec b/build-support/packaging/rpm/aurora.spec index 3003ced..5ec516f 100644 --- a/build-support/packaging/rpm/aurora.spec +++ b/build-support/packaging/rpm/aurora.spec @@ -70,6 +70,7 @@ BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: git BuildRequires: java-%{JAVA_VERSION}-openjdk-devel +BuildRequires: krb5-devel BuildRequires: libcurl-devel BuildRequires: patch %if 0%{?rhel} && 0%{?rhel} < 7 @@ -102,6 +103,7 @@ resource isolation. Summary: A client for scheduling services against the Aurora scheduler Group: Development/Tools +Requires: krb5-libs %if 0%{?rhel} && 0%{?rhel} < 7 Requires: python27 %else @@ -177,8 +179,8 @@ popd ./gradle-%{GRADLE_VERSION}/bin/gradle installDist # Builds Aurora client PEX binaries. -./pants binary src/main/python/apache/aurora/admin:aurora_admin -./pants binary src/main/python/apache/aurora/client:aurora +./pants binary src/main/python/apache/aurora/kerberos:kaurora +./pants binary src/main/python/apache/aurora/kerberos:kaurora_admin # Builds Aurora Thermos and GC executor PEX binaries. ./pants binary src/main/python/apache/aurora/executor:thermos_executor @@ -222,6 +224,10 @@ for pex_binary in %{PEX_BINARIES}; do install -m 755 dist/${pex_binary}.pex %{buildroot}%{_bindir}/${pex_binary} done +# Strip the "k" from Kerberized client binaries. +mv %{buildroot}%{_bindir}/kaurora %{buildroot}%{_bindir}/aurora +mv %{buildroot}%{_bindir}/kaurora_admin %{buildroot}%{_bindir}/aurora_admin + # Installs all support scripting. %if 0%{?fedora} || 0%{?rhel} > 6 install -m 644 build-support/packaging/rpm/%{name}.service %{buildroot}%{_sysconfdir}/systemd/system/%{name}.service
