Add spec file macros to create a default location for
Redis modules, and to allow module packages to depend
on a specific redis module ABI. A build time test is
added to ensure the upstream sources API version does
not differ to one the redis package Provides:.
The devel package now provides an rpm macros file for
the %{redis_modules_abi} and %{redis_modules_dir}.
Much of this is ideas from Haikel and Remi - thanks!
Small cleanup - the _hardened_build macro is dropped
as this has been the default since f22.
Add "--supervised systemd" to the command line, and
drop the "--daemonize" option as Redis already does
this internally in supervised mode.
Add Provides:bundled spec file lines for linenoise,
lua-libs and hiredis.
For cases where we have two ways of doing one thing (using
a patch or sed-based modification of files), rework these
such that we're only using one method. Allows several of
the patches to be dropped.
Described in https://github.com/antirez/redis/issues/1417
is a method for allowing integration/replication-psync to
be reliably run - start using it, and drop the patch that
was disabling that test.
Other small side-effects of this commit:
- the build warning about "jemalloc not found" is fixed;
- CFLAGS additions are now consistently handled (for deps
as well) - using the upstream-provided mechanism for
compiler flag propogation.
Enable the systemd supervision support in redis
configuration files and update the service type
in the systemd service file to enable its use.
This resolves RHBZ #1172841.
Merge the redis-trib sub-package patch originally from
Sebastian Saletnik with added conditionals for building
on platforms with no ruby redis gem (EPEL6 and Fedoras
before f19).
This resolves Redis RHBZ #1215654.
Add RuntimeDirectory=redis to systemd unit file (RHBZ #1454700)
Mark rundir as %ghost since it may disappear (tmpfs - #1454700)
Fix a shutdown failure with Unix domain sockets (RHBZ #1444988)
Patch contributed by Nathan Scott