Commit 5761aa99 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Updated hiredis from 0.11.0 to O.13.3

parent f6e9cb2a
......@@ -20,11 +20,11 @@
#
############################################################################
#set(hiredis_filename "v0.11.0.tar.gz")
#set(hiredis_filename "v0.13.3.tar.gz")
#set(EP_hiredis_URL "https://github.com/redis/hiredis/archive/${hiredis_filename}")
#set(EP_hiredis_URL_HASH "SHA1=694b6d7a6e4ea7fb20902619e9a2423c014b37c1")
#set(EP_hiredis_URL_HASH "SHA1=be6f1c50fc4d649dd2924f0afecc0a1705dbe0d3")
set(EP_hiredis_GIT_REPOSITORY "https://github.com/redis/hiredis.git" CACHE STRING "hiredis repository URL")
set(EP_hiredis_GIT_TAG "0fff0f182b96b4ffeee8379f29ed5129c3f72cf7" CACHE STRING "hiredis tag to use")
set(EP_hiredis_GIT_TAG "010756025e8cefd1bc66c6d4ed3b1648ef6f1f95" CACHE STRING "hiredis tag to use")
set(EP_hiredis_BUILD_METHOD "rpm")
set(EP_hiredis_SPEC_FILE "hiredis.spec" )
......
#!/bin/sh
export RPM_TOPDIR="@LINPHONE_BUILDER_WORK_DIR@/rpmbuild/SOURCES/"
export HIREDIS_TARBALL_URL="https://github.com/redis/hiredis/archive/v0.11.0.tar.gz"
export HIREDIS_TARBALL_URL="https://github.com/redis/hiredis/archive/v0.13.3.tar.gz"
mkdir -p "$RPM_TOPDIR"
echo "694b6d7a6e4ea7fb20902619e9a2423c014b37c1 v0.11.0.tar.gz" > "$RPM_TOPDIR/v0.11.0.tar.gz.sha1"
echo "be6f1c50fc4d649dd2924f0afecc0a1705dbe0d3 v0.13.3.tar.gz" > "$RPM_TOPDIR/v0.13.3.tar.gz.sha1"
wget "$HIREDIS_TARBALL_URL" -P "$RPM_TOPDIR"
# check Sha1
cd "$RPM_TOPDIR" && sha1sum -c "$RPM_TOPDIR/v0.11.0.tar.gz.sha1"
\ No newline at end of file
cd "$RPM_TOPDIR" && sha1sum -c "$RPM_TOPDIR/v0.13.3.tar.gz.sha1"
......@@ -11,7 +11,7 @@
Name: %{finalpkg_name}
Version: 0.11.0
Version: 0.13.3
Release: 3%{?dist}
Summary: Minimalistic C client library for Redis
License: BSD
......@@ -39,7 +39,6 @@ make %{?_smp_mflags} OPTIMIZATION="%{optflags}"
make install PREFIX=%{buildroot}%{_prefix} INSTALL_LIBRARY_PATH=%{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_bindir}
cp hiredis-example %{buildroot}%{_bindir}
cp hiredis-test %{buildroot}%{_bindir}
find %{buildroot} -name '*.a' -delete -print
......@@ -50,10 +49,10 @@ find %{buildroot} -name '*.a' -delete -print
%files
%doc COPYING
%{_bindir}/hiredis-example
%{_bindir}/hiredis-test
%{_libdir}/libhiredis.so.0.10
%{_libdir}/libhiredis.so.0
%{_libdir}/libhiredis.so.0.13
%{_libdir}/libhiredis.so
%{_libdir}/pkgconfig/hiredis.pc
%files devel
%doc README.md
......@@ -61,6 +60,9 @@ find %{buildroot} -name '*.a' -delete -print
%{_libdir}/libhiredis.so
%changelog
* Wed Sep 16 2015 Sylvain Berfini <sylvain.berfini@belledonne-communications.com> - 0.13.3-1
- Version bump from 0.11.0 to 0.13.3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
......@@ -96,6 +98,3 @@ find %{buildroot} -name '*.a' -delete -print
- Updated to upstream gitdf203bc328.
- Added TODO to the files.
- Updated to use libhiredis.so.0, libhiredis.so.0.10.
* Tue Apr 29 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.9.2-1
- First release.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment