Always add epoch to samba_depver to fix osci.brew-build.rpmdeplint.functional

related: rhbz#2131993
This commit is contained in:
Pavel Filipenský 2022-11-02 11:19:20 +01:00
parent 93fb3b93ba
commit 9176f959cb

View File

@ -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ý <pfilipen@redhat.com> - 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 <asn@redhat.com> - 4.17.2-102
- Fix CVE-2022-1615 GnuTLS gnutls_rnd() can fail and give predictable random values
- resolves: rhbz#2126175