RPM building section of RHL's developer guide
Ville Skyttä
ville.skytta at iki.fi
Wed Jul 30 11:47:51 UTC 2003
On Wed, 2003-07-30 at 14:28, Michael Schwendt wrote:
> > If "no Epoch" == "Epoch: 0" in 4.2.1, why the error? It is *not* a
> > matter of style; if I add the explicit "Epoch: 0" in the attached
> > foo.spec, the rpmbuild completes with both versions.
>
> Package name is missing in here:
>
> Requires: %{epoch}:%{version}-%{release}
*blush* Note to self: no late-at-night posts.
Anyway, when the spec is fixed, it builds w/ rpm 4.2 and 4.2.1 but
results in "foo = %{epoch}:1-1.0" dependency (not 0:1-1.0) to the main
package in -devel with both.
Jeff's "%{name} = %{?epoch:%{epoch}:}%{version}" 'workaround' works.
--
\/
More information about the devel
mailing list