summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyungGi Lee <hyunggi.lee@samsung.com>2016-08-24 17:02:10 +0900
committerHyungGi Lee <hyunggi.lee@samsung.com>2016-08-25 16:27:29 +0900
commitf7fd003a0871875b1227bffc993a7ff2b0b1ea93 (patch)
tree5364d3106152aadb31d79109c5adf364fb983d85
parenta6668724a41634c8c41f8b84bb9dc28a741cdc2a (diff)
downloadobs-f7fd003a0871875b1227bffc993a7ff2b0b1ea93.tar.gz
obs-f7fd003a0871875b1227bffc993a7ff2b0b1ea93.tar.bz2
obs-f7fd003a0871875b1227bffc993a7ff2b0b1ea93.zip
Move build config to Tizen:Base
Change-Id: I39207ae35bd3776f3d7fded43874294674adc492
-rw-r--r--Tizen:Base/_config4
-rw-r--r--Tizen:Common/_config145
-rw-r--r--Tizen:Common/_meta8
-rw-r--r--Tizen:Common/artik10-linux-kernel/_link9
-rw-r--r--Tizen:Common/libcynara-commons/_link4
-rw-r--r--Tizen:Common/libcynara-dbus/_link4
-rw-r--r--Tizen:Common/odroid-linux-kernel/_link2
-rw-r--r--Tizen:Common/rinato-linux-kernel/_link4
-rw-r--r--Tizen:Common/u-boot-artik10/_link9
-rw-r--r--Tizen:Common/u-boot-xu3/_link4
-rw-r--r--Tizen:IVI/_config114
-rwxr-xr-xTizen:Mobile/_config135
-rwxr-xr-xTizen:TV/_config138
-rwxr-xr-xTizen:Wearable/_config135
14 files changed, 59 insertions, 656 deletions
diff --git a/Tizen:Base/_config b/Tizen:Base/_config
index 4a029e5..3bcc1f4 100644
--- a/Tizen:Base/_config
+++ b/Tizen:Base/_config
@@ -17,11 +17,9 @@ Support: rpmlint-mini rpmlint-tizen
############################# conflicts resolution #############################
-FileProvides: /usr/sbin/groupadd pwdutils
Prefer: util-linux
-Prefer: libtapi-devel
-Prefer: libpci-devel
+############################# base definition ###############################
# %release_name and %tizen_full_version are used in platform/upstream/tizen-release
Macros:
diff --git a/Tizen:Common/_config b/Tizen:Common/_config
index a57b7fe..974d320 100644
--- a/Tizen:Common/_config
+++ b/Tizen:Common/_config
@@ -1,5 +1,3 @@
-Substitute: python-accel-armv7l-cross-arm python-accel-armv7l
-Substitute: python-accel-aarch64-cross-aarch64 python-accel-aarch64
################################################################################
# OBS Project config for Tizen:Common
#
@@ -12,16 +10,19 @@ Substitute: python-accel-aarch64-cross-aarch64 python-accel-aarch64
# vim: set syntax=spec:
################################################################################
-Patterntype: rpm-md comps
-Release: <CI_CNT>.<B_CNT>
-Support: build
-Support: build-compare build-mkbaselibs
-Support: rpmlint-mini rpmlint-tizen
-
############################# conflicts resolution #############################
+FileProvides: /etc/default/useradd shadow-utils
+FileProvides: /usr/sbin/useradd shadow-utils
+FileProvides: /etc/login.defs shadow-utils
+FileProvides: /usr/sbin/chpasswd shadow-utils
FileProvides: /usr/sbin/groupadd shadow-utils
-Prefer: util-linux
+FileProvides: /usr/sbin/groupdel shadow-utils
+FileProvides: /usr/sbin/groupmod shadow-utils
+FileProvides: /usr/sbin/userdel shadow-utils
+FileProvides: /usr/sbin/usermod shadow-utils
+Prefer: shadow-utils
+
Prefer: libtapi-devel
Prefer: libpci-devel
Prefer: bluetooth-tools-no-firmware
@@ -234,130 +235,8 @@ Macros:
#:Macros
############################# build config #####################################
-
-%define gcc_version 49
-Macros:
-%gcc_version 49
-:Macros
-
-########## targets ##########
-
-%ifarch i586
-Target: i686-tizen-linux
-%endif
-
-%ifarch armv7hl
-Target: armv7hl-tizen-linux
-%endif
-
-%ifarch armv7l
-Target: armv7l-tizen-linux
-%endif
-
-%ifarch aarch64
-Target: aarch64-tizen-linux
-%endif
-
-########## cross build ##########
-
-%ifarch %arm armv7l aarch64
-Hostarch: x86_64
-# cross build support for the build hosts
-Preinstall: qemu-linux-user-cross
-Runscripts: qemu-linux-user-cross
-Keep: qemu-linux-user-cross
-%endif
-
-%ifarch armv7l
-Preinstall: qemu-accel-armv7l
-Runscripts: qemu-accel-armv7l
-Preinstall: libmount libblkid libuuid
-%endif
-
-%ifarch aarch64
-Preinstall: qemu-accel-aarch64
-Runscripts: qemu-accel-aarch64
-Preinstall: libmount libblkid libuuid
-%endif # aarch64
-
-########## exports for different architectures ##########
-
-ExportFilter: \.armv7l\.rpm$ armv7l
-ExportFilter: \.aarch64\.rpm$ aarch64
-ExportFilter: \.x86_64\.rpm$ x86_64
-
-########## buildroot config ##########
-
-Preinstall: setup filesystem
-RunScripts: setup
-
-Preinstall: bash bzip2 coreutils diffutils grep rpm
-Preinstall: glibc libacl libattr
-Preinstall: libcap
-Preinstall: libgcc
-Preinstall: libpopt sed tar zlib
-Preinstall: libncurses libreadline
-Preinstall: libelf libbz2
-Preinstall: liblzma
-Preinstall: nss nspr libfreebl3 libsoftokn3
-Preinstall: libmagic
-Preinstall: liblua
-Preinstall: smack libsmack libxml2 libmagic libmagic-data
-Preinstall: libsqlite
-Preinstall: util-linux
-
-VMinstall: perl libmount libblkid libext2fs libuuid grep libpcre util-linux libsmartcols
-
-
-Required: binutils gcc glibc rpm-build libtool
-Required: gcc-c++
-
-Support: glibc-locale
-Support: perl
-Support: hostname
-Support: cpio findutils
-Support: file findutils zlib bzip2
-Support: gzip hostname net-tools
-Support: make patch sed gawk tar grep coreutils pkg-config
-Support: m4 tzdata
-Support: util-linux
-Support: less
-Support: which elfutils
-Support: update-alternatives
-Support: libstdc++-devel
-Support: cpp
-Support: libatomic
-Support: libgomp
-Support: libitm
-
-Keep: libstdc++-devel
-Keep: cpp gcc libstdc++
-Keep: pam
-Keep: binutils cpp libmagic-data file findutils gawk gcc gcc-c++
-Keep: gdbm gzip libada libunwind glibc-devel libpcre xz-lzma-compat
-Keep: make gmp libcap groff cpio
-Keep: patch rpm-build nss nspr elfutils python grep libgcc gcc-c++
-Keep: kernel-headers perl-libs perl
-Keep: pkgconfig glib2 tizen-rpm-config
-Keep: libmpc libmpfr libppl libgmp libppl_c
-Keep: libcloog libppl libgmpxx
-Keep: nss-softokn-freebl libmagic libmagic-data
-Keep: setup
-Keep: update-alternatives
-Keep: cpp
-Keep: gcc-c++
-Keep: libatomic
-Keep: libgomp
-Keep: libitm
-
-Substitute: gettext gettext-tools
-
-%ifarch x86_64
-Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
-Substitute: libgcc_s1-32bit libgcc-32bit
-%else
-Substitute: glibc-devel-32bit
-%endif
+# derived from Tizen:Base
+################################################################################
########## compilation flags ##########
# derived from Tizen:Base
diff --git a/Tizen:Common/_meta b/Tizen:Common/_meta
index d970f13..1d87b50 100644
--- a/Tizen:Common/_meta
+++ b/Tizen:Common/_meta
@@ -3,16 +3,16 @@
<description>See https://wiki.tizen.org/wiki/Common</description>
<person userid="marquiz" role="maintainer"/>
<person userid="ronan" role="maintainer"/>
+ <person userid="mwereski" role="maintainer"/>
<person userid="sdx" role="maintainer"/>
- <person userid="sdx" role="bugowner"/>
<person userid="jobol" role="maintainer"/>
- <person userid="mwereski" role="maintainer"/>
- <person userid="pwieczorek" role="maintainer"/>
+ <person userid="joonsub1" role="maintainer"/>
<person userid="alone" role="maintainer"/>
<person userid="hglee" role="maintainer"/>
- <person userid="joonsub1" role="maintainer"/>
+ <person userid="pwieczorek" role="maintainer"/>
<person userid="gagarin" role="maintainer"/>
<person userid="swadas" role="maintainer"/>
+ <person userid="sdx" role="bugowner"/>
<build>
<disable arch="i586" repository="arm-wayland"/>
<disable arch="x86_64" repository="arm-wayland"/>
diff --git a/Tizen:Common/artik10-linux-kernel/_link b/Tizen:Common/artik10-linux-kernel/_link
new file mode 100644
index 0000000..3a6e16f
--- /dev/null
+++ b/Tizen:Common/artik10-linux-kernel/_link
@@ -0,0 +1,9 @@
+<link package="linux-3.10-artik" 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 name="file.patch" /> add a patch to be applied after %setup (spec file only) -->
+ <!-- <delete name="filename" /> delete a file -->
+</patches>
+</link>
diff --git a/Tizen:Common/libcynara-commons/_link b/Tizen:Common/libcynara-commons/_link
new file mode 100644
index 0000000..e1f95a9
--- /dev/null
+++ b/Tizen:Common/libcynara-commons/_link
@@ -0,0 +1,4 @@
+<link package="cynara" cicount="copy">
+ <patches>
+ </patches>
+</link>
diff --git a/Tizen:Common/libcynara-dbus/_link b/Tizen:Common/libcynara-dbus/_link
new file mode 100644
index 0000000..e1f95a9
--- /dev/null
+++ b/Tizen:Common/libcynara-dbus/_link
@@ -0,0 +1,4 @@
+<link package="cynara" cicount="copy">
+ <patches>
+ </patches>
+</link>
diff --git a/Tizen:Common/odroid-linux-kernel/_link b/Tizen:Common/odroid-linux-kernel/_link
index f1882de..c634e19 100644
--- a/Tizen:Common/odroid-linux-kernel/_link
+++ b/Tizen:Common/odroid-linux-kernel/_link
@@ -1,4 +1,4 @@
-<link package="linux-3.10" cicount="copy">
+<link package="linux-exynos" cicount="copy">
<patches>
</patches>
</link>
diff --git a/Tizen:Common/rinato-linux-kernel/_link b/Tizen:Common/rinato-linux-kernel/_link
deleted file mode 100644
index f1882de..0000000
--- a/Tizen:Common/rinato-linux-kernel/_link
+++ /dev/null
@@ -1,4 +0,0 @@
-<link package="linux-3.10" cicount="copy">
- <patches>
- </patches>
-</link>
diff --git a/Tizen:Common/u-boot-artik10/_link b/Tizen:Common/u-boot-artik10/_link
new file mode 100644
index 0000000..ee686c5
--- /dev/null
+++ b/Tizen:Common/u-boot-artik10/_link
@@ -0,0 +1,9 @@
+<link package="u-boot-artik" 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 name="file.patch" /> add a patch to be applied after %setup (spec file only) -->
+ <!-- <delete name="filename" /> delete a file -->
+</patches>
+</link>
diff --git a/Tizen:Common/u-boot-xu3/_link b/Tizen:Common/u-boot-xu3/_link
new file mode 100644
index 0000000..9c9fbd6
--- /dev/null
+++ b/Tizen:Common/u-boot-xu3/_link
@@ -0,0 +1,4 @@
+<link package="u-boot" cicount="copy">
+ <patches>
+ </patches>
+</link>
diff --git a/Tizen:IVI/_config b/Tizen:IVI/_config
index d8a5fea..89b571a 100644
--- a/Tizen:IVI/_config
+++ b/Tizen:IVI/_config
@@ -1,5 +1,3 @@
-Substitute: python-accel-armv7l-cross-arm python-accel-armv7l
-Substitute: python-accel-aarch64-cross-aarch64 python-accel-aarch64
################################################################################
# RE contacts:
#
@@ -7,16 +5,9 @@ Substitute: python-accel-aarch64-cross-aarch64 python-accel-aarch64
# vim: set syntax=spec:
################################################################################
-Patterntype: rpm-md comps
-Release: <CI_CNT>.<B_CNT>
-Support: build
-Support: build-compare build-mkbaselibs
-Support: rpmlint-mini rpmlint-tizen
-
############################# conflicts resolution #############################
FileProvides: /usr/sbin/groupadd shadow-utils
-Prefer: util-linux
Prefer: libtapi-devel
Prefer: libpci-devel
Prefer: bluetooth-tools-no-firmware
@@ -110,7 +101,7 @@ Prefer: coregl coregl-devel
############################# wayland repositories #############################
-%if "%_repository" == "arm" || "%_repository" == "x86_64"
+%if "%_repository" == "arm" || "%_repository" == "x86_64"
Prefer: libwayland-egl libwayland-egl-devel
Prefer: mesa libgbm
@@ -206,106 +197,9 @@ Target: armv7l-tizen-linux
Target: aarch64-tizen-linux
%endif
-########## cross build ##########/ex
-
-%ifarch %arm armv7l aarch64
-Hostarch: x86_64
-# cross build support for the build hosts
-Preinstall: qemu-linux-user-cross
-Runscripts: qemu-linux-user-cross
-Keep: qemu-linux-user-cross
-%endif
-
-%ifarch armv7l
-Preinstall: qemu-accel-armv7l
-Runscripts: qemu-accel-armv7l
-Preinstall: libmount libblkid libuuid
-%endif
-
-%ifarch aarch64
-Preinstall: qemu-accel-aarch64
-Runscripts: qemu-accel-aarch64
-Preinstall: libmount libblkid libuuid
-%endif # aarch64
-
-########## exports for different architectures ##########
-
-ExportFilter: \.armv7l\.rpm$ armv7l
-ExportFilter: \.aarch64\.rpm$ aarch64
-ExportFilter: \.x86_64\.rpm$ x86_64
-
-########## buildroot config ##########
-
-Preinstall: setup filesystem
-RunScripts: setup
-
-Preinstall: bash bzip2 coreutils diffutils grep rpm
-Preinstall: glibc libacl libattr
-Preinstall: libcap
-Preinstall: libgcc
-Preinstall: libpopt sed tar zlib
-Preinstall: libncurses libreadline
-Preinstall: libelf libbz2
-Preinstall: liblzma
-Preinstall: nss nspr libfreebl3 libsoftokn3
-Preinstall: libmagic
-Preinstall: liblua
-Preinstall: smack libsmack libxml2 libmagic libmagic-data
-Preinstall: libsqlite
-#Preinstall: rpm-security-plugin
-Preinstall: util-linux
-
-VMinstall: perl libmount libblkid libext2fs libuuid grep libpcre util-linux libsmartcols
-
-Required: binutils gcc glibc rpm-build libtool
-Required: gcc-c++
-
-Support: glibc-locale
-Support: perl
-Support: hostname
-Support: cpio findutils
-Support: file findutils zlib bzip2
-Support: gzip hostname net-tools
-Support: make patch sed gawk tar grep coreutils pkg-config
-Support: m4 tzdata
-Support: util-linux
-Support: less
-Support: which elfutils
-Support: update-alternatives
-Support: libstdc++-devel
-Support: cpp
-Support: libatomic
-Support: libgomp
-Support: libitm
-
-Keep: libstdc++-devel
-Keep: cpp gcc libstdc++
-Keep: pam
-Keep: binutils cpp libmagic-data file findutils gawk gcc gcc-c++
-Keep: gdbm gzip libada libunwind glibc-devel libpcre xz-lzma-compat
-Keep: make gmp libcap groff cpio
-Keep: patch rpm-build nss nspr elfutils python grep libgcc gcc-c++
-Keep: kernel-headers perl-libs perl
-Keep: pkgconfig glib2 tizen-rpm-config
-Keep: libmpc libmpfr libppl libgmp libppl_c
-Keep: libcloog libppl libgmpxx
-Keep: nss-softokn-freebl libmagic libmagic-data
-Keep: setup
-Keep: update-alternatives
-Keep: cpp
-Keep: gcc-c++
-Keep: libatomic
-Keep: libgomp
-Keep: libitm
-
-Substitute: gettext gettext-tools
-
-%ifarch x86_64
-Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
-Substitute: libgcc_s1-32bit libgcc-32bit
-%else
-Substitute: glibc-devel-32bit
-%endif
+############################# build config #####################################
+# derived from Tizen:Base
+################################################################################
########## compilation flags ##########
# derived from Tizen:Base
diff --git a/Tizen:Mobile/_config b/Tizen:Mobile/_config
index c7f57b3..b3220e8 100755
--- a/Tizen:Mobile/_config
+++ b/Tizen:Mobile/_config
@@ -1,5 +1,3 @@
-Substitute: python-accel-armv7l-cross-arm python-accel-armv7l
-Substitute: python-accel-aarch64-cross-aarch64 python-accel-aarch64
################################################################################
# OBS Project config for Tizen:Mobile
#
@@ -9,16 +7,9 @@ Substitute: python-accel-aarch64-cross-aarch64 python-accel-aarch64
# vim: set syntax=spec:
################################################################################
-Patterntype: rpm-md comps
-Release: <CI_CNT>.<B_CNT>
-Support: build
-Support: build-compare build-mkbaselibs
-Support: rpmlint-mini rpmlint-tizen
-
############################# conflicts resolution #############################
FileProvides: /usr/sbin/groupadd shadow-utils
-Prefer: util-linux
Prefer: libtapi-devel
Prefer: libpci-devel
Prefer: bluetooth-tools-no-firmware
@@ -202,130 +193,8 @@ Macros:
:Macros
############################# build config #####################################
-
-%define gcc_version 49
-Macros:
-%gcc_version 49
-:Macros
-
-########## targets ##########
-
-%ifarch i586
-Target: i686-tizen-linux
-%endif
-
-%ifarch armv7hl
-Target: armv7hl-tizen-linux
-%endif
-
-%ifarch armv7l
-Target: armv7l-tizen-linux
-%endif
-
-%ifarch aarch64
-Target: aarch64-tizen-linux
-%endif
-
-########## cross build ##########
-
-%ifarch %arm armv7l aarch64
-Hostarch: x86_64
-# cross build support for the build hosts
-Preinstall: qemu-linux-user-cross
-Runscripts: qemu-linux-user-cross
-Keep: qemu-linux-user-cross
-%endif
-
-%ifarch armv7l
-Preinstall: qemu-accel-armv7l
-Runscripts: qemu-accel-armv7l
-Preinstall: libmount libblkid libuuid
-%endif
-
-%ifarch aarch64
-Preinstall: qemu-accel-aarch64
-Runscripts: qemu-accel-aarch64
-Preinstall: libmount libblkid libuuid
-%endif # aarch64
-
-########## exports for different architectures ##########
-
-ExportFilter: \.armv7l\.rpm$ armv7l
-ExportFilter: \.aarch64\.rpm$ aarch64
-ExportFilter: \.x86_64\.rpm$ x86_64
-
-########## buildroot config ##########
-
-Preinstall: setup filesystem
-RunScripts: setup
-
-Preinstall: bash bzip2 coreutils diffutils grep rpm
-Preinstall: glibc libacl libattr
-Preinstall: libcap
-Preinstall: libgcc
-Preinstall: libpopt sed tar zlib
-Preinstall: libncurses libreadline
-Preinstall: libelf libbz2
-Preinstall: liblzma
-Preinstall: nss nspr libfreebl3 libsoftokn3
-Preinstall: libmagic
-Preinstall: liblua
-Preinstall: smack libsmack libxml2 libmagic libmagic-data
-Preinstall: libsqlite
-#Preinstall: rpm-security-plugin
-Preinstall: util-linux
-
-VMinstall: perl libmount libblkid libext2fs libuuid grep libpcre util-linux libsmartcols
-
-Required: binutils gcc glibc rpm-build libtool
-Required: gcc-c++
-
-Support: glibc-locale
-Support: perl
-Support: hostname
-Support: cpio findutils
-Support: file findutils zlib bzip2
-Support: gzip hostname net-tools
-Support: make patch sed gawk tar grep coreutils pkg-config
-Support: m4 tzdata
-Support: util-linux
-Support: less
-Support: which elfutils
-Support: update-alternatives
-Support: libstdc++-devel
-Support: cpp
-Support: libatomic
-Support: libgomp
-Support: libitm
-
-Keep: libstdc++-devel
-Keep: cpp gcc libstdc++
-Keep: pam
-Keep: binutils cpp libmagic-data file findutils gawk gcc gcc-c++
-Keep: gdbm gzip libada libunwind glibc-devel libpcre xz-lzma-compat
-Keep: make gmp libcap groff cpio
-Keep: patch rpm-build nss nspr elfutils python grep libgcc gcc-c++
-Keep: kernel-headers perl-libs perl
-Keep: pkgconfig glib2 tizen-rpm-config
-Keep: libmpc libmpfr libppl libgmp libppl_c
-Keep: libcloog libppl libgmpxx
-Keep: nss-softokn-freebl libmagic libmagic-data
-Keep: setup
-Keep: update-alternatives
-Keep: cpp
-Keep: gcc-c++
-Keep: libatomic
-Keep: libgomp
-Keep: libitm
-
-Substitute: gettext gettext-tools
-
-%ifarch x86_64
-Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
-Substitute: libgcc_s1-32bit libgcc-32bit
-%else
-Substitute: glibc-devel-32bit
-%endif
+# derived from Tizen:Base
+################################################################################
########## compilation flags ##########
# derived from Tizen:Base
diff --git a/Tizen:TV/_config b/Tizen:TV/_config
index 499d9e7..82a0ff1 100755
--- a/Tizen:TV/_config
+++ b/Tizen:TV/_config
@@ -1,5 +1,3 @@
-Substitute: python-accel-armv7l-cross-arm python-accel-armv7l
-Substitute: python-accel-aarch64-cross-aarch64 python-accel-aarch64
################################################################################
# OBS Project config for Tizen:TV
#
@@ -10,16 +8,9 @@ Substitute: python-accel-aarch64-cross-aarch64 python-accel-aarch64
# vim: set syntax=spec:
################################################################################
-Patterntype: rpm-md comps
-Release: <CI_CNT>.<B_CNT>
-Support: build
-Support: build-compare build-mkbaselibs
-Support: rpmlint-mini rpmlint-tizen
-
############################# conflicts resolution #############################
FileProvides: /usr/sbin/groupadd shadow-utils
-Prefer: util-linux
Prefer: libtapi-devel
Prefer: libpci-devel
Prefer: bluetooth-tools-no-firmware
@@ -120,7 +111,7 @@ Macros:
############################# wayland repositories #############################
-%if "%_repository" == "ia32-wayland" || "%_repository" == "x86_64-wayland" || "%_repository" == "arm-wayland"|| "%_repository" == "arm"|| "%_repository" == "arm64" || "%_repository" == "arm64-wayland" || "%_repository" == "wayland" || "%_repository" == "standard"
+%if "%_repository" == "ia32-wayland" || "%_repository" == "x86_64-wayland" || "%_repository" == "arm-wayland"
Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
@@ -195,131 +186,8 @@ Macros:
:Macros
############################# build config #####################################
-
-%define gcc_version 49
-Macros:
-%gcc_version 49
-:Macros
-
-########## targets ##########
-
-%ifarch i586
-Target: i686-tizen-linux
-%endif
-
-%ifarch armv7hl
-Target: armv7hl-tizen-linux
-%endif
-
-%ifarch armv7l
-Target: armv7l-tizen-linux
-%endif
-
-%ifarch aarch64
-Target: aarch64-tizen-linux
-%endif
-
-########## cross build ##########
-
-%ifarch %arm armv7l aarch64
-Hostarch: x86_64
-# cross build support for the build hosts
-Preinstall: qemu-linux-user-cross
-Runscripts: qemu-linux-user-cross
-Keep: qemu-linux-user-cross
-%endif
-
-%ifarch armv7l
-Preinstall: qemu-accel-armv7l
-Runscripts: qemu-accel-armv7l
-Preinstall: libmount libblkid libuuid
-%endif
-
-%ifarch aarch64
-Preinstall: qemu-accel-aarch64
-Runscripts: qemu-accel-aarch64
-Preinstall: libmount libblkid libuuid
-%endif # aarch64
-
-########## exports for different architectures ##########
-
-ExportFilter: \.armv7l\.rpm$ armv7l
-ExportFilter: \.aarch64\.rpm$ aarch64
-ExportFilter: \.x86_64\.rpm$ x86_64
-
-########## buildroot config ##########
-
-Preinstall: setup filesystem
-RunScripts: setup
-
-Preinstall: bash bzip2 coreutils diffutils grep rpm
-Preinstall: glibc libacl libattr
-Preinstall: libcap
-Preinstall: libgcc
-Preinstall: libpopt sed tar zlib
-Preinstall: libncurses libreadline
-Preinstall: libelf libbz2
-Preinstall: liblzma
-Preinstall: nss nspr libfreebl3 libsoftokn3
-Preinstall: libmagic
-Preinstall: liblua
-Preinstall: smack libsmack libxml2 libmagic libmagic-data
-Preinstall: libsqlite
-#Preinstall: rpm-security-plugin
-Preinstall: util-linux
-
-VMinstall: perl libmount libblkid libext2fs libuuid grep libpcre util-linux libsmartcols
-
-Required: binutils gcc glibc rpm-build libtool
-Required: gcc-c++
-
-Support: glibc-locale
-Support: perl
-Support: hostname
-Support: cpio findutils
-Support: file findutils zlib bzip2
-Support: gzip hostname net-tools
-Support: make patch sed gawk tar grep coreutils pkg-config
-Support: m4 tzdata
-Support: util-linux
-Support: less
-Support: which elfutils
-Support: update-alternatives
-Support: libstdc++-devel
-Support: cpp
-Support: libatomic
-Support: libgomp
-Support: libitm
-
-Keep: libstdc++-devel
-Keep: libstdc++%{gcc_version}-devel gcc%{gcc_version}-c++
-Keep: cpp gcc libstdc++
-Keep: pam
-Keep: binutils cpp libmagic-data file findutils gawk gcc gcc-c++
-Keep: gdbm gzip libada libunwind glibc-devel libpcre xz-lzma-compat
-Keep: make gmp libcap groff cpio
-Keep: patch rpm-build nss nspr elfutils python grep libgcc gcc-c++
-Keep: kernel-headers perl-libs perl
-Keep: pkgconfig glib2 tizen-rpm-config
-Keep: libmpc libmpfr libppl libgmp libppl_c
-Keep: libcloog libppl libgmpxx
-Keep: nss-softokn-freebl libmagic libmagic-data
-Keep: setup
-Keep: update-alternatives
-Keep: cpp
-Keep: gcc-c++
-Keep: libatomic
-Keep: libgomp
-Keep: libitm
-
-Substitute: gettext gettext-tools
-
-%ifarch x86_64
-Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
-Substitute: libgcc_s1-32bit libgcc-32bit
-%else
-Substitute: glibc-devel-32bit
-%endif
+# derived from Tizen:Base
+################################################################################
########## compilation flags ##########
# derived from Tizen:Base
diff --git a/Tizen:Wearable/_config b/Tizen:Wearable/_config
index da646e1..ae9f341 100755
--- a/Tizen:Wearable/_config
+++ b/Tizen:Wearable/_config
@@ -1,5 +1,3 @@
-Substitute: python-accel-armv7l-cross-arm python-accel-armv7l
-Substitute: python-accel-aarch64-cross-aarch64 python-accel-aarch64
################################################################################
# OBS Project config for Tizen:Wearable
#
@@ -9,16 +7,9 @@ Substitute: python-accel-aarch64-cross-aarch64 python-accel-aarch64
# vim: set syntax=spec:
################################################################################
-Patterntype: rpm-md comps
-Release: <CI_CNT>.<B_CNT>
-Support: build
-Support: build-compare build-mkbaselibs
-Support: rpmlint-mini rpmlint-tizen
-
############################# conflicts resolution #############################
FileProvides: /usr/sbin/groupadd shadow-utils
-Prefer: util-linux
Prefer: libtapi-devel
Prefer: libpci-devel
Prefer: bluetooth-tools-no-firmware
@@ -179,130 +170,8 @@ Macros:
:Macros
############################# build config #####################################
-
-%define gcc_version 49
-Macros:
-%gcc_version 49
-:Macros
-
-########## targets ##########
-
-%ifarch i586
-Target: i686-tizen-linux
-%endif
-
-%ifarch armv7hl
-Target: armv7hl-tizen-linux
-%endif
-
-%ifarch armv7l
-Target: armv7l-tizen-linux
-%endif
-
-%ifarch aarch64
-Target: aarch64-tizen-linux
-%endif
-
-########## cross build ##########
-
-%ifarch %arm armv7l aarch64
-Hostarch: x86_64
-# cross build support for the build hosts
-Preinstall: qemu-linux-user-cross
-Runscripts: qemu-linux-user-cross
-Keep: qemu-linux-user-cross
-%endif
-
-%ifarch armv7l
-Preinstall: qemu-accel-armv7l
-Runscripts: qemu-accel-armv7l
-Preinstall: libmount libblkid libuuid
-%endif
-
-%ifarch aarch64
-Preinstall: qemu-accel-aarch64
-Runscripts: qemu-accel-aarch64
-Preinstall: libmount libblkid libuuid
-%endif # aarch64
-
-########## exports for different architectures ##########
-
-ExportFilter: \.armv7l\.rpm$ armv7l
-ExportFilter: \.aarch64\.rpm$ aarch64
-ExportFilter: \.x86_64\.rpm$ x86_64
-
-########## buildroot config ##########
-
-Preinstall: setup filesystem
-RunScripts: setup
-
-Preinstall: bash bzip2 coreutils diffutils grep rpm
-Preinstall: glibc libacl libattr
-Preinstall: libcap
-Preinstall: libgcc
-Preinstall: libpopt sed tar zlib
-Preinstall: libncurses libreadline
-Preinstall: libelf libbz2
-Preinstall: liblzma
-Preinstall: nss nspr libfreebl3 libsoftokn3
-Preinstall: libmagic
-Preinstall: liblua
-Preinstall: smack libsmack libxml2 libmagic libmagic-data
-Preinstall: libsqlite
-#Preinstall: rpm-security-plugin
-Preinstall: util-linux
-
-VMinstall: perl libmount libblkid libext2fs libuuid grep libpcre util-linux libsmartcols
-
-Required: binutils gcc glibc rpm-build libtool
-Required: gcc-c++
-
-Support: glibc-locale
-Support: perl
-Support: hostname
-Support: cpio findutils
-Support: file findutils zlib bzip2
-Support: gzip hostname net-tools
-Support: make patch sed gawk tar grep coreutils pkg-config
-Support: m4 tzdata
-Support: util-linux
-Support: less
-Support: which elfutils
-Support: update-alternatives
-Support: libstdc++-devel
-Support: cpp
-Support: libatomic
-Support: libgomp
-Support: libitm
-
-Keep: libstdc++-devel
-Keep: cpp gcc libstdc++
-Keep: pam
-Keep: binutils cpp libmagic-data file findutils gawk gcc gcc-c++
-Keep: gdbm gzip libada libunwind glibc-devel libpcre xz-lzma-compat
-Keep: make gmp libcap groff cpio
-Keep: patch rpm-build nss nspr elfutils python grep libgcc gcc-c++
-Keep: kernel-headers perl-libs perl
-Keep: pkgconfig glib2 tizen-rpm-config
-Keep: libmpc libmpfr libppl libgmp libppl_c
-Keep: libcloog libppl libgmpxx
-Keep: nss-softokn-freebl libmagic libmagic-data
-Keep: setup
-Keep: update-alternatives
-Keep: cpp
-Keep: gcc-c++
-Keep: libatomic
-Keep: libgomp
-Keep: libitm
-
-Substitute: gettext gettext-tools
-
-%ifarch x86_64
-Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
-Substitute: libgcc_s1-32bit libgcc-32bit
-%else
-Substitute: glibc-devel-32bit
-%endif
+# derived from Tizen:Base
+################################################################################
########## compilation flags ##########
# derived from Tizen:Base