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

Conversation

ppisar
Copy link
Contributor

@ppisar ppisar commented May 9, 2024

dnf-data packaged a libreport configuration file for collecting DNF logs for ABRT. It has to depend on libreport-filesystem. That file and thus the dependency is useless if a user does not have ABRT/libreport installed. The script also requires dependencies, like systemd which were never declared.

This patch moves the configuration file into a separate dnf-libreport subpackage, declares all dependencies, and makes it conditionally required only if libreport is installed. This way the script is installed only when it is helpful. The new subpackage requires dnf-data to get uninstalled if a user uninstalls DNF.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2120960
Replaces: #1986

dnf-data packaged a libreport configuration file for collecting DNF logs
for ABRT. It has to depend on libreport-filesystem. That file and thus
the dependency is useless if a user does not have ABRT/libreport
installed. The script also requires dependencies, like systemd which
were never declared.

This patch moves the configuration file into a separate dnf-libreport
subpackage, declares all dependencies, and makes it conditionally
required only if libreport is installed. This way the script is
installed only when it is helpful. The new subpackage requires
dnf-data to get uninstalled if a user uninstalls DNF.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2120960
@j-mracek
Copy link
Contributor

@ppisar
Copy link
Contributor Author

ppisar commented Jun 12, 2024

Obsoleted by issue #2101.

@ppisar ppisar closed this Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants