packaging: Remove '--with bos-restricted' option from RedHat spec file

Commit f085951d39 'Turn on bos restricted code' removed configure
option '--enable-bos-restricted-mode'.  However, the references to
restricted mode in the in-tree RedHat packaging were overlooked.

Remove the '--with bos-restricted' option from the spec file to prevent
specifying the obsolete OpenAFS configure option
'--enable-bos-restricted-mode'.

Change-Id: I9a29dd0ea1f3a1ac4145865777d1d3b751e93195
Reviewed-on: https://gerrit.openafs.org/15667
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
This commit is contained in:
Mark Vitale 2024-02-26 15:32:16 -05:00 committed by Benjamin Kaduk
parent 2a099859ba
commit f7591ee2f9

View File

@ -145,7 +145,6 @@ what gets built:
--without authlibs Disable authlibs package (default: with authlibs)
--without krb5 Disable krb5 support (default: with krb5)
--with bitmap-later Enable "bitmap later" support
--with bos-restricted Enable "bos restricted" mode
--with supergroups Enable "supergroups"
--with kauth Build the openafs-kauth-server and openafs-kauth-client
packages which contain the legacy kaserver and
@ -545,7 +544,6 @@ PrintRedhatKernelFix() {
config_opts="--enable-redhat-buildsys \
%{?_with_kauth:--enable-kauth} \
%{?_with_bitmap_later:--enable-bitmap-later} \
%{?_with_bos_restricted:--enable-bos-restricted-mode} \
%{?_with_supergroups:--enable-supergroups} \
--enable-transarc-paths"