On Wednesday 09 July 2008 01:15:47 pm Bill Crawford wrote: > 2008/7/9 Jarod Wilson <jwilson@xxxxxxxxxx>: > > On Wednesday 09 July 2008 12:12:27 pm Dale Stimson wrote: > >> [snip] > >> > >> Something I would like to see standard in RPM is for the default for > >> installation of source files from a .src.rpm file to be changed from > >> %{_sourcedir} > >> to > >> %{_sourcedir}/%{name}-%{version} > >> > >> (The above example assumes the current definition of _sourcedir, > >> which the suggested implementation below proposes be changed). > > [snip] > > >> %_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}. -- Jarod Wilson jwilson@xxxxxxxxxx -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list