diff options
author | MyungJoo Ham <myungjoo.ham@samsung.com> | 2017-03-16 15:30:30 +0900 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2017-03-16 15:30:30 +0900 |
commit | 3a71caf05b827b65be1587b463448ddfc8457574 (patch) | |
tree | 9c7bdc3a1b26e24b4fcfacd6d8fc5b018939d415 /packaging/building-blocks.spec | |
parent | fe6ad61fcf3f773a06806f38426479a794ef4284 (diff) | |
download | building-blocks-3a71caf05b827b65be1587b463448ddfc8457574.tar.gz building-blocks-3a71caf05b827b65be1587b463448ddfc8457574.tar.bz2 building-blocks-3a71caf05b827b65be1587b463448ddfc8457574.zip |
RULE: enforce rule check at build
Change-Id: I67f55b495fcc864cfb54d3d202cb2ed9f4585e8a
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'packaging/building-blocks.spec')
-rw-r--r-- | packaging/building-blocks.spec | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packaging/building-blocks.spec b/packaging/building-blocks.spec index 8f52507..d68f19c 100644 --- a/packaging/building-blocks.spec +++ b/packaging/building-blocks.spec @@ -40,6 +40,9 @@ Source3700: platform-preset-home_appliance.inc # To get .ks files BuildRequires: image-configurations +# To check the rules +BuildRequires: python + # Root Domains Suggests: %{name}-root-Kernel Suggests: %{name}-root-SystemFW @@ -100,10 +103,13 @@ In Tizen building blocks, "Requires" means mandatory package. end \ end}} +%prep +%setup %build -ls /usr/share/image-configurations/ +# rule_checker returns non-zero if there is an error in *.inc, breaking the build +python ./rule_checker.py %files |