remove docs and update to 7.2.9
Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>master
parent
d02dc15d3c
commit
3752dcd5e3
|
@ -1,11 +1,9 @@
|
|||
%undefine _package_note_file
|
||||
%global doc_commit e50ea1872e4efaf2a7174700050b7ce1c47dc2a8
|
||||
%global short_doc_commit %(c=%{doc_commit}; echo ${c:0:7})
|
||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||
%global redis_port 6380
|
||||
|
||||
Name: icingadb-redis
|
||||
Version: 7.0.15
|
||||
Version: 7.2.9
|
||||
Release: 1%{?dist}
|
||||
Summary: A persistent key-value database
|
||||
License: BSD and MIT
|
||||
|
@ -17,16 +15,6 @@ Source3: icingadb-redis.service
|
|||
Source6: icingadb-redis-shutdown
|
||||
Source7: icingadb-redis-limit-systemd
|
||||
Source9: macros.icingadb-redis
|
||||
Source10: https://github.com/redis/redis-doc/archive/%{doc_commit}/redis-doc-%{short_doc_commit}.tar.gz
|
||||
# To refresh patches:
|
||||
# tar xf redis-xxx.tar.gz && cd redis-xxx && git init && git add . && git commit -m "%%{version} baseline"
|
||||
# git am %%{patches}
|
||||
# Then refresh your patches
|
||||
# git format-patch HEAD~<number of expected patches>
|
||||
# Update configuration for Fedora
|
||||
# https://github.com/redis/redis/pull/3491 - man pages
|
||||
Patch0001: 0001-1st-man-pageis-for-redis-cli-redis-benchmark-redis-c.patch
|
||||
# Update default port from 6370 to 6380
|
||||
Patch0901: icinga-conf.patch
|
||||
Patch0902: icinga-deps.patch
|
||||
Patch0903: icinga-src.patch
|
||||
|
@ -93,25 +81,10 @@ Provides: icingadb-redis-static = %{version}-%{release}
|
|||
Header file required for building loadable Redis modules. Detailed
|
||||
API documentation is available in the redis-doc package.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for Redis including man pages
|
||||
License: CC-BY-SA
|
||||
BuildArch: noarch
|
||||
Conflicts: redis < 4.0
|
||||
%description doc
|
||||
Manual pages and detailed documentation for many aspects of Redis use,
|
||||
administration and development.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -b 10 -n redis-%{version}
|
||||
%setup -q -n redis-%{version}
|
||||
mv ../redis-doc-%{doc_commit} doc
|
||||
%patch0001 -p1
|
||||
%patch0901 -p1
|
||||
%patch0902 -p1
|
||||
%patch0903 -p1
|
||||
%patch0904 -p1
|
||||
mv deps/lua/COPYRIGHT COPYRIGHT-lua
|
||||
mv deps/jemalloc/COPYING COPYING-jemalloc
|
||||
mv deps/hiredis/COPYING COPYING-hiredis
|
||||
|
|
Loading…
Reference in New Issue