Package samba-gpupdate also for RHEL9
This commit is contained in:
parent
9996023e42
commit
4f9b479032
25
samba.spec
25
samba.spec
@ -135,10 +135,16 @@
|
||||
%bcond_with etcd_mutex
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 9
|
||||
%bcond_without gpupdate
|
||||
%else
|
||||
%bcond_with gpupdate
|
||||
%endif
|
||||
|
||||
%define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
||||
|
||||
%global samba_version 4.19.2
|
||||
%global baserelease 1
|
||||
%global baserelease 2
|
||||
# This should be rc1 or %%nil
|
||||
%global pre_release %nil
|
||||
|
||||
@ -721,7 +727,7 @@ Samba VFS module for GlusterFS integration.
|
||||
%endif
|
||||
|
||||
### GPUPDATE
|
||||
%if %{with dc}
|
||||
%if %{with gpupdate}
|
||||
%package gpupdate
|
||||
Summary: Samba GPO support for clients
|
||||
Requires: cepces
|
||||
@ -733,7 +739,7 @@ Requires: python3-%{name} = %{samba_depver}
|
||||
This package provides the samba-gpupdate tool to apply Group Policy Objects
|
||||
(GPO) on Samba clients.
|
||||
|
||||
# /with dc
|
||||
#endif with gpupdate
|
||||
%endif
|
||||
|
||||
### KRB5-PRINTING
|
||||
@ -1424,14 +1430,17 @@ touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
|
||||
for i in \
|
||||
%{_mandir}/man8/samba.8 \
|
||||
%{_mandir}/man8/samba_downgrade_db.8 \
|
||||
%{_mandir}/man8/samba-gpupdate.8 \
|
||||
%{_unitdir}/samba.service \
|
||||
%{_sbindir}/samba-gpupdate \
|
||||
; do
|
||||
rm -f %{buildroot}$i
|
||||
done
|
||||
%endif
|
||||
|
||||
%if %{without gpupdate}
|
||||
rm -f %{_sbindir}/samba-gpupdate
|
||||
rm -f %{_mandir}/man8/samba-gpupdate.8
|
||||
%endif
|
||||
|
||||
%if %{without vfs_glusterfs}
|
||||
rm -f %{buildroot}%{_mandir}/man8/vfs_glusterfs.8*
|
||||
%endif
|
||||
@ -2327,10 +2336,11 @@ fi
|
||||
%endif
|
||||
|
||||
### GPUPDATE
|
||||
%if %{with dc}
|
||||
%if %{with gpupdate}
|
||||
%files gpupdate
|
||||
%{_mandir}/man8/samba-gpupdate.8*
|
||||
%{_sbindir}/samba-gpupdate
|
||||
#endif with gpupdate
|
||||
%endif
|
||||
|
||||
### KRB5-PRINTING
|
||||
@ -4452,6 +4462,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Nov 15 2023 Andreas Schneider <asn@redhat.com> - 4.19.2-2
|
||||
- Package samba-gpupdate also for RHEL9
|
||||
|
||||
* Mon Oct 16 2023 Guenther Deschner <gdeschner@redhat.com> - 4.19.2-1
|
||||
- resolves: #2244496 - Update to version 4.19.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user