https://bugzilla.redhat.com/show_bug.cgi?id=825517

--- Comment #7 from Mario Blättermann <[email protected]> ---
(In reply to comment #6)
> But then, when I try to install the packages built from the so-edited Spec
> file, Yum complains about them requiring "egtk = 3.1-3.fc17" and doesn't
> allow me to install.
> 
> Isn't "Requires: egtk-common" in all "%package" sections (except "common")
> enough?
No, it is usually not enough. In the current state, Yum could use any version
of an egtk-common package as a dependency. The mentioned line was an example,
directly taken from the guidelines. In our case, you have to change it as
follows:

Requires:       %{name}-common = %{version}-%{release}

Imagine, the developers decide to stop with the xfce part, then the egtk-xfce
subpackage remains in an older version and could become buggy. The explicite
version number in the "Requires" line avoids this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to