packaging: Add _wrong_version_format_terminate_build macro
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 23 Jul 2019 01:28:13 +0000 (10:28 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 6 Jul 2020 09:08:20 +0000 (18:08 +0900)
Newer version of rpmbuild rejects double dash, "-", in version.
To support the style, add _worng_version_format_terminate_build
as 0.

Change-Id: Ieed243fb4ad7059b83d5328f0c38b15e4c74dc0e
Reference: https://github.com/rpm-software-management/rpm/commit/5e94633660d0e2b97
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
packaging/linux-rpi3.spec

index 31ac97d..9af2618 100644 (file)
@@ -1,3 +1,6 @@
+# Ignore double dash in version for rpmbuild
+%define _wrong_version_format_terminate_build 0
+
 %ifarch aarch64
 %define config_name tizen_bcmrpi3_defconfig
 %define buildarch arm64