2.4-dev-29
This commit is contained in:
parent
d66e9549ed
commit
0b3779ea1e
20
nfs-ganesha-2.4dev29-FSAL.patch
Normal file
20
nfs-ganesha-2.4dev29-FSAL.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- nfs-ganesha-2.4-dev-29/src/FSAL/FSAL_VFS/handle.c.orig 2016-08-15 13:40:03.546478618 -0400
|
||||||
|
+++ nfs-ganesha-2.4-dev-29/src/FSAL/FSAL_VFS/handle.c 2016-08-15 13:47:10.254478618 -0400
|
||||||
|
@@ -32,6 +32,7 @@
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
+#include <sys/sysmacros.h> /* for makedev(3) */
|
||||||
|
#include <libgen.h> /* used for 'dirname' */
|
||||||
|
#include <pthread.h>
|
||||||
|
#include <string.h>
|
||||||
|
--- nfs-ganesha-2.4-dev-29/src/FSAL/FSAL_CEPH/handle.c.orig 2016-08-15 13:45:20.288478618 -0400
|
||||||
|
+++ nfs-ganesha-2.4-dev-29/src/FSAL/FSAL_CEPH/handle.c 2016-08-15 13:46:43.061478618 -0400
|
||||||
|
@@ -31,6 +31,7 @@
|
||||||
|
* fsal_obj_handle type.
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#include <sys/sysmacros.h> /* for makedev(3) */
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <cephfs/libcephfs.h>
|
||||||
|
#include "fsal.h"
|
@ -74,15 +74,16 @@ Requires: sles-release >= 12
|
|||||||
|
|
||||||
Name: nfs-ganesha
|
Name: nfs-ganesha
|
||||||
Version: 2.4.0
|
Version: 2.4.0
|
||||||
%global dev dev27
|
%global dev dev29
|
||||||
%global dash_dev_version 2.4-dev-27
|
%global dash_dev_version 2.4-dev-29
|
||||||
Release: 0.14%{?dev:%{dev}}%{?dist}
|
Release: 0.15%{?dev:%{dev}}%{?dist}
|
||||||
Summary: NFS-Ganesha is a NFS Server running in user space
|
Summary: NFS-Ganesha is a NFS Server running in user space
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
Url: https://github.com/nfs-ganesha/nfs-ganesha/wiki
|
Url: https://github.com/nfs-ganesha/nfs-ganesha/wiki
|
||||||
|
|
||||||
Source0: https://github.com/%{name}/%{name}/archive/V%{dash_dev_version}/%{name}-%{dash_dev_version}.tar.gz
|
Source0: https://github.com/%{name}/%{name}/archive/V%{dash_dev_version}/%{name}-%{dash_dev_version}.tar.gz
|
||||||
|
Patch0: nfs-ganesha-2.4dev29-FSAL.patch
|
||||||
|
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -189,6 +190,7 @@ BuildRequires: PyQt4-devel
|
|||||||
Requires: PyQt4
|
Requires: PyQt4
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: python-devel
|
||||||
Requires: nfs-ganesha = %{version}-%{release}, python
|
Requires: nfs-ganesha = %{version}-%{release}, python
|
||||||
|
|
||||||
%description utils
|
%description utils
|
||||||
@ -302,6 +304,7 @@ be used with NFS-Ganesha to support Gluster
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{dash_dev_version}
|
%setup -q -n %{name}-%{dash_dev_version}
|
||||||
rm -rf contrib/libzfswrapper
|
rm -rf contrib/libzfswrapper
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd src && %cmake . -DCMAKE_BUILD_TYPE=Debug \
|
cd src && %cmake . -DCMAKE_BUILD_TYPE=Debug \
|
||||||
@ -363,12 +366,6 @@ install -m 755 scripts/init.d/nfs-ganesha.el6 %{buildroot}%{_sysconfdir}/init.d
|
|||||||
install -m 644 scripts/init.d/sysconfig/ganesha %{buildroot}%{_sysconfdir}/sysconfig/ganesha
|
install -m 644 scripts/init.d/sysconfig/ganesha %{buildroot}%{_sysconfdir}/sysconfig/ganesha
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with utils} && 0%{?rhel} && 0%{?rhel} <= 6
|
|
||||||
%{!?__python2: %global __python2 /usr/bin/python2}
|
|
||||||
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
||||||
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{with xfs}
|
%if %{with xfs}
|
||||||
install -m 644 config_samples/xfs.conf %{buildroot}%{_sysconfdir}/ganesha
|
install -m 644 config_samples/xfs.conf %{buildroot}%{_sysconfdir}/ganesha
|
||||||
%endif
|
%endif
|
||||||
@ -552,6 +549,9 @@ killall -SIGHUP dbus-daemon 2>&1 > /dev/null
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 15 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.15dev29
|
||||||
|
- 2.4-dev-29
|
||||||
|
|
||||||
* Mon Aug 1 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.14dev27
|
* Mon Aug 1 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.4.0-0.14dev27
|
||||||
- 2.4-dev-27
|
- 2.4-dev-27
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user