Split out logrotate config and dependency into a subpackage
Resolves: rhbz#1992155
This commit is contained in:
parent
ab4a7972df
commit
c8778ca2f2
20
rsyslog.spec
20
rsyslog.spec
@ -5,7 +5,7 @@
|
|||||||
Summary: Enhanced system logging and kernel message trapping daemon
|
Summary: Enhanced system logging and kernel message trapping daemon
|
||||||
Name: rsyslog
|
Name: rsyslog
|
||||||
Version: 8.2102.0
|
Version: 8.2102.0
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
License: (GPLv3+ and ASL 2.0)
|
License: (GPLv3+ and ASL 2.0)
|
||||||
URL: http://www.rsyslog.com/
|
URL: http://www.rsyslog.com/
|
||||||
Source0: http://www.rsyslog.com/files/download/rsyslog/%{name}-%{version}.tar.gz
|
Source0: http://www.rsyslog.com/files/download/rsyslog/%{name}-%{version}.tar.gz
|
||||||
@ -44,13 +44,18 @@ BuildRequires: python3-docutils
|
|||||||
BuildRequires: systemd-devel >= 204-8
|
BuildRequires: systemd-devel >= 204-8
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
|
|
||||||
Requires: logrotate >= 3.5.2
|
Recommends: %{name}-logrotate = %version-%release
|
||||||
Requires: bash >= 2.0
|
Requires: bash >= 2.0
|
||||||
%{?systemd_ordering}
|
%{?systemd_ordering}
|
||||||
|
|
||||||
Provides: syslog
|
Provides: syslog
|
||||||
Obsoletes: sysklogd < 1.5-11
|
Obsoletes: sysklogd < 1.5-11
|
||||||
|
|
||||||
|
%package logrotate
|
||||||
|
Summary: Log rotation for rsyslog
|
||||||
|
Requires: %name = %version-%release
|
||||||
|
Requires: logrotate >= 3.5.2
|
||||||
|
|
||||||
%package crypto
|
%package crypto
|
||||||
Summary: Encryption support
|
Summary: Encryption support
|
||||||
Requires: %name = %version-%release
|
Requires: %name = %version-%release
|
||||||
@ -153,6 +158,9 @@ and can be used as a drop-in replacement. Rsyslog is simple to set up, with
|
|||||||
advanced features suitable for enterprise-class, encryption-protected syslog
|
advanced features suitable for enterprise-class, encryption-protected syslog
|
||||||
relay chains.
|
relay chains.
|
||||||
|
|
||||||
|
%description logrotate
|
||||||
|
This subpackage contains the default logrotate configuration for rsyslog.
|
||||||
|
|
||||||
%description crypto
|
%description crypto
|
||||||
This package contains a module providing log file encryption and a
|
This package contains a module providing log file encryption and a
|
||||||
command line tool to process encrypted logs.
|
command line tool to process encrypted logs.
|
||||||
@ -400,7 +408,6 @@ done
|
|||||||
%{_unitdir}/rsyslog.service
|
%{_unitdir}/rsyslog.service
|
||||||
%config(noreplace) %{_sysconfdir}/rsyslog.conf
|
%config(noreplace) %{_sysconfdir}/rsyslog.conf
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/rsyslog
|
%config(noreplace) %{_sysconfdir}/sysconfig/rsyslog
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/rsyslog
|
|
||||||
# plugins
|
# plugins
|
||||||
%{_libdir}/rsyslog/fmhash.so
|
%{_libdir}/rsyslog/fmhash.so
|
||||||
%{_libdir}/rsyslog/fmhttp.so
|
%{_libdir}/rsyslog/fmhttp.so
|
||||||
@ -436,6 +443,9 @@ done
|
|||||||
%{_libdir}/rsyslog/pmlastmsg.so
|
%{_libdir}/rsyslog/pmlastmsg.so
|
||||||
%{_libdir}/rsyslog/pmsnare.so
|
%{_libdir}/rsyslog/pmsnare.so
|
||||||
|
|
||||||
|
%files logrotate
|
||||||
|
%config(noreplace) %{_sysconfdir}/logrotate.d/rsyslog
|
||||||
|
|
||||||
%files crypto
|
%files crypto
|
||||||
%{_bindir}/rscryutil
|
%{_bindir}/rscryutil
|
||||||
%{_mandir}/man1/rscryutil.1.gz
|
%{_mandir}/man1/rscryutil.1.gz
|
||||||
@ -502,6 +512,10 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 26 2021 Davide Cavalca <dcavalca@centosproject.org> - 8.2102.0-10
|
||||||
|
- Split out logrotate config and dependency into a subpackage
|
||||||
|
resolves: rhbz#1992155
|
||||||
|
|
||||||
* Fri Aug 27 2021 Attila Lakatos <alakatos@redhat.com> - 8.2102.0-9
|
* Fri Aug 27 2021 Attila Lakatos <alakatos@redhat.com> - 8.2102.0-9
|
||||||
- Add required flags for branch protection
|
- Add required flags for branch protection
|
||||||
- Add missing tests folder
|
- Add missing tests folder
|
||||||
|
Loading…
Reference in New Issue
Block a user