2011-05-18 17:08:31 +02:00
|
|
|
--- ./build/parseSpec.c.orig 2010-12-03 12:11:57.000000000 +0000
|
|
|
|
+++ ./build/parseSpec.c 2011-05-11 15:58:37.000000000 +0000
|
|
|
|
@@ -519,6 +519,7 @@ static rpmSpec parseSpec(const char *spe
|
2009-08-28 15:54:03 +02:00
|
|
|
spec = newSpec();
|
|
|
|
|
2008-11-28 14:34:30 +01:00
|
|
|
spec->specFile = rpmGetPath(specFile, NULL);
|
|
|
|
+ addMacro(spec->macros, "_specfile", NULL, spec->specFile, RMIL_SPEC);
|
|
|
|
spec->fileStack = newOpenFileInfo();
|
|
|
|
spec->fileStack->fileName = xstrdup(spec->specFile);
|
2009-08-28 15:54:03 +02:00
|
|
|
/* If buildRoot not specified, use default %{buildroot} */
|