chore: migrated to SPDX license

chore: drop useless setup macro, cause it duplicates with autosetup

chore: drop useless ldconfig_scriptlets, it has been done through glibc filetriggers since openeuler 1.0
(cherry picked from commit 0f50343f43d30330f821f366cdba55fb65537b37)
This commit is contained in:
Funda Wang 2024-11-14 20:55:53 +08:00 committed by openeuler-sync-bot
parent e054e1b08e
commit 5577a652e3

View File

@ -1,8 +1,8 @@
Name: rdma-core
Version: 50.0
Release: 13
Release: 14
Summary: RDMA core userspace libraries and daemons
License: GPLv2 or BSD
License: GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
Url: https://github.com/linux-rdma/rdma-core
Source: https://github.com/linux-rdma/rdma-core/releases/download/v%{version}/%{name}-%{version}.tar.gz
@ -255,7 +255,6 @@ Obsoletes: infiniband-diags-help < %{version}-%{release}
Man pages and other related documents for %{name}.
%prep
%setup
%autosetup -v -p1
%build
@ -317,12 +316,6 @@ install -D -m 0644 ibacm_opts.cfg %{buildroot}%{_sysconfdir}/rdma/
rm -rf %{buildroot}/%{_initrddir}/
rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh
%ldconfig_scriptlets -n libibverbs
%ldconfig_scriptlets -n libibumad
%ldconfig_scriptlets -n librdmacm
%post
if [ -x /sbin/udevadm ];then
/sbin/udevadm trigger --subsystem-match=infiniband --action=change || true
@ -628,6 +621,13 @@ fi
%doc %{_docdir}/%{name}-%{version}/70-persistent-ipoib.rules
%changelog
* Fri Nov 08 2024 Funda Wang <fundawang@yeah.net> - 50.0-14
- adopt to new cmake macro
- migrated to SPDX license
- drop useless setup macro, cause it duplicates with autosetup
- drop useless ldconfig_scriptlets, it has been done through glibc's
filetriggers since openeuler 1.0
* Sat Aug 31 2024 Li Fuyan <li.fuyan@zte.com.cn> - 50.0-13
- Type: requirement
- ID: NA