From a053b69f3af1f1d6662f9c8539bd952ea391ed47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Filipensk=C3=BD?= Date: Tue, 14 Jun 2022 14:11:13 +0200 Subject: [PATCH] Fix weak dependency on logrotate resolves: rhbz#2093833 --- samba.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/samba.spec b/samba.spec index 30054fc..300f687 100644 --- a/samba.spec +++ b/samba.spec @@ -134,7 +134,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 baserelease 100 +%global baserelease 101 %global samba_version 4.16.2 %global talloc_version 2.3.3 @@ -430,7 +430,9 @@ Summary: Files used by both Samba servers and clients BuildArch: noarch Requires(post): (systemd-standalone-tmpfiles or systemd) +%if 0%{?fedora} Recommends: logrotate +%endif Provides: samba4-common = %{samba_depver} Obsoletes: samba4-common < %{samba_depver} @@ -1099,7 +1101,7 @@ rm -f lib/crypto/{aes,rijndael}*.c #endif with includelibs %endif -%global _samba_libraries !zlib,!popt%{_talloc_lib}%{_tevent_lib}%{_tdb_lib}%{_ldb_lib} +%global _samba_libraries !popt%{_talloc_lib}%{_tevent_lib}%{_tdb_lib}%{_ldb_lib} %global _samba_idmap_modules idmap_ad,idmap_rid,idmap_ldap,idmap_hash,idmap_tdb2 %global _samba_pdb_modules pdb_tdbsam,pdb_ldap,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4 @@ -4153,6 +4155,9 @@ fi %endif %changelog +* Tue Jun 14 2022 Pavel Filipenský - 4.16.2-101 +- resolves: rhbz#2093833 - Fix weak dependency on logrotate + * Mon Jun 13 2022 Pavel Filipenský - 4.16.2-100 - Fix rpminspect abidiff - related: rhbz#2077487 - Rebase Samba to 4.16.2