[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



2008/7/9 Jarod Wilson <jwilson redhat com>:
> 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.


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