--- kernel-source.changes | 1 + rpm/kernel-source.spec.in | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel-source.changes b/kernel-source.changes index 4697333..959ec1f 100644 --- a/kernel-source.changes +++ b/kernel-source.changes @@ -2,6 +2,7 @@ Fri Feb 5 07:47:40 UTC 2010 - jengelh@medozas.de - use standard short options in tar commands +- rpm/kernel-source.spec.in: use macros in a few more places ------------------------------------------------------------------- Thu Feb 4 13:23:57 CET 2010 - knikanth@suse.de diff --git a/rpm/kernel-source.spec.in b/rpm/kernel-source.spec.in index c1067ef..3395d0a 100644 --- a/rpm/kernel-source.spec.in +++ b/rpm/kernel-source.spec.in @@ -151,18 +151,18 @@ ln -sf linux%variant linux%variant # dummy symlink # Unpack the vanilla kernel sources tar -xjf %_sourcedir/linux-%srcversion.tar.bz2 -mv linux-%srcversion linux-%kernelrelease%variant +mv linux-%srcversion "%buildroot/%src_install_dir" %if %do_vanilla -cp -al linux-%kernelrelease%variant linux-%kernelrelease-vanilla +cp -al "%buildroot/%src_install_dir" linux-%kernelrelease-vanilla cd linux-%kernelrelease-vanilla %_sourcedir/apply-patches --vanilla %_sourcedir/series.conf %my_builddir %symbols rm -f $(find . -name ".gitignore") cd .. %endif -cd linux-%kernelrelease%variant +cd "%buildroot/%src_install_dir" %_sourcedir/apply-patches %_sourcedir/series.conf %my_builddir %symbols rm -f $(find . -name ".gitignore") -- 1.6.6.1 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org