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)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 10 Oct 2019 04:38:36 +0000 (13:38 +0900)
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 f275e7f..a19dd8f 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 e81af0a..ef90af7 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} .