From 82524dc937ee2d3b404577e47857df6b5b9d18d3 Mon Sep 17 00:00:00 2001 From: Matthias Saou Date: Apr 24 2008 14:40:48 +0000 Subject: Add glob to the kerneldir location, since it contains the arch for F9+. --- diff --git a/keepalived.spec b/keepalived.spec index c23f113..2a6ef7b 100644 --- a/keepalived.spec +++ b/keepalived.spec @@ -4,7 +4,7 @@ Summary: HA monitor built upon LVS, VRRP and service pollers Name: keepalived Version: 1.1.15 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ Group: Applications/System URL: http://www.keepalived.org/ @@ -45,7 +45,9 @@ healthchecks and LVS directors failover. %build -%configure --with-kernel-dir="/lib/modules/%{kernel}/build" +# Get the first available kernel build dir for our version, expanding arch +KERNELDIR=$(ls -1d /lib/modules/%{kernel}*/build | head -1) +%configure --with-kernel-dir="${KERNELDIR}" %{__make} %{?_smp_mflags} STRIP=/bin/true @@ -100,10 +102,13 @@ fi %changelog -* Tue Feb 19 2008 Fedora Release Engineering - 1.1.15-4 +* Thu Apr 24 2008 Matthias Saou 1.1.15-5 +- Add glob to the kerneldir location, since it contains the arch for F9+. + +* Tue Feb 19 2008 Fedora Release Engineering - Autorebuild for GCC 4.3 -* Wed Dec 05 2007 Release Engineering - 1.1.15-3 +* Wed Dec 05 2007 Release Engineering - Rebuild for deps * Mon Oct 22 2007 Matthias Saou 1.1.15-2