eliminate contrib/sunrpc/xdr_sizeof.c

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
This commit is contained in:
Kaleb S. KEITHLEY 2020-07-22 08:28:06 -04:00
parent b513261e97
commit ec1c3d7ac7
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
--- glusterfs-8.0/rpc/rpc-lib/src/Makefile.am.orig 2020-07-22 08:09:31.315980869 -0400
+++ glusterfs-8.0/rpc/rpc-lib/src/Makefile.am 2020-07-22 08:10:12.203980869 -0400
@@ -2,8 +2,7 @@
libgfrpc_la_SOURCES = auth-unix.c rpcsvc-auth.c rpcsvc.c auth-null.c \
rpc-transport.c xdr-rpc.c xdr-rpcclnt.c rpc-clnt.c auth-glusterfs.c \
- rpc-drc.c $(CONTRIBDIR)/sunrpc/xdr_sizeof.c rpc-clnt-ping.c \
- autoscale-threads.c mgmt-pmap.c
+ rpc-drc.c rpc-clnt-ping.c autoscale-threads.c mgmt-pmap.c
EXTRA_DIST = libgfrpc.sym

View File

@ -183,7 +183,7 @@ Summary: Distributed File System
%if ( 0%{_for_fedora_koji_builds} )
Name: glusterfs
Version: 8.0
Release: 4%{?dev:%{dev}}%{?dist}
Release: 5%{?dev:%{dev}}%{?dist}
%else
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
@ -201,6 +201,7 @@ Source8: glusterfsd.init
Source0: @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz
%endif
Patch0001: 0001-api-libgfapi-symbol-versions-break-LTO-in-Fedora-raw.patch
Patch0002: 0002-rpc-rpc-lib-src-Makefile.am.patch
Requires(pre): shadow-utils
BuildRequires: systemd
@ -774,6 +775,7 @@ This package provides the glusterfs thin-arbiter translator.
%prep
%setup -q -n %{name}-%{version}%{?dev}
%patch0001 -p1
%patch0002 -p1
%if ( ! %{_usepython3} )
echo "fixing python shebangs..."
for f in api events extras geo-replication libglusterfs tools xlators; do
@ -1578,6 +1580,9 @@ exit 0
%{_unitdir}/gluster-ta-volume.service
%changelog
* Wed Jul 22 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 8.0-5
- eliminate contrib/sunrpc/xdr_sizeof.c
* Mon Jul 20 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 8.0-4
- use %make_install macro