Summary: Samba 4.20 packages from the CentOS Storage SIG repository
Name: centos-release-samba420
Version: 1.0
Release: 1%{?dist}
License: GPLv2
URL: http://wiki.centos.org/SpecialInterestGroup/Storage
Source0: CentOS-Samba-420.repo
%if 0%{?centos} >= 8
BuildRequires: systemd
%endif
BuildArch: noarch
%if 0%{?centos} >= 8
Requires: centos-release >= 8.1
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
%endif
# This provides the public key to verify the RPMs
Requires: centos-release-storage-common
Provides: centos-release-samba = 420
%description
yum configuration for Samba 4.20 packages from the CentOS Storage SIG. For more
details about the release and maintenance schedule, see
https://wiki.samba.org/index.php/Samba_Release_Planning
%install
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Samba-420.repo
%if 0%{?centos} >= 8
%post
%systemd_post smb.service
%preun
%systemd_preun smb.service
%postun
%systemd_postun smb.service
%endif
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Samba-420.repo
%changelog
* Wed Apr 03 2024 Anoop C S <anoopcs@samba.org> - 1.0-1
- Initial version