/[smeserver]/builds_bin/macros
ViewVC logotype

Diff of /builds_bin/macros

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.5 by slords, Thu Dec 28 23:41:39 2006 UTC Revision 1.6 by slords, Fri Dec 29 01:56:32 2006 UTC
# Line 15  Line 15 
15    
16  %distversion %(rpm -qf --qf='%{VERSION}' /etc/redhat-release)  %distversion %(rpm -qf --qf='%{VERSION}' /etc/redhat-release)
17  %dist .el%{distversion}.sme  %dist .el%{distversion}.sme
18  %smerelease() %(echo "%{?1}%{?dist}.%{?2}" | sed -e's|\\.$||')  %smerelease() %1%{dist}%{?2:.%2}
19    
20  #---------------------------------------------------------------------  #---------------------------------------------------------------------
21    
# Line 33  Line 33 
33  %_with_xenU %(test -d %{kmdl_kernelsrcdir xenU} && echo 1 || echo 0)  %_with_xenU %(test -d %{kmdl_kernelsrcdir xenU} && echo 1 || echo 0)
34  %_with_xen %(test -d %{kmdl_kernelsrcdir xen} && echo 1 || echo 0)  %_with_xen %(test -d %{kmdl_kernelsrcdir xen} && echo 1 || echo 0)
35    
36  %kmdl \  %kmdl(r:) \
37    %{-r:%{expand:%%define _kmdlrelease %{-r*}}} \
38  %kmdl_kernel \  %kmdl_kernel \
39  %kmdl_kernel smp \  %kmdl_kernel smp \
40  %kmdl_kernel hugemem \  %kmdl_kernel hugemem \
# Line 46  Line 47 
47  %{?1:%{expand:%%if %%{_with_%1}}} \  %{?1:%{expand:%%if %%{_with_%1}}} \
48  %package kmdl-%{_kversion}%{?1} \  %package kmdl-%{_kversion}%{?1} \
49  Summary: %{name} kernel%{?1:-%1} module(s) \  Summary: %{name} kernel%{?1:-%1} module(s) \
50    %{?_kmdlrelease:Release: %{_kmdlrelease}} \
51  Group: System Environment/Kernel \  Group: System Environment/Kernel \
52  BuildRequires: gcc \  BuildRequires: gcc \
53  BuildRequires: kernel%{?1:-%1}-devel = %{_kversion} \  BuildRequires: kernel%{?1:-%1}-devel = %{_kversion} \


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed