Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spec: Move libreport configuration to a separate package #2092

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion dnf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Conflicts: python3-dnf-plugins-extras-common < %{conflicts_dnf_plugins_extr

%package data
Summary: Common data and configuration files for DNF
Requires: libreport-filesystem
Requires: (%{name}-libreport if libreport)
%if %{with dnf5_obsoletes_dnf}
Requires: /etc/dnf/dnf.conf
%endif
Expand All @@ -113,6 +113,19 @@ Provides: %{name}-conf = %{version}-%{release}
%description data
Common data and configuration files for DNF

%package libreport
Summary: libreport configuration for collecting DNF logs
Requires: coreutils
Requires: findutils
Requires: libreport-filesystem
Requires: systemd
Requires: %{name}-data = %{version}-%{release}
# Split from %%{name}-data-4.20-1
Conflicts: %{name}-data <= 4.20.0-2

%description libreport
Configuration files which help ABRT/libreport to collect DNF log files.

%package -n %{yum_subpackage_name}
Requires: %{name} = %{version}-%{release}
Summary: %{pkg_summary}
Expand Down Expand Up @@ -336,6 +349,8 @@ popd
%{_mandir}/man5/%{name}.conf.5*
%endif
%{_tmpfilesdir}/%{name}.conf

%files libreport
%{_sysconfdir}/libreport/events.d/collect_dnf.conf

%files -n %{yum_subpackage_name}
Expand Down
Loading