public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/yubikey-manager] epel10: Require the exact same version-release of python3-yubikey-manager
@ 2026-08-21 14:27 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-21 14:27 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/yubikey-manager
            Branch : epel10
            Commit : fff421727c5c2658d2f2189a356498b4b6cd5a50
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2021-10-05T01:17:19+02:00
            Stats  : +6/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/yubikey-manager/c/fff421727c5c2658d2f2189a356498b4b6cd5a50?branch=epel10

            Log:
            Require the exact same version-release of python3-yubikey-manager

This avoids confusion when only yubikey-manager is updated but
python3-yubikey-manager is not.

It is also a rule in the Fedora packaging guidelines:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_requiring_base_package

---
diff --git a/yubikey-manager.spec b/yubikey-manager.spec
index f70ceac..2a4cf84 100644
--- a/yubikey-manager.spec
+++ b/yubikey-manager.spec
@@ -7,7 +7,7 @@ Version:        4.0.7
 
 %forgemeta
 
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Python library and command line tool for configuring a YubiKey
 License:        BSD
 URL:            %{forgeurl}
@@ -24,7 +24,8 @@ BuildRequires:  %{py3_dist tox-current-env poetry-core setuptools}
 BuildRequires:  %{py3_dist makefun pytest}
 BuildRequires:  %{py3_dist fido2} >= 0.9.0
 
-Requires:       python3-%{name} python3-setuptools u2f-hidraw-policy
+Requires:       python3-%{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires:       python3-setuptools u2f-hidraw-policy
 
 %description
 Command line tool for configuring a YubiKey.
@@ -63,6 +64,9 @@ Python library for configuring a YubiKey.
 %{_bindir}/ykman
 
 %changelog
+* Mon Oct 04 2021 Miro Hrončok <mhroncok@redhat.com> - 4.0.7-3
+- Require the exact same version-release of python3-yubikey-manager
+
 * Mon Oct 04 2021 Gerald Cox <gbcox@member.fsf.org> - 4.0.7-2
 - Patch until upstream corrects for rhbz#2009934
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-21 14:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21 14:27 [rpms/yubikey-manager] epel10: Require the exact same version-release of python3-yubikey-manager 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox