From: Petr Písař Date: Mon, 31 Oct 2022 16:13:47 +0000 (+0100) Subject: Pin subpackages to the exact package release X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Ff36;p=location%2Ffedora%2Flibloc.git Pin subpackages to the exact package release --- 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}