packaging: fix %setup top directory name to match repo name 19/39919/1
authorInha Song <ideal.song@samsung.com>
Tue, 26 May 2015 10:34:28 +0000 (19:34 +0900)
committerInha Song <ideal.song@samsung.com>
Tue, 26 May 2015 10:57:58 +0000 (19:57 +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 e11bb53c60ca325ba338e91190b46fdd4ac540e9..3fc5cadd61ca46f4606924ea103b32ac48ee561a 100644 (file)
@@ -1,6 +1,6 @@
 Name: u-boot-xu3
 Version: 2015.04
-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 5092fd285d1dd3b401b5561584351f8d4259b341..144549d09316ac5c6cfadc24593701a15422398e 100644 (file)
@@ -1,6 +1,6 @@
 Name: u-boot
 Version: 2015.04
-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} .