summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2014-10-31 09:44:34 +0100
committerRonan Le Martret <ronan@fridu.net>2014-10-31 09:44:34 +0100
commite0b55742c3a4d35d44168a2eb1fb1367c1f37481 (patch)
tree39cd0d2419f3de550651beafffd22993c7878ced /packaging
parentada8787c4ae888952cec8c81e9e2969ae0463796 (diff)
downloadmeta-e0b55742c3a4d35d44168a2eb1fb1367c1f37481.tar.gz
meta-e0b55742c3a4d35d44168a2eb1fb1367c1f37481.tar.bz2
meta-e0b55742c3a4d35d44168a2eb1fb1367c1f37481.zip
add manifest file mandatory for tizen smack security
Change-Id: Ib62ed711a3a80f7ef0c04f7dec81181f61c49ef1 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/meta-common.manifest5
-rw-r--r--packaging/meta-common.spec27
2 files changed, 20 insertions, 12 deletions
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 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
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