RPM building section of RHL's developer guide

Michael Schwendt ms-nospam-0306 at arcor.de
Wed Jul 30 11:28:02 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 28 Jul 2003 23:21:20 +0300, Ville Skyttä wrote:

> "Doesn't work" == "The package cannot be built".  And with this
> definition, it turns out that I do remember correctly; it "doesn't work"
> with 4.2.  Nor does it with 4.2.1.  See the attached specfile, here are
> some test results with it:
> 
> rpm-4.2-1 on Shrike:
> 
>   $ rpmbuild -bb foo.spec
>   error: line 8: Dependency tokens must begin with alpha-numeric, '_' or '/': Requires:       %{epoch}:1-1.0
> 
> rpm-4.2.1-0.11 on Severn:
> 
>   $ rpmbuild -bb foo.spec
>   error: line 8: Dependency tokens must begin with alpha-numeric, '_' or '/': Requires:       %{epoch}:1-1.0
> 
> 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}

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/J6vC0iMVcrivHFQRApxfAJ9WDAC3BUWCDjXA0NP69vgmWYT/5gCghLid
txtlbVRWiBoyva7iZ9yUPQw=
=ymLt
-----END PGP SIGNATURE-----





More information about the devel mailing list