diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2018-01-18 15:24:00 -0500 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2018-01-24 10:22:14 +0000 |
commit | 0c57232ae07f48bd6483bfe88a182f832377ef52 (patch) | |
tree | a219fc2338250c30ab8eb72889f829c09f6ca571 /contrib/mount | |
parent | 78868033bc208bdb681266d0129e66f5627295a2 (diff) |
build: glibc has removed rpc headers and rpcgen in Fedora28, use libtirpc
Other Linux distributions are doing the same; some others have already
done so.
Switch to libtirpc(-devel) and unbundled rpcgen packages. For now
rpcgen is still provided by the glibc-rpcgen RPM, but rpcsvc-proto's
rpcgen subpackage is available now but will not be used until
glibc-rpcgen is retired. (note, rpcsvc-proto's rpcgen is just named
rpcgen-...rpm. I.e. not rpcsvc-proto-rpcgen.) Right now either one
will satisfy the BuildRequires: rpcgen.
Also, when a .spec file has
BuildRequires: foo-devel
it is not necessary to also have:
BuildRequires: foo
or even:
BuildRequires: foo foo-devel
The foo-devel package has a dependency on foo, which will install foo
automatically. It's usually also not necessary to have a corresponding
Requires: foo
as the rpmbuild process will also automatically determine the
install-time dependencies.
And other minor glusterfs.spec.in cleanup of ipv6-default, including
sorting the argument definitions because the comment says "keep them
sorted" (Though nobody appears to have ever sorted them in the first
place.)
Change-Id: I86f847dfda0fef83e22c6e8b761342d652a2d9ba
BUG: 1536186
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'contrib/mount')
0 files changed, 0 insertions, 0 deletions