2010-09-03 19:47:27 +00:00
committed by Git OBS Bridge
parent 8ca3d9b4e5
commit 8f8421123c
3 changed files with 32 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ Source8: get_kernel_version.c
Source20: aaa_base-rpmlintrc
Source21: aaa_base.pre
Source22: aaa_base.post
Patch0: get_kernel_version_fix_plus_in_kernel_string.patch
%description
This package installs several important configuration files. Central
@@ -60,11 +61,15 @@ and convenience hacks).
%prep
%setup -n aaa_base -b 5 -b 7
cd ..
mkdir -p scripts
cp -v %{SOURCE21} scripts
cp -v %{SOURCE22} scripts
cd $RPM_SOURCE_DIR
%patch0 -p0
%build
gcc $RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 $RPM_SOURCE_DIR/get_kernel_version.c -o $RPM_SOURCE_DIR/get_kernel_version