summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2015-02-27 11:42:49 +0100
committerTomasz Olszak <olszak.tomasz@gmail.com>2015-11-10 18:18:42 +0100
commit71206d181d05cc05d79cca059b622dd9585d3062 (patch)
tree9273b85aabeae89cd34056742270c33ebc950ac0
parent001ca12f2b2704cd255686cc8b200a0ae8b4cd78 (diff)
downloadqtmultimedia-71206d181d05cc05d79cca059b622dd9585d3062.tar.gz
qtmultimedia-71206d181d05cc05d79cca059b622dd9585d3062.tar.bz2
qtmultimedia-71206d181d05cc05d79cca059b622dd9585d3062.zip
Simplified spec file.
Now gstreamer version depends on Tizen version not on profile name. Change-Id: I05294b06072ce36f5e3fecf78e4912a0ca37d7e9 Bug-Tizen: TIVI-2416 Signed-off-by: Tomasz Olszak <olszak.tomasz@gmail.com>
-rw-r--r--packaging/qt5-qtmultimedia.spec9
1 files changed, 2 insertions, 7 deletions
diff --git a/packaging/qt5-qtmultimedia.spec b/packaging/qt5-qtmultimedia.spec
index eab8e8f7..0e935e87 100644
--- a/packaging/qt5-qtmultimedia.spec
+++ b/packaging/qt5-qtmultimedia.spec
@@ -1,14 +1,9 @@
-%if "%{tizen}" == "2.1"
-%define profile mobile
-%endif
-
-%if "%{tizen}" == "2.3"
-%define profile wearable
+%if "%{tizen_major_version}" < "3"
%define _with_only_free_components 1
%endif
-%if 0%{tizen_version_major} >= 3
+%if "%{tizen_version_major}" > "2"
%define _with_gstreamer1 1
%endif