From 7b7ce8e6b9a9dae8f3cbf6648c60e76fb6519ca8 Mon Sep 17 00:00:00 2001 From: happy_orange Date: Wed, 9 Nov 2022 22:19:46 -0500 Subject: [PATCH] remove unwanted requires in anaconda pacakge --- libreport.spec | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/libreport.spec b/libreport.spec index 965c858..fcc86e7 100644 --- a/libreport.spec +++ b/libreport.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.2 +%define anolis_release .0.3 %if 0%{?suse_version} %bcond_with bugzilla @@ -387,11 +387,7 @@ package and you're done. Summary: Default configuration for reporting anaconda bugs Requires: %{name} = %{version}-%{release} Requires: libreport-plugin-reportuploader = %{version}-%{release} -%if 0%{?rhel} -Requires: libreport-plugin-rhtsupport = %{version}-%{release} -%else Requires: libreport-plugin-bugzilla = %{version}-%{release} -%endif %description anaconda Default configuration for reporting Anaconda problems or uploading the gathered @@ -528,6 +524,8 @@ rm -f %{buildroot}%{_mandir}/man5/report_uReport.conf.5 rm -f %{buildroot}%{_mandir}/man5/report_rhel_bugzilla.conf.5 %endif +rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml + %check make check|| { # find and print the logs of failed test @@ -864,12 +862,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %if %{with bugzilla} %files anaconda -%if 0%{?fedora} -%{_datadir}/%{name}/workflows/workflow_AnacondaFedora.xml -%endif -%if 0%{?rhel} -%{_datadir}/%{name}/workflows/workflow_AnacondaRHEL.xml -%endif %{_datadir}/%{name}/workflows/workflow_AnacondaUpload.xml %config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf @@ -882,6 +874,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* Tue Nov 9 2022 happy_orange - 2.9.5-15.0.3 +- remove the unwanted package in anaconda sub package + * Sun Jun 27 2021 Jacob Wang - 2.9.5-15.0.2 - Recover sub packages to fix abrt-cli requires -- Gitee