From e0b55742c3a4d35d44168a2eb1fb1367c1f37481 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Fri, 31 Oct 2014 09:44:34 +0100 Subject: [PATCH] add manifest file mandatory for tizen smack security Change-Id: Ib62ed711a3a80f7ef0c04f7dec81181f61c49ef1 Signed-off-by: Ronan Le Martret --- packaging/meta-common.manifest | 5 +++++ packaging/meta-common.spec | 27 +++++++++++++++------------ 2 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 packaging/meta-common.manifest diff --git a/packaging/meta-common.manifest b/packaging/meta-common.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/meta-common.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/meta-common.spec b/packaging/meta-common.spec index ec25133..28b80ba 100644 --- a/packaging/meta-common.spec +++ b/packaging/meta-common.spec @@ -1,16 +1,18 @@ %define profile common -Summary: Common Meta Data -Name: meta-common -Version: 001 -Release: 1 -BuildArch: noarch -License: GPL-2.0 -Group: Base/Configuration -URL: http://www.tizen.org -Source: %{name}-%{version}.tar.bz2 +Summary: Common Meta Data +Name: meta-common +Version: 001 +Release: 0 +License: GPL-2.0 +Group: Base/Configuration +URL: http://www.tizen.org +Source: %{name}-%{version}.tar.bz2 +Source1001: %{name}.manifest + +Requires: meta-generic -Requires: meta-generic +BuildArch: noarch %description Common Meta Data. @@ -18,16 +20,17 @@ Includes patterns and image configurations for Common images. %prep %setup -q +cp %{SOURCE1001} . %build -make +%__make %install %make_install - %files %attr(644,-,-) %{_datadir}/package-groups/%{profile}/*.yaml +%manifest %{name}.manifest %{_datadir}/image-configurations/%{profile}/*.yaml %{_datadir}/image-configurations/%{profile}/configs/*.yaml %{_datadir}/image-configurations/%{profile}/partitions -- 2.7.4