Use upstream git instead of pristin-tar.
Also use "%__make" and "%make_install" rpm macros.
Bug-Tizen: TC-1807
Change-Id: If52b5604533d6e03826eae8ce35c01184cf208ab
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Name: curl
-Version: 7.32.0
+Version: 7.37.1
Release: 0
License: MIT
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-make %{?_smp_mflags}
+%__make %{?_smp_mflags}
%install
-make DESTDIR=%{buildroot} INSTALL="install -p" install
+%make_install INSTALL="install -p"
rm -f %{buildroot}%{_libdir}/libcurl.la
install -d %{buildroot}/%{_datadir}/aclocal
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/aclocal/libcurl.m4
+