mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
DEVEL153X-rhel3-disable-fedorakmod-20080707
LICENSE IPL10
FIXES 102673
if we're building for 2.4.x we need to disable fedorakmod. do so here in our
packaging.
(cherry picked from commit 9946c027a3
)
This commit is contained in:
parent
6a180af0ea
commit
f776e8e16e
@ -28,6 +28,15 @@
|
||||
%define kernvers %(%{_sourcedir}/openafs-kernel-version.sh)
|
||||
%endif
|
||||
|
||||
# If we're building for a 2.4 series kernel, then fedora style kmods aren't
|
||||
# appropriate - disable them.
|
||||
|
||||
%define kern24 %([ `echo "%{kernvers}" | sed -e 's/^\([0-9]*\.[0-9]*\)\..*/\1/'` = "2.4" ] && echo 1 || echo 0)
|
||||
|
||||
%if %{kern24}
|
||||
%define fedorakmod 0
|
||||
%endif
|
||||
|
||||
%if %{fedorakmod}
|
||||
%define kmodtool bash %{_sourcedir}/openafs-kmodtool
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user