-----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}
- --