Removed curl dependency by using cmake internal curl
authorHyungGi Lee <hyunggi.lee@samsung.com>
Wed, 9 Dec 2015 07:00:00 +0000 (16:00 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 11 Oct 2017 06:22:00 +0000 (15:22 +0900)
Change-Id: I71a1e4e6516702e5bf28d6702b8e588eb3e4b202
Signed-off-by: HyungGi Lee <hyunggi.lee@samsung.com>
packaging/cmake.spec

index 21acd77..9d63dd5 100644 (file)
@@ -12,7 +12,6 @@ Source1001:     cmake.manifest
 BuildRequires:  fdupes
 BuildRequires:  expat-devel
 BuildRequires:  pkgconfig(libarchive) >= 2.8.0
-BuildRequires:  pkgconfig(libcurl)
 BuildRequires:  pkgconfig(zlib)
 BuildRequires:  procps
 BuildRequires:  ncurses-devel
@@ -41,11 +40,12 @@ export CFLAGS="$CXXFLAGS"
     --mandir=/share/man \
     --system-libs \
     --parallel=0%jobs \
-    --no-qt-gui
+    --no-qt-gui \
+    --no-system-curl
 %__make VERBOSE=1 %{?_smp_mflags}
 
 %install
-%make_install 
+%make_install
 mkdir -p %{buildroot}%{_libdir}/%{name}
 find %{buildroot}%{_datadir}/%{name} -type f -print0 | xargs -0 chmod 644
 cp %{SOURCE2} %{buildroot}%{_datadir}/%{name}/Modules