[libhif] Add epoch to Requires (even though it's currently 0)

Colin Walters walters at fedoraproject.org
Wed Mar 11 01:36:13 UTC 2015


commit 47eb12c67d1d19bfdc12b347ee2176050c3f7126
Author: Colin Walters <walters at verbum.org>
Date:   Tue Mar 10 20:36:48 2015 -0400

    Add epoch to Requires (even though it's currently 0)
    
    So that when an epoch is injected via rpmdistro-gitoverlay, it will be
    respected.

 libhif.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libhif.spec b/libhif.spec
index f1987c1..6fd6244 100644
--- a/libhif.spec
+++ b/libhif.spec
@@ -30,7 +30,7 @@ used by PackageKit and rpm-ostree.
 
 %package devel
 Summary: GLib Libraries and headers for libhif
-Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
 
 %description devel
 GLib headers and libraries for libhif.


More information about the scm-commits mailing list