build: Add all BuildRequires for fedora 69/23369/5
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Sun, 19 Nov 2017 01:45:23 +0000 (02:45 +0100)
committerMats Wichmann <mats@linux.com>
Thu, 1 Feb 2018 15:44:39 +0000 (15:44 +0000)
This was needed for ARTIK7 on fedora-24

Change-Id: Ice95627b6afdf19f16c1e9277015f63938d2c132
Bug: https://jira.iotivity.org/browse/IOT-524
Origin: https://gerrit.iotivity.org/gerrit/#/c/23373/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
(cherry picked from commit 5bf81a0cb5afd31d4e589c37c713da03cfc1a74d)

tools/tizen/iotivity.spec

index 52f7627..cf2c3f2 100755 (executable)
@@ -86,9 +86,12 @@ BuildRequires: python-accel-aarch64-cross-aarch64
 %{!?MULTIPLE_OWNER: %define MULTIPLE_OWNER 0}
 %{!?OIC_SUPPORT_TIZEN_TRACE: %define OIC_SUPPORT_TIZEN_TRACE False}
 
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
 BuildRequires:  chrpath
 BuildRequires:  expat-devel
-BuildRequires:  python, libcurl-devel
+BuildRequires:  python
 BuildRequires:  scons
 BuildRequires:  openssl-devel
 BuildRequires:  boost-devel
@@ -97,6 +100,7 @@ BuildRequires:  boost-system
 BuildRequires:  boost-filesystem
 BuildRequires:  pkgconfig(uuid)
 BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(libcurl)
 BuildRequires:  pkgconfig(sqlite3)
 %if "%{TARGET_OS}" == "tizen"
 BuildRequires:  gettext-tools
@@ -111,11 +115,6 @@ BuildRequires:  bluetooth-tools-profile_%{profile}
 %else
 BuildRequires:  bluetooth-tools
 %endif
-%else
-%if 0%{?fedora:1}
-BuildRequires:  sqlite-devel
-BuildRequires:  gettext-devel
-%endif
 %endif
 Requires(postun): /sbin/ldconfig
 Requires(post): /sbin/ldconfig