Try unversioned provides for f36 and lower

This commit is contained in:
Petr Menšík 2022-09-15 17:41:52 +02:00
parent 133078a09b
commit 1c37705b3c
1 changed files with 9 additions and 1 deletions

View File

@ -52,9 +52,14 @@
# Upstream package name
%global upname bind
# Unversioned provides for previous version
%define upname_compat() \
%if "%{name}" != "%{upname}" \
%if 0%{?fedora} >= 37 \
Provides: %1 = %{epoch}:%{version}-%{release} \
%else \
Provides: %1 \
%endif \
Obsoletes: %1 < 32:9.17.0 \
Conflicts: %1 \
%endif
@ -63,7 +68,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind9-next
License: MPLv2.0
Version: 9.19.4
Release: 1%{?dist}
Release: 1%{?dist}.1
Epoch: 32
Url: https://www.isc.org/downloads/bind/
#
@ -955,6 +960,9 @@ fi;
%endif
%changelog
* Thu Sep 15 2022 Petr Menšík <pemensik@redhat.com> - 32:9.19.4-1.1
- Try unversioned provides for f36 and lower
* Wed Sep 14 2022 Petr Menšík <pemensik@redhat.com> - 32:9.19.4-1
- Update to 9.19.4