Tizen:Common - setup qemu-accel-* packages as links 71/26671/1
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 27 Aug 2014 14:36:47 +0000 (16:36 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 27 Aug 2014 14:36:47 +0000 (16:36 +0200)
qemu-accel package was added as a normal package,
but build is excluded from all archs/repos.

Then it's possible to define some linked packages named
qemu-accel-<arch> to pick the appropriate spec file.

Project config was also changed to define gcc_version in the rpm macros
(needed by qemu-accel-* spec files)

Change-Id: Id79991997982e296f82a8e49e813115ca23e09f6
Bug-Tizen: TC-1509
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
Tizen:Common/_config
Tizen:Common/qemu-accel-aarch64/_link [new file with mode: 0644]
Tizen:Common/qemu-accel-armv7l/_link [new file with mode: 0644]

index dc41c77..0f6c39d 100644 (file)
@@ -207,6 +207,9 @@ Macros:
 ############################# build config #####################################
 
 %define gcc_version 48
+Macros:
+%gcc_version 48
+:Macros
 
 ########## targets ##########
 
diff --git a/Tizen:Common/qemu-accel-aarch64/_link b/Tizen:Common/qemu-accel-aarch64/_link
new file mode 100644 (file)
index 0000000..906ab97
--- /dev/null
@@ -0,0 +1,9 @@
+<link  package="qemu-accel" cicount="copy">
+<patches>
+  <!-- <branch /> for a full copy, default case  -->
+  <!-- <apply name="patch" /> apply a patch on the source directory  -->
+  <!-- <topadd>%define build_with_feature_x 1</topadd> add a line on the top (spec file only) -->
+  <!-- <add>file.patch</add> add a patch to be applied after %setup (spec file only) -->
+  <!-- <delete>filename</delete> delete a file -->
+</patches>
+</link>
diff --git a/Tizen:Common/qemu-accel-armv7l/_link b/Tizen:Common/qemu-accel-armv7l/_link
new file mode 100644 (file)
index 0000000..906ab97
--- /dev/null
@@ -0,0 +1,9 @@
+<link  package="qemu-accel" cicount="copy">
+<patches>
+  <!-- <branch /> for a full copy, default case  -->
+  <!-- <apply name="patch" /> apply a patch on the source directory  -->
+  <!-- <topadd>%define build_with_feature_x 1</topadd> add a line on the top (spec file only) -->
+  <!-- <add>file.patch</add> add a patch to be applied after %setup (spec file only) -->
+  <!-- <delete>filename</delete> delete a file -->
+</patches>
+</link>