Fix rpminspect CI errors

Resolves: #2228035
This commit is contained in:
Martin Osvald 2023-08-01 10:49:16 +02:00
parent 853434f692
commit cb0a4a80f5
2 changed files with 19 additions and 4 deletions

View File

@ -14,7 +14,7 @@
Name: cyrus-imapd Name: cyrus-imapd
Version: 3.4.1 Version: 3.4.1
Release: 8%{?dist} Release: 9%{?dist}
%define ssl_pem_file_prefix /etc/pki/%name/%name %define ssl_pem_file_prefix /etc/pki/%name/%name
@ -156,7 +156,8 @@ BuildRequires: make
Requires(pre): shadow-utils Requires(pre): shadow-utils
%{?systemd_requires} %{?systemd_requires}
Requires: %name-utils = %version-%release Requires: cyrus-imapd-libs%{?_isa} = %{version}-%{release}
Requires: cyrus-imapd-utils = %{version}-%{release}
Requires: file sscg Requires: file sscg
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@ -187,7 +188,7 @@ hierarchies.
%package devel %package devel
Summary: Cyrus IMAP server development files Summary: Cyrus IMAP server development files
Requires: %name%{?_isa} = %version-%release Requires: cyrus-imapd-libs%{?_isa} = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
%description devel %description devel
@ -215,7 +216,7 @@ and the its utilities.
%package utils %package utils
Summary: Cyrus IMAP server administration utilities Summary: Cyrus IMAP server administration utilities
Requires: cyrus-imapd-libs = %{version}-%{release} Requires: cyrus-imapd-libs%{?_isa} = %{version}-%{release}
Requires: perl-Cyrus = %{version}-%{release} Requires: perl-Cyrus = %{version}-%{release}
%description utils %description utils
@ -226,6 +227,7 @@ one running the server.
%package virusscan %package virusscan
Summary: Cyrus virus scanning utility Summary: Cyrus virus scanning utility
Requires: cyrus-imapd-libs%{?_isa} = %{version}-%{release}
%description virusscan %description virusscan
The cyrus-imapd-virusscan package contains the cyr_virusscan utility. It The cyrus-imapd-virusscan package contains the cyr_virusscan utility. It
@ -665,6 +667,9 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v
%changelog %changelog
* Tue Aug 01 2023 Martin Osvald <mosvald@redhat.com> - 3.4.1-9
- Resolves: #2228035 - Fix rpminspect CI errors
* Sun Jul 23 2023 Martin Osvald <mosvald@redhat.com> - 3.4.1-8 * Sun Jul 23 2023 Martin Osvald <mosvald@redhat.com> - 3.4.1-8
- Resolves: #2169709 - Remove utils dependency on main package - Resolves: #2169709 - Remove utils dependency on main package

10
rpminspect.yaml Normal file
View File

@ -0,0 +1,10 @@
---
badfuncs:
allowed:
# mupdate uses gethostbyname (safely) to check if the IP address
# of the given hostname is local.
/usr/libexec/cyrus-imapd/mupdate:
- gethostbyname
# smmapd uses gethostbyname (safely) to verify user's host.
/usr/libexec/cyrus-imapd/smmapd:
- gethostbyname