[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]