build: run make check with build
authorWaLyong Cho <walyong.cho@samsung.com>
Tue, 8 Nov 2016 09:19:44 +0000 (18:19 +0900)
committerWaLyong Cho <walyong.cho@samsung.com>
Tue, 8 Nov 2016 09:19:49 +0000 (18:19 +0900)
Change-Id: If8c9445e0edf57999b75646f1741e2fd8e70056d
Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
packaging/libsystem.spec

index d52cbc5c227053714fead3f0ca7cdb81c4d4985b..5c3dd30f9af9d8e682b87748b154106a0eabee0a 100644 (file)
@@ -71,6 +71,13 @@ make %{?_smp_mflags}
 %install
 %make_install
 
+# make sure debugsources.list exist, it used by rpm macro in %file
+# section.
+touch debugsources.list
+
+%check
+make check
+
 %post
 /sbin/ldconfig