diff --git a/samba.spec b/samba.spec index c4199f2..5fd1873 100644 --- a/samba.spec +++ b/samba.spec @@ -135,7 +135,7 @@ %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.17.2 -%global baserelease 102 +%global baserelease 103 # This should be rc1 or %%nil %global pre_release %nil @@ -197,17 +197,13 @@ Name: samba Version: %{samba_version} Release: %{samba_release}%{?dist} -%if 0%{?rhel} -Epoch: 0 -%else +%if 0%{?fedora} Epoch: 2 +%else +Epoch: 0 %endif -%if 0%{?epoch} > 0 %global samba_depver %{epoch}:%{version}-%{release} -%else -%global samba_depver %{version}-%{release} -%endif Summary: Server and Client software to interoperate with Windows machines License: GPLv3+ and LGPLv3+ @@ -4312,6 +4308,10 @@ fi %endif %changelog +* Wed Nov 02 2022 Pavel Filipenský - 4.17.2-103 +- Always add epoch to samba_depver to fix osci.brew-build.rpmdeplint.functional +- related: rhbz#2131993 + * Wed Oct 26 2022 Andreas Schneider - 4.17.2-102 - Fix CVE-2022-1615 GnuTLS gnutls_rnd() can fail and give predictable random values - resolves: rhbz#2126175