This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user