CVS oddness

Michael Schwendt bugs.michael at gmx.net
Tue Mar 21 17:50:43 UTC 2006


On Tue, 21 Mar 2006 09:51:59 -0700, Orion Poplawski wrote:

> In extras CVS in a FC-5 branch, I did a "cvs update -r 
> cfengine-2_1_18-2_fc5" to go back a build.  Then:
> 
> $ make srpm
> rpmbuild --define "_sourcedir 
> /export/home/orion/fedora/extras/cfengine/FC-5" --define "_builddir 
> /export/home/orion/fedora/extras/cfengine/FC-5" --define "_srcrpmdir 
> /export/home/orion/fedora/extras/cfengine/FC-5" --define "_rpmdir 
> /export/home/orion/fedora/extras/cfengine/FC-5" --define "dist .fc6" 
> --define "fedora 6" --nodeps -bs cfengine.spec
> Wrote: 
> /export/home/orion/fedora/extras/cfengine/FC-5/cfengine-2.1.18-2.fc6.src.rpm
> 
> Why "dist .fc6" and "fedora 6"?

The dist tag is fetched from common/branches depending on the contents of
your working directory. Your tag does not cover all files which are needed
to determine the right branch. The file with the name "branch" is
missing, you didn't tag it. If missing, the default branch is "devel".

$ cvs co cfengine
$ cat cfengine/FC-5/branch 
FC-5

$ cvs co -r fengine-2_1_18-2_fc5 cfengine
$ cat cfengine/FC-5/branch 
cat: cfengine/FC-5/branch: No such file or directory




More information about the fedora-extras-list mailing list