Remove misguided LDFLAGS hack which removed server hardening.
https://bugzilla.redhat.com/show_bug.cgi?id=1624149#c6
This commit is contained in:
parent
b1cfd00957
commit
c6c0e76474
10
nbdkit.spec
10
nbdkit.spec
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
Name: nbdkit
|
Name: nbdkit
|
||||||
Version: 1.9.7
|
Version: 1.9.7
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: NBD server
|
Summary: NBD server
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -589,10 +589,6 @@ autoreconf -i
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Force immediate binding for hardened build for plugins.
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=977446#c13
|
|
||||||
export LDFLAGS="$LDFLAGS -Wl,-z,now"
|
|
||||||
|
|
||||||
# Build for Python 3 in a separate subdirectory. Upstream does not
|
# Build for Python 3 in a separate subdirectory. Upstream does not
|
||||||
# support srcdir!=builddir so copy the whole source.
|
# support srcdir!=builddir so copy the whole source.
|
||||||
copy="$(mktemp -d)"
|
copy="$(mktemp -d)"
|
||||||
@ -963,6 +959,10 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 17 2018 Richard W.M. Jones <rjones@redhat.com> - 1.9.7-2
|
||||||
|
- Remove misguided LDFLAGS hack which removed server hardening.
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=1624149#c6
|
||||||
|
|
||||||
* Sat Dec 15 2018 Richard W.M. Jones <rjones@redhat.com> - 1.9.7-1
|
* Sat Dec 15 2018 Richard W.M. Jones <rjones@redhat.com> - 1.9.7-1
|
||||||
- New upstream version 1.9.7.
|
- New upstream version 1.9.7.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user