diff --git a/glusterfs.spec b/glusterfs.spec index 0321b74..84b665f 100644 --- a/glusterfs.spec +++ b/glusterfs.spec @@ -62,6 +62,11 @@ # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --with gnfs %{?_with_gnfs:%global _with_gnfs --enable-gnfs} +# gnfs subpackages for glusterfs-5, will be obsoleted in glusterfs-6 +%if ( 0%{_for_fedora_koji_builds} ) +%global _with_gnfs --enable-gnfs +%endif + # ipv6default # if you wish to compile an rpm with IPv6 default... # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --with ipv6default