summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/odroid-linux-kernel.spec2
-rw-r--r--packaging/rinato-linux-kernel.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/odroid-linux-kernel.spec b/packaging/odroid-linux-kernel.spec
index 77fe116a612..eadfb2b8e86 100644
--- a/packaging/odroid-linux-kernel.spec
+++ b/packaging/odroid-linux-kernel.spec
@@ -44,7 +44,7 @@ Provides: %{variant}-kernel-modules-uname-r = %{fullVersion}
Kernel-modules includes the loadable kernel modules(.ko files) for %{target_board}
%prep
-%setup -q
+%setup -q -n linux-kernel-%{version}
%build
# Make sure EXTRAVERSION says what we want it to say
diff --git a/packaging/rinato-linux-kernel.spec b/packaging/rinato-linux-kernel.spec
index 0c9c07e35e0..27408562451 100644
--- a/packaging/rinato-linux-kernel.spec
+++ b/packaging/rinato-linux-kernel.spec
@@ -33,7 +33,7 @@ Provides: %{variant}-kernel-uname-r = %{fullVersion}
This package contains the Linux kernel for Tizen (%{profile} profile, arch %{buildarch}, target board %{target_board})
%prep
-%setup -q
+%setup -q -n linux-kernel-%{version}
%build
# Make sure EXTRAVERSION says what we want it to say