correctly fix libdebuginfod.so requirement

(cherry picked from commit 21e65fda2285afb2401555f3cfe760d0a03d1d8b)
This commit is contained in:
Funda Wang 2025-02-05 11:47:48 +08:00 committed by openeuler-sync-bot
parent 941f4a8b57
commit 14527df8be

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