From 81ab48615b6dc5619b2f4f0f8b0943a7e5f94c51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 31 Oct 2022 17:13:47 +0100 Subject: [PATCH] Pin subpackages to the exact package release --- libloc.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libloc.spec b/libloc.spec index 527aa4c..215330c 100644 --- a/libloc.spec +++ b/libloc.spec @@ -136,6 +136,7 @@ applications using libloc library. Summary: Perl interface to libloc library License: LGPL-2.1-or-later AND (GPL-1.0-or-later OR Artistic-1.0-Perl) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: %{name}%{?_isa} = %{version}-%{release} %description -n perl-%{name} Location is a Perl interface to libloc, a library to determine an IP address @@ -144,6 +145,7 @@ location in the Internet. %package -n python3-%{name} Summary: Python interface to libloc library License: LGPL-2.1-or-later AND CC-BY-SA-4.0 +Requires: %{name}%{?_isa} = %{version}-%{release} %py_provides python3-location %description -n python3-%{name} -- 2.47.2