add missing LICENSE files in main package
This commit is contained in:
parent
600e4495a1
commit
5f6a2d3f13
26
redis.spec
26
redis.spec
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
Name: redis
|
Name: redis
|
||||||
Version: 6.0.8
|
Version: 6.0.8
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A persistent key-value database
|
Summary: A persistent key-value database
|
||||||
# redis, linenoise, lzf, hiredis are BSD
|
# redis, linenoise, lzf, hiredis are BSD
|
||||||
# lua is MIT
|
# lua is MIT
|
||||||
@ -66,10 +66,14 @@ Requires(pre): shadow-utils
|
|||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
Requires(postun): systemd
|
Requires(postun): systemd
|
||||||
Provides: bundled(hiredis)
|
# from deps/hiredis/hiredis.h
|
||||||
Provides: bundled(jemalloc)
|
Provides: bundled(hiredis) = 0.14.0
|
||||||
Provides: bundled(lua-libs)
|
# from deps/jemalloc/VERSION
|
||||||
Provides: bundled(linenoise)
|
Provides: bundled(jemalloc) = 5.1.0
|
||||||
|
# from deps/lua/src/lua.h
|
||||||
|
Provides: bundled(lua-libs) = 5.1.5
|
||||||
|
# from deps/linenoise/linenoise.h
|
||||||
|
Provides: bundled(linenoise) = 1.0
|
||||||
Provides: bundled(lzf)
|
Provides: bundled(lzf)
|
||||||
|
|
||||||
%global redis_modules_abi 1
|
%global redis_modules_abi 1
|
||||||
@ -130,6 +134,7 @@ mv ../%{name}-doc-%{doc_commit} doc
|
|||||||
%patch0002 -p1
|
%patch0002 -p1
|
||||||
|
|
||||||
mv deps/lua/COPYRIGHT COPYRIGHT-lua
|
mv deps/lua/COPYRIGHT COPYRIGHT-lua
|
||||||
|
mv deps/jemalloc/COPYING COPYING-jemalloc
|
||||||
mv deps/hiredis/COPYING COPYING-hiredis
|
mv deps/hiredis/COPYING COPYING-hiredis
|
||||||
|
|
||||||
# Configuration file changes
|
# Configuration file changes
|
||||||
@ -240,6 +245,9 @@ exit 0
|
|||||||
%files
|
%files
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
%license COPYRIGHT-lua
|
||||||
|
%license COPYING-jemalloc
|
||||||
|
%license COPYING-hiredis
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
||||||
%attr(0640, redis, root) %config(noreplace) %{_sysconfdir}/%{name}.conf
|
%attr(0640, redis, root) %config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||||
%attr(0640, redis, root) %config(noreplace) %{_sysconfdir}/%{name}-sentinel.conf
|
%attr(0640, redis, root) %config(noreplace) %{_sysconfdir}/%{name}-sentinel.conf
|
||||||
@ -263,18 +271,22 @@ exit 0
|
|||||||
%dir %attr(0755, redis, redis) %ghost %{_localstatedir}/run/%{name}
|
%dir %attr(0755, redis, redis) %ghost %{_localstatedir}/run/%{name}
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
# main package is not required
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%license COPYRIGHT-lua
|
|
||||||
%license COPYING-hiredis
|
|
||||||
%{_includedir}/%{name}module.h
|
%{_includedir}/%{name}module.h
|
||||||
%{macrosdir}/*
|
%{macrosdir}/*
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
|
# main package is not required
|
||||||
|
%license COPYING
|
||||||
%docdir %{_docdir}/%{name}
|
%docdir %{_docdir}/%{name}
|
||||||
%{_docdir}/%{name}
|
%{_docdir}/%{name}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 20 2020 Remi Collet <remi@remirepo.net> - 6.0.8-2
|
||||||
|
- add missing LICENSE files in main package
|
||||||
|
|
||||||
* Thu Sep 10 2020 Remi Collet <remi@remirepo.net> - 6.0.8-1
|
* Thu Sep 10 2020 Remi Collet <remi@remirepo.net> - 6.0.8-1
|
||||||
- Upstream 6.0.8 release.
|
- Upstream 6.0.8 release.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user