libnsl2-devel: Add a new dependency and adjust the path to it
libnsl2 was separated from glibc-headers and moved into separate directory, which needed adjustments in the build variables https://fedoraproject.org/wiki/Changes/SunRPCRemoval
This commit is contained in:
parent
3f5472db89
commit
83840a05b0
|
@ -43,6 +43,7 @@ Patch30: tcp_wrappers-7.6-altformat.patch
|
|||
Patch31: tcp_wrappers-7.6-aclexec.patch
|
||||
# required by sin_scope_id in ipv6 patch
|
||||
BuildRequires: glibc-devel >= 2.2
|
||||
BuildRequires: libnsl2-devel
|
||||
Requires: tcp_wrappers-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
|
@ -104,7 +105,11 @@ develop applications with tcp_wrappers support.
|
|||
%patch31 -p1 -b .aclexec
|
||||
|
||||
%build
|
||||
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -DPIC -D_REENTRANT -DHAVE_STRERROR -DACLEXEC" LDFLAGS="-pie -z relro -z now" MAJOR=%{LIB_MAJOR} MINOR=%{LIB_MINOR} REL=%{LIB_REL} linux %{?_smp_mflags}
|
||||
make \
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -DPIC -D_REENTRANT -DHAVE_STRERROR -DACLEXEC -I/usr/include/nsl/" \
|
||||
LIBRARY_PATH="%{_libdir}/nsl/" \
|
||||
LDFLAGS="-pie -z relro -z now" \
|
||||
MAJOR=%{LIB_MAJOR} MINOR=%{LIB_MINOR} REL=%{LIB_REL} linux %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
|
|
Loading…
Reference in New Issue