From 0e50dfc653a59f74a59360e09c797841a637dfaa Mon Sep 17 00:00:00 2001 From: yanglijin Date: Tue, 17 Mar 2020 11:09:05 -0400 Subject: [PATCH] modify spec --- libpsm2.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libpsm2.spec b/libpsm2.spec index 1416771..500dc3e 100644 --- a/libpsm2.spec +++ b/libpsm2.spec @@ -1,6 +1,6 @@ Name: libpsm2 Version: 10.3.58 -Release: 4 +Release: 5 Summary: Intel PSM Libraries License: BSD or GPLv2 URL: https://github.com/01org/opa-psm2/ @@ -21,6 +21,10 @@ Requires: libpsm2 = %{version}-%{release} libuuid-devel Summary: Compat library for Intel PSM Requires: libpsm2 = %{version}-%{release} systemd-udev +%global _privatelibs libpsm_infinipath[.]so[.]1.* +%global __provides_exclude ^(%{_privatelibs})$ +%global __requires_exclude ^(%{_privatelibs})$ + %description The PSM Messaging API, or PSM API, is the low-level user-level communications interface for the Intel OPA family of products. PSM users are enabled with mechanisms necessary to implement higher level communications @@ -68,6 +72,9 @@ rm -f %{buildroot}%{_libdir}/*.a %{_sysconfdir}/modprobe.d/libpsm2-compat.conf %changelog +* Tue Mar 17 2020 yanglijin - 10.3.58-5 +- fix provides + * Mon Mar 16 2020 gulining - 10.3.58-4 - fix install error with wrong release -- Gitee