rebuild for f31/rawhide

add libnsl2-devel on rhel8
 eliminate redundant cmake -DDSANITIZE_ADDRESS=OFF

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
This commit is contained in:
Kaleb S. KEITHLEY 2019-02-21 17:37:59 -05:00
parent 4b51389cab
commit b0fd3e3246

View File

@ -128,7 +128,7 @@ Requires: openSUSE-release
Name: nfs-ganesha
Version: 2.7.1
Release: 5%{?dev:%{dev}}%{?dist}
Release: 1%{?dev:%{dev}}%{?dist}
Summary: NFS-Ganesha is a NFS Server running in user space
License: LGPLv3+
Url: https://github.com/nfs-ganesha/nfs-ganesha/wiki
@ -143,7 +143,7 @@ BuildRequires: krb5-devel
%if ( 0%{?suse_version} >= 1330 )
BuildRequires: libnsl-devel
%else
%if ( 0%{?fedora} >= 28 )
%if ( 0%{?fedora} >= 28 || 0%{?rhel} >= 8 )
BuildRequires: libnsl2-devel
%endif
%endif
@ -415,7 +415,7 @@ be used with NFS-Ganesha to support Gluster
%endif
# SELINUX
%if ( 0%{?fedora} >= 30 || 0%{?rhel} >= 8 )
%if ( 0%{?fedora} >= 29 || 0%{?rhel} >= 8 )
%package selinux
Summary: The NFS-GANESHA SELINUX targeted policy
BuildArch: noarch
@ -486,7 +486,6 @@ Development headers and auxiliary files for developing with %{name}.
%build
cd src && %cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_CONFIG=rpmbuild \
-DDSANITIZE_ADDRESS=OFF \
-DUSE_FSAL_NULL=%{use_fsal_null} \
-DUSE_FSAL_MEM=%{use_fsal_mem} \
-DUSE_FSAL_XFS=%{use_fsal_xfs} \
@ -848,6 +847,11 @@ exit 0
%endif
%changelog
* Thu Feb 21 2019 Kaleb S. KEITHLEY <kkeithle at redhat.com> - 2.7.1-1
- rebuild for f31/rawhide
- add libnsl2-devel on rhel8
- eliminate redundant cmake -DDSANITIZE_ADDRESS=OFF
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild