From: MyungJoo Ham Date: Tue, 22 Nov 2016 03:56:24 +0000 (+0900) Subject: Remove Profile Build Dependency X-Git-Tag: accepted/tizen/common/20170210.170552~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=000e812ba86e5c9b8248eefb5d661ed7529c2b1d;hp=9eb682479f9e96f5f8b25cd8486bd47156356673;p=platform%2Fupstream%2Fgssdp.git Remove Profile Build Dependency - This is for Tizen 4.0. (4.0 Configurability & Building Block prohibits the usage of profile macro; the value of "profile" will become "undefined" unconditionally.) - Enabling intro or not, the result of binary (main package) is not changed. Only the devel package gets bigger, which cannot affect the size of non-ivi profiles. Change-Id: I052924b6bbb8cd6fb427b87851480b67bbdcbf34 Signed-off-by: MyungJoo Ham --- diff --git a/packaging/gssdp.spec b/packaging/gssdp.spec index d3ad1c4..384e0d0 100644 --- a/packaging/gssdp.spec +++ b/packaging/gssdp.spec @@ -1,9 +1,3 @@ -%if "%{profile}" == "ivi" -%define intro yes -%else -%define intro no -%endif - Name: gssdp Summary: GSSDP implements resource discovery and announcement over SSDP Version: 0.14.4 @@ -19,10 +13,8 @@ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libxml-2.0) #BuildRequires: pkgconfig(gconf-2.0) BuildRequires: pkgconfig(libsoup-2.4) -%if "%{profile}" == "ivi" BuildRequires: gobject-introspection-devel BuildRequires: vala -%endif %description @@ -45,7 +37,9 @@ Development files for gssdp. %setup -q -n %{name}-%{version} %build -%configure --prefix=/usr --enable-introspection=%{intro} --enable-gtk-doc-html=no +# Note that enabling-intro only adds additional files in devel package. +# There is no different in the main binary package. +%configure --prefix=/usr --enable-introspection=yes --enable-gtk-doc-html=no make %{?jobs:-j%jobs} @@ -76,9 +70,7 @@ rm -rf %{buildroot} #%{_libdir}/*.a %{_libdir}/*.so %{_libdir}/pkgconfig/* -%if "%{profile}" == "ivi" %{_libdir}/girepository-1.0/GSSDP-1.0.typelib %{_datadir}/gir-1.0/GSSDP-1.0.gir %{_datadir}/vala/vapi/gssdp-1.0.deps %{_datadir}/vala/vapi/gssdp-1.0.vapi -%endif