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:
parent
e054e1b08e
commit
5577a652e3
@ -1,8 +1,8 @@
|
|||||||
Name: rdma-core
|
Name: rdma-core
|
||||||
Version: 50.0
|
Version: 50.0
|
||||||
Release: 13
|
Release: 14
|
||||||
Summary: RDMA core userspace libraries and daemons
|
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
|
Url: https://github.com/linux-rdma/rdma-core
|
||||||
Source: https://github.com/linux-rdma/rdma-core/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
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}.
|
Man pages and other related documents for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
|
||||||
%autosetup -v -p1
|
%autosetup -v -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -317,12 +316,6 @@ install -D -m 0644 ibacm_opts.cfg %{buildroot}%{_sysconfdir}/rdma/
|
|||||||
rm -rf %{buildroot}/%{_initrddir}/
|
rm -rf %{buildroot}/%{_initrddir}/
|
||||||
rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh
|
rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh
|
||||||
|
|
||||||
%ldconfig_scriptlets -n libibverbs
|
|
||||||
|
|
||||||
%ldconfig_scriptlets -n libibumad
|
|
||||||
|
|
||||||
%ldconfig_scriptlets -n librdmacm
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ -x /sbin/udevadm ];then
|
if [ -x /sbin/udevadm ];then
|
||||||
/sbin/udevadm trigger --subsystem-match=infiniband --action=change || true
|
/sbin/udevadm trigger --subsystem-match=infiniband --action=change || true
|
||||||
@ -628,6 +621,13 @@ fi
|
|||||||
%doc %{_docdir}/%{name}-%{version}/70-persistent-ipoib.rules
|
%doc %{_docdir}/%{name}-%{version}/70-persistent-ipoib.rules
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Aug 31 2024 Li Fuyan <li.fuyan@zte.com.cn> - 50.0-13
|
||||||
- Type: requirement
|
- Type: requirement
|
||||||
- ID: NA
|
- ID: NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user