Diranged;250638 Wrote: > No final decision has been made, but for the purposes of keeping the Yum > repo working, we had to do 7.0.0. For some reason when I did 7.0, it > would always use the latest file with the 7.0.0 name and ignore the 7.0 > files.
That's another example of how specific yum can be about version numbering. It thinks that 7.0.0 is greater than 7.0. If you want to switch to 7.0, we need to do 2 things: 1) Remove all the older 7.0.0 RPMs from the repo before rerunning createrepo 2) Provide instructions for users on how to switch over since anyone who has a 7.0.0 RPM installed won't be able to just use "yum update" > PS, the yum repo didn't update automatically this morning, so I did it > manually. I had a small bug that kept the script from running properly. > It should be good going forward. Is the copy of makerelease.pl in svn still the latest? > The parsing of the spec file may be a bit of a kludge, but I didn't want > to get rid of it completely ... it might be that we need to move away > from the makerelease.pl script completely, but we don't need to make > that decision yet. I'm working on a whole new build architecture here, > and when that gets more flushed out, the scripts will likely change > quite a bit. A couple of other comments: 1) I intentionally left "Packager" and "Vendor" out of the spec file because the standard process is to set these in .rpmmacros on your build machine. That way if someone else builds an RPM with your spec file, you can easily identify which one was build by you. It works either way - just another example where I chose to do what I thought was the industry-standard way. 2) One change between this RPM and the old one is that it's designed to build using the official nightly tarball. Your makerelease.pl still munges the tarball first. I'm surprised you don't see "file not found" errors. Maybe they're just warnings. BTW, I tried to look for this in the build log, but http://www.slimdevices.com/downloads/nightly/latest/7.0/ now gives me a 403 error. 3) Obviously, this script will only build trunk nightlys. You'll need to add some logic for the branch and release builds. I'll work up a patch for #2 and the spec patching issue since they're slightly interrelated. -- Fletch ------------------------------------------------------------------------ Fletch's Profile: http://forums.slimdevices.com/member.php?userid=529 View this thread: http://forums.slimdevices.com/showthread.php?t=41217 _______________________________________________ beta mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/beta
