packaging: fix %setup top directory name to match repo name
authorInha Song <ideal.song@samsung.com>
Tue, 26 May 2015 10:34:28 +0000 (19:34 +0900)
committerPrzemyslaw Marczak <p.marczak@samsung.com>
Fri, 4 Dec 2015 15:31:06 +0000 (16:31 +0100)
This pach fix %setup top directory name to match repo name.

Change-Id: I12ad129f9092bf111f6deb900d1b5cdb9cf4ccdb
Signed-off-by: Inha Song <ideal.song@samsung.com>
packaging/u-boot-xu3.spec
packaging/u-boot.spec

index f275e7f7cdc16c2bfc48ce46e3647ad95cefc143..a19dd8f82058e6aaa5316834f0aea8d6c55ce17e 100644 (file)
@@ -1,6 +1,6 @@
 Name: u-boot-xu3
 Version: 2015.10
-Release: 1%{?dist}
+Release: 0
 Summary: Das U-Boot - Tizen bootloader
 Group: System/Kernel
 License: GPL-2.0+
@@ -44,7 +44,7 @@ and modify U-Boot's environment.
 %endif
 
 %prep
-%setup -q
+%setup -q -n u-boot-%{version}
 
 %build
 cp %{SOURCE1001} .
index e81af0a5c335a2cbb7aefa9bc00b23a438742631..ef90af7539800678cba7f72f86b661dc76a3e516 100644 (file)
@@ -1,6 +1,6 @@
 Name: u-boot
 Version: 2015.10
-Release: 1%{?dist}
+Release: 0
 Summary: Das U-Boot - Tizen bootloader
 Group: System/Kernel
 License: GPL-2.0+
@@ -44,7 +44,7 @@ and modify U-Boot's environment.
 %endif
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}
 
 %build
 cp %{SOURCE1001} .