Heads-up: brand new RPM version about to hit rawhide

Michael Schwendt mschwendt at gmail.com
Thu Jul 10 08:03:22 UTC 2008


On Wed, 9 Jul 2008 17:02:03 -0400, Jarod Wilson wrote:

> > >>     %_sourcedir     %{_topdir}/SOURCES/%{name}-%{version}
> > >>
> > >> I've done this in my .rpmmacros file for a long time and am happy with
> > >> it.
> > >
> > > Been doing something similar myself for ages, but also dropping the spec
> > > file in with the source files. A directory full of specs and a directory
> > > full of sources for umpteen different packages is dumb.
> >
> > This breaks doing build-from-tarball, because until the spec is
> > parsed, the version is unknown.
> 
> My "something similar" doesn't actually include %{version}, only %{name}.

Including %version breaks if a sub-package defines its own %version.




More information about the fedora-devel-list mailing list