!147 [sync] PR-142: correctly fix libdebuginfod.so requirement

From: @openeuler-sync-bot 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
This commit is contained in:
openeuler-ci-bot 2025-02-06 02:18:54 +00:00 committed by Gitee
commit 8070641c2d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
# -*- rpm-spec from http://elfutils.org/ -*- # -*- rpm-spec from http://elfutils.org/ -*-
Name: elfutils Name: elfutils
Version: 0.190 Version: 0.190
Release: 6 Release: 7
Summary: A collection of utilities and DSOs to handle ELF files and DWARF data Summary: A collection of utilities and DSOs to handle ELF files and DWARF data
URL: http://elfutils.org/ URL: http://elfutils.org/
License: GPLv3+ and (GPLv2+ or LGPLv3+) License: GPLv3+ and (GPLv2+ or LGPLv3+)
@ -137,6 +137,7 @@ License: GPLv3+ and (GPLv2+ or LGPLv3+)
%package debuginfod-client-devel %package debuginfod-client-devel
Summary: Libraries and headers to build debuginfod client applications Summary: Libraries and headers to build debuginfod client applications
Requires: %{name}-debuginfod-client = %{version}-%{release}
License: GPLv2+ or LGPLv3+ License: GPLv2+ or LGPLv3+
%package debuginfod %package debuginfod
@ -291,11 +292,12 @@ fi
%files debuginfod-client %files debuginfod-client
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libdebuginfod-%{version}.so %{_libdir}/libdebuginfod-%{version}.so
%{_libdir}/libdebuginfod.so* %{_libdir}/libdebuginfod.so.*
%{_bindir}/debuginfod-find %{_bindir}/debuginfod-find
%files debuginfod-client-devel %files debuginfod-client-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libdebuginfod.so
%{_libdir}/pkgconfig/libdebuginfod.pc %{_libdir}/pkgconfig/libdebuginfod.pc
%{_includedir}/elfutils/debuginfod.h %{_includedir}/elfutils/debuginfod.h
@ -322,6 +324,9 @@ exit 0
%systemd_postun_with_restart debuginfod.service %systemd_postun_with_restart debuginfod.service
%changelog %changelog
* Wed Feb 05 2025 Funda Wang <fundawang@yeah.net> - 0.190-7
- correctly fix libdebuginfod.so requirement
* Fri Jan 24 2025 shixuantong <shixuantong1@huawei.com> - 0.190-6 * Fri Jan 24 2025 shixuantong <shixuantong1@huawei.com> - 0.190-6
- Type:bugfix - Type:bugfix
- CVE:NA - CVE:NA