summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2019-03-08 10:17:14 -0500
committerKaleb S. KEITHLEY <kkeithle@redhat.com>2019-03-08 10:19:43 -0500
commit47ed784e3759df8b237436a86f0d27acbe5efa81 (patch)
treea436117ece0d849d5b933a355d59641a41fd5469
parent7964a320f380fa23727795ad6456ef0020fab35c (diff)
packaging: rdma on s390x, unnecessary ldconfig scriptlets
s390x has rdma since around fedora27, and in RHEL7 since July 2016. see https://src.fedoraproject.org/rpms/glusterfs/pull-request/5 Reported-By: Igor Gnatenko Reported-By: Dan HorĂ¡k <dan@danny.cz> master branch Change-Ids: > Change-Id: Idad29425495f9c69bfd84b53b009a607abb418f0 > Change-Id: I914f36290e96a387cdd64ee633e75c2940ec1e56 Change-Id: I7747700e982b365533ebd031164708b9ad97f18a fixes: bz#1686875 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
-rw-r--r--glusterfs.spec.in20
1 files changed, 10 insertions, 10 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index a2d1cdb9fb1..20abd358be7 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -84,8 +84,8 @@
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without rdma
%{?_without_rdma:%global _without_rdma --disable-ibverbs}
-# No RDMA Support on s390(x)
-%ifarch s390 s390x armv7hl
+# No RDMA Support on 32-bit ARM
+%ifarch armv7hl
%global _without_rdma --disable-ibverbs
%endif
@@ -982,22 +982,14 @@ exit 0
## All %%postun should be placed here and keep them sorted
##
%postun
-/sbin/ldconfig
%if ( 0%{!?_without_syslog:1} )
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
%systemd_postun_with_restart rsyslog
%endif
%endif
-%postun api
-/sbin/ldconfig
-
-%postun libs
-/sbin/ldconfig
-
%if ( 0%{!?_without_server:1} )
%postun server
-/sbin/ldconfig
%if (0%{?_with_firewalld:1})
%firewalld_reload
%endif
@@ -1389,6 +1381,14 @@ exit 0
%endif
%changelog
+* Wed Mar 6 2019 Kaleb S. KEITHLEY <kkeithle@redhat.com>
+- remove unneeded ldconfig in scriptlets
+- reported by Igor Gnatenko in Fedora
+- https://src.fedoraproject.org/rpms/glusterfs/pull-request/5
+
+* Mon Mar 4 2019 Kaleb S. KEITHLEY <kkeithle@redhat.com>
+- s390x has RDMA, since around Fedora 27 and in RHEL7 since June 2016.
+
* Sun Feb 24 2019 Aravinda VK <avishwan@redhat.com>
- Renamed events package to gfevents