Search
j0ke.net Open Build Service
>
Projects
>
ha
>
keepalived
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 16
[-]
[+]
Changed
keepalived.spec
@@ -17,6 +17,7 @@ %endif %if 0%{?rhel_version} BuildRequires: kernel-devel popt +%define kdir %(echo `find /usr/src/kernels -maxdepth 1 -type d |grep "2.6"`) %endif @@ -41,7 +42,7 @@ --with-kernel-dir=/usr/src/linux \ %endif %if 0%{?rhel_version} - --with-kernel-dir=/usr/src/kernels/2.6.* \ + --with-kernel-dir=%{kdir} \ %endif --mandir=%{_prefix}/share/man \ --enable-syncd && cat config.log