Fix build error 37/165637/1 accepted/tizen/base/20180119.133621 submit/tizen_base/20180109.014621
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 3 Jan 2018 03:52:41 +0000 (12:52 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 3 Jan 2018 03:53:57 +0000 (12:53 +0900)
[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] build error
[Cause & Measure] debug source files unpackaged
[Checking Method] remove debug package rpm

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: Iebd20eccf2ce8bfce72d81bc8f39e77c27bc5e78
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
packaging/vim.spec

index 19a8998..e3d0a4e 100644 (file)
@@ -16,6 +16,8 @@
 #
 
 %define debug_package %{nil}
+%define __debug_package %{nil}
+%define __debug_install_post %{nil}
 
 %define pkg_version 8.0
 %define patchlevel  586
@@ -76,7 +78,7 @@ This package contains optional runtime & syntax files for vim.
 
 
 %prep
-%setup -q -n %{name}-%{pkg_version}.%{patchlevel}
+%setup -q -n %{name}-%{version}
 cp %{SOURCE3} %{SOURCE1001} .
 
 # Unreliable tests
@@ -124,6 +126,7 @@ cp src/vim vim-nox11
 
 %install
 %makeinstall DESTDIR=%{buildroot} STRIP=:
+
 # create icon directory to have the icons installed and convert them to all hicolor expected sizes.
 for size in %{_datadir}/icons/hicolor/*[0-9]x[0-9]*; do
   SIZE=$(echo $size | awk -Fx {'print $2}')