diff options
author | Slava Barinov <v.barinov@samsung.com> | 2017-10-18 11:40:03 +0300 |
---|---|---|
committer | Slava Barinov <v.barinov@samsung.com> | 2017-10-18 11:40:03 +0300 |
commit | 60124f9c8b82f0dbcbe471749bb319d8d031bf51 (patch) | |
tree | dcdaf947f4cafdd166cbd535ad671d1fbb00de89 /Tizen:Common | |
parent | cc62452e9b189ccf223149c6a02c60aed8543432 (diff) | |
download | obs-60124f9c8b82f0dbcbe471749bb319d8d031bf51.tar.gz obs-60124f9c8b82f0dbcbe471749bb319d8d031bf51.tar.bz2 obs-60124f9c8b82f0dbcbe471749bb319d8d031bf51.zip |
Fix %check section switch
Using '%define %check exit 0' is an error since it redefines the rpm section
name as a macro.
This leads to including the contents of %check section into previously defined
section (e.g. %install) and therefore not only it breaks the build script in
the middle of execution by injecting 'exit 0', but also prevents
%__spec_install_post from running. This forbids execution of rpm post-scripts
which generate debug info, locale information, cleans up install dir and so on.
Setting up %__spec_check_pre variable will only disable the %check section.
Change-Id: Ifb6a847e298416c702409759457cdc03d0d563e2
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
Diffstat (limited to 'Tizen:Common')
-rw-r--r-- | Tizen:Common/_config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tizen:Common/_config b/Tizen:Common/_config index b82a1f4..bfee203 100644 --- a/Tizen:Common/_config +++ b/Tizen:Common/_config @@ -53,7 +53,7 @@ Macros: %_vendor tizen %_with_tizen 1 -%check exit 0 +%__spec_check_pre exit 0 %run_check_section 0 %opensuse_bs 1 %_default_patch_fuzz 2 |