## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: hiredis Version: 1.2.0 Release: %autorelease Summary: Minimalistic C client library for Redis License: BSD-3-Clause URL: https://github.com/redis/hiredis Source0: https://github.com/redis/hiredis/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: make BuildRequires: openssl-devel BuildRequires: redis %description Hiredis is a minimalistic C client library for the Redis database. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p1 %build %make_build PREFIX="%{_prefix}" LIBRARY_PATH="%{_lib}" \ DEBUG="%{optflags}" LDFLAGS="%{?__global_ldflags}" USE_SSL=1 %install %make_install PREFIX="%{_prefix}" LIBRARY_PATH="%{_lib}" find %{buildroot} -name '*.a' -delete -print %check make check %ldconfig_scriptlets %files %doc COPYING %{_libdir}/libhiredis.so.1 %{_libdir}/libhiredis.so.1.1.0 %files devel %doc CHANGELOG.md README.md %{_includedir}/%{name}/ %{_libdir}/libhiredis.so %{_libdir}/pkgconfig/hiredis.pc %changelog * Sat Sep 23 2023 Kai A. Hiller - 1.2.0-1 - Update to 1.2.0 * Sat Sep 23 2023 Kai A. Hiller - 1.0.2-8 - Require checks to pass * Sat Sep 23 2023 Kai A. Hiller - 1.0.2-7 - SPDX migration * Thu Jul 20 2023 Fedora Release Engineering - 1.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jan 15 2022 Orion Poplawski - 1.0.2-1 - Update to 1.0.2 - Enable SSL * Thu Jul 22 2021 Fedora Release Engineering - 0.13.3-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.13.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.13.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Feb 15 2020 Kevin Fenzi - 0.13.3-13 - Apply patch for CVE-2020-7105. Fixes bug #1796474 * Wed Jan 29 2020 Fedora Release Engineering - 0.13.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.13.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.13.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.13.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.13.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 31 2018 Igor Gnatenko - 0.13.3-7 - Switch to %%ldconfig_scriptlets * Mon Oct 30 2017 Igor Gnatenko - 0.13.3-6 - Fix FTBFS * Wed Aug 02 2017 Fedora Release Engineering - 0.13.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.13.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.13.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 0.13.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Sep 19 2015 Christopher Meng - 0.13.3-1 - Update to 0.13.3 * Thu Aug 27 2015 Christopher Meng - 0.13.2-1 - Update to 0.13.2 * Fri Jul 31 2015 Christopher Meng - 0.13.1-1 - Update to 0.13.1 * Wed Jun 17 2015 Fedora Release Engineering - 0.12.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Feb 04 2015 Petr Machata - 0.12.1-2 - Bump for rebuild. * Fri Jan 30 2015 Christopher Meng - 0.12.1-1 - Update to 0.12.1 * Fri Jan 30 2015 Mamoru TASAKA - 0.12.0-4 - Again build for f22-boost * Fri Jan 30 2015 Mamoru TASAKA - 0.12.0-3 - Once build on f22 * Tue Jan 27 2015 David Tardon - 0.12.0-2 - install all headers * Fri Jan 23 2015 Christopher Meng - 0.12.0-1 - Update to 0.12.0 * Sat Aug 16 2014 Fedora Release Engineering - 0.11.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.11.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.11.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Sep 29 2012 Shakthi Kannan 0.11.0-1 - Updated to 0.11.0 * Thu Jul 19 2012 Fedora Release Engineering - 0.10.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 20 2012 Shakthi Kannan 0.10.1-3 - Removed Requires redis. * Fri Jan 13 2012 Fedora Release Engineering - 0.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Dec 30 2011 Shakthi Kannan 0.10.1-1 - Updated to upstream 0.10.1-28-gd5d8843. * Mon May 16 2011 Shakthi Kannan 0.10.0-3 - Removed INSTALL_LIB from install target as we use INSTALL_LIBRARY_PATH. - Use 'client library' in Summary. * Wed May 11 2011 Shakthi Kannan 0.10.0-2 - Updated devel sub-package description. - Added optimization flags. - Remove manual installation of shared objects. - Use upstream .tar.gz sources. * Tue May 10 2011 Shakthi Kannan 0.10.0-1.gitdf203bc328 - Updated to upstream gitdf203bc328. - Added TODO to the files. - Updated to use libhiredis.so.0, libhiredis.so.0.10. * Fri Apr 29 2011 Shakthi Kannan 0.9.2-1 - First release.