From: <af...@al...> - 2006-03-13 09:37:05
|
Francesco Montorsi wrote: >> Should be straight-forward to convert >> Version: into a "configurable" value, >> and put it into build/rpm/wxlua.spec.in ? > yes, sure; I'll do it. And once it works, we can lose the "Mac-patch" part that is currently included in the spec in 2 places: Patch: wxlua-2.6.2.0-wxmac.patch %patch -p0 >> Then you can build a SRPM, for the site. > I don't know how useful an SRPM is: those wanting to compile wxLua > will probably use .tar.gz or .zip; does an SRPM gives some advantage > over them ? Well, the .src.rpm file only contains just that: 1) the specfile (wxlua.spec) 2) the distfiles / tarball (wxlua-2.6.2.0.tar.gz) 3) any extra sources and patches (just one, here) One can also do .nosrc.rpm, without the distfiles... If the specfile and patches are already included in the tarball, then you don't need a .src.rpm - it would be more like a "different source format", like providing both of TGZ and ZIP for instance ? The main advantage (i.e. in theory) is that you can go: "rpmbuild --rebuild *.src.rpm" without having to configure and package it up yourself. But it's not different from packaging for other systems ? (like Portage or Ports or DarwinPorts or Fink, to name a few) > right - that's weird; can you test if it's still necessary with latest > CVS: I did a small change and regenerated the bindings... Will try, once SourceForge's CVS feels happier... --anders |