Hello community, here is the log from the commit of package hiredis for openSUSE:Factory checked in at 2020-10-02 17:43:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hiredis (Old) and /work/SRC/openSUSE:Factory/.hiredis.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hiredis" Fri Oct 2 17:43:48 2020 rev:7 rq:839156 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/hiredis/hiredis.changes 2015-11-26 17:02:19.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.hiredis.new.4249/hiredis.changes 2020-10-02 17:44:19.742989998 +0200 @@ -1,0 +2,20 @@ +Fri Oct 2 12:02:20 UTC 2020 - Martin Pluskal <[email protected]> + +- Cleanup spec file with spec-cleaner + +------------------------------------------------------------------- +Mon Sep 28 12:00:00 UTC 2020 - [email protected] + +- Update to 1.0.0 + * The first stable release of Hiredis. + * RESP3 support, TLS connections, allocator injection. + * Connect and command timeouts. + * API breaking changes, recompilation required. +- Update to 0.14.1 + * CVE-2020-7105 (failure to check for NULL return when + allocating memory). +- Update to 0.14.0 + * ABI changes. Upstream "changes are numerous". +- Add relocatable_executable.patch + +------------------------------------------------------------------- Old: ---- v0.13.3.tar.gz New: ---- relocatable_executable.patch v1.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hiredis.spec ++++++ --- /var/tmp/diff_new_pack.ynKfOf/_old 2020-10-02 17:44:23.542992264 +0200 +++ /var/tmp/diff_new_pack.ynKfOf/_new 2020-10-02 17:44:23.542992264 +0200 @@ -1,7 +1,7 @@ # # spec file for package hiredis # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,25 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%global libname lib%{name}0_13 +%global libname lib%{name}1_0_0 Name: hiredis -Version: 0.13.3 +Version: 1.0.0 Release: 0 Summary: Minimalistic C client for Redis License: BSD-3-Clause Group: Productivity/Databases/Clients -Url: https://github.com/redis/hiredis +URL: https://github.com/redis/hiredis Source0: https://github.com/redis/hiredis/archive/v%{version}.tar.gz -BuildRequires: pkg-config -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch0: relocatable_executable.patch +BuildRequires: pkgconfig %description Hiredis is a minimalistic C client library for the -[Redis](http://redis.io/) database. +Redis database. %package devel Summary: Header files and libraries for %{name} @@ -51,26 +51,27 @@ %prep %setup -q +%patch0 %build -make %{?_smp_mflags} OPTIMIZATION="%{optflags}" PREFIX=%{_prefix} LIBRARY_PATH=%{_lib} +%make_build OPTIMIZATION="%{optflags}" PREFIX=%{_prefix} LIBRARY_PATH=%{_lib} %install make install DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBRARY_PATH=%{_lib} mkdir -p %{buildroot}%{_bindir} -install -m 0755 %{name}-* %{buildroot}%{_bindir} +install -m 0755 %{name}-test %{buildroot}%{_bindir} find %{buildroot} -type f -name '*.a' -delete %post -n %{libname} -p /sbin/ldconfig - %postun -n %{libname} -p /sbin/ldconfig %files %defattr(0644,root,root,0755) -%doc COPYING README.md -%attr(0755,root,root) %{_bindir}/%{name}-* +%license COPYING +%doc README.md +%attr(0755,root,root) %{_bindir}/%{name}-test %files devel %defattr(0644,root,root,0755) ++++++ relocatable_executable.patch ++++++ --- Makefile +++ Makefile @@ -208,7 +208,7 @@ endif hiredis-test: test.o $(TEST_LIBS) - $(CC) -o $@ $(REAL_CFLAGS) -I. $^ $(REAL_LDFLAGS) $(TEST_LDFLAGS) + $(CC) -o $@ $(REAL_CFLAGS) -pie -I. $^ $(REAL_LDFLAGS) $(TEST_LDFLAGS) hiredis-%: %.o $(STLIBNAME) $(CC) $(REAL_CFLAGS) -o $@ $< $(TEST_LIBS) $(REAL_LDFLAGS) ++++++ v0.13.3.tar.gz -> v1.0.0.tar.gz ++++++ ++++ 9457 lines of diff (skipped)
