]>
Commit | Line | Data |
---|---|---|
70f8787d JR |
1 | --- rpm-5.4.4/build/parseSpec.c.specfile~ 2011-11-11 13:41:29.137827186 +0100 |
2 | +++ rpm-5.4.4/build/parseSpec.c 2011-11-11 13:42:12.938874762 +0100 | |
3 | @@ -542,6 +542,7 @@ int parseSpec(rpmts ts, const char *spec | |
4 | * /.././../usr/../bin//./sh (XXX FIXME: dots not handled yet) | |
5 | */ | |
6 | spec->specFile = rpmGetPath(specFile, NULL); | |
7 | + addMacro(spec->macros, "_specfile", NULL, spec->specFile, RMIL_SPEC); | |
8 | spec->fileStack = newOpenFileInfo(); | |
9 | spec->fileStack->fileName = xstrdup(spec->specFile); | |
10 |