Enable bootstrap

Add a bootstrap conditional to avoid circular nfs-utils -> fedfs-utils
-> nfs-utils dependencies when bootstrapping. This makes it possible to
rebuild nfs-utils for the libtirpc soname bump.
This commit is contained in:
Kalev Lember 2015-11-01 16:42:33 +01:00
parent 9a0a070818
commit 6ea94b72ac

View File

@ -1,3 +1,7 @@
# Avoid circular nfs-utils -> fedfs-utils -> nfs-utils dependencies when
# bootstrapping
%global bootstrap 1
Summary: NFS utilities and supporting clients and daemons for the kernel NFS server Summary: NFS utilities and supporting clients and daemons for the kernel NFS server
Name: nfs-utils Name: nfs-utils
URL: http://sourceforge.net/projects/nfs URL: http://sourceforge.net/projects/nfs
@ -49,8 +53,11 @@ BuildRequires: libnfsidmap-devel libtirpc-devel libblkid-devel
BuildRequires: krb5-libs >= 1.4 autoconf >= 2.57 openldap-devel >= 2.2 BuildRequires: krb5-libs >= 1.4 autoconf >= 2.57 openldap-devel >= 2.2
BuildRequires: automake, libtool, glibc-headers, device-mapper-devel BuildRequires: automake, libtool, glibc-headers, device-mapper-devel
BuildRequires: krb5-devel, tcp_wrappers-devel, libmount-devel BuildRequires: krb5-devel, tcp_wrappers-devel, libmount-devel
BuildRequires: fedfs-utils-devel >= 0.8.0-7, sqlite-devel %if ! 0%{?bootstrap}
BuildRequires: fedfs-utils-devel >= 0.8.0-7
%endif
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: sqlite-devel
Requires(pre): shadow-utils >= 4.0.3-25 Requires(pre): shadow-utils >= 4.0.3-25
Requires(pre): /sbin/chkconfig /sbin/nologin Requires(pre): /sbin/chkconfig /sbin/nologin
Requires: libnfsidmap libevent Requires: libnfsidmap libevent
@ -309,6 +316,7 @@ fi
%changelog %changelog
* Sun Nov 01 2015 Kalev Lember <klember@redhat.com> - 1:1.3.2-13 * Sun Nov 01 2015 Kalev Lember <klember@redhat.com> - 1:1.3.2-13
- Rebuilt for libtirpc soname bump - Rebuilt for libtirpc soname bump
- Enable bootstrap
* Fri Jul 31 2015 Steve Dickson <steved@redhat.com> 1.3.2-12 * Fri Jul 31 2015 Steve Dickson <steved@redhat.com> 1.3.2-12
- Fixed return value being overrun in gssd (bz 1249046) - Fixed return value being overrun in gssd (bz 1249046)