From c880c4d7fd4255dde4397ba503ce4377d4b2a7a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 6 Feb 2023 21:02:50 +0100 Subject: [PATCH] Move fedora-release version req to fedora-release-common subpackage Not all installations have fedora-release installed. E.g. on Workstation, we'll have fedora-release-workstation and fedora-release-common. The preset file is actually in fedora-release-common. --- iscsi-initiator-utils.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/iscsi-initiator-utils.spec b/iscsi-initiator-utils.spec index e3973dc..f3da328 100644 --- a/iscsi-initiator-utils.spec +++ b/iscsi-initiator-utils.spec @@ -9,7 +9,7 @@ Summary: iSCSI daemon and utility programs Name: iscsi-initiator-utils Version: 6.%{open_iscsi_version}.%{open_iscsi_build} -Release: 9.git%{shortcommit0}%{?dist} +Release: 10.git%{shortcommit0}%{?dist} License: GPLv2+ URL: https://github.com/open-iscsi/open-iscsi Source0: https://github.com/open-iscsi/open-iscsi/archive/%{commit0}.tar.gz#/open-iscsi-%{shortcommit0}.tar.gz @@ -48,7 +48,7 @@ BuildRequires: autoconf automake libtool libmount-devel openssl-devel BuildRequires: isns-utils-devel BuildRequires: systemd-devel Requires: %{name}-iscsiuio >= %{version}-%{release} -Requires: (fedora-release >= 38-0.23 if fedora-release) +Requires: (fedora-release-common >= 38-0.23 if fedora-release-common) Requires(post): systemd Requires(preun): systemd Requires(postun): systemd @@ -286,6 +286,9 @@ systemctl --no-reload preset iscsi.service iscsi-starter.service &>/dev/null || %{python3_sitearch}/* %changelog +* Mon Feb 6 2023 Zbigniew Jedrzejewski-Szmek - 6.2.1.4-10.git2a8f9d8 +- Move fedora-release version requirement to the fedora-release-common subpackage + * Mon Feb 06 2023 Gordon Messmer - 6.2.1.4-9.git2a8f9d8 - Fix fedora-release requirement.