forked from rpms/rpcbind
Use default build flags from redhat-rpm-config
This commit is contained in:
parent
f69f751f06
commit
40319d3d4e
16
rpcbind.spec
16
rpcbind.spec
@ -4,7 +4,7 @@
|
||||
|
||||
Name: rpcbind
|
||||
Version: 0.2.4
|
||||
Release: 9.rc3%{?dist}.1
|
||||
Release: 10.rc3%{?dist}
|
||||
Summary: Universal Addresses to RPC Program Number Mapper
|
||||
Group: System Environment/Daemons
|
||||
License: BSD
|
||||
@ -50,17 +50,8 @@ RPC calls on a server on that machine.
|
||||
%patch103 -p1
|
||||
%patch104 -p1
|
||||
%build
|
||||
%ifarch s390 s390x
|
||||
PIE="-fPIE"
|
||||
%else
|
||||
PIE="-fpie"
|
||||
%endif
|
||||
export PIE
|
||||
|
||||
CFLAGS="`echo $RPM_OPT_FLAGS $ARCH_OPT_FLAGS $PIE`"
|
||||
|
||||
autoreconf -fisv
|
||||
%configure CFLAGS="$CFLAGS" LDFLAGS="-pie" \
|
||||
%configure \
|
||||
--enable-warmstarts \
|
||||
--with-statedir="%rpcbind_state_dir" \
|
||||
--with-rpcuser="%rpcbind_user_group" \
|
||||
@ -139,6 +130,9 @@ fi
|
||||
%attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir}
|
||||
|
||||
%changelog
|
||||
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 0.2.4-10.rc3
|
||||
- Use default build flags from redhat-rpm-config
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-9.rc3.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user