Marcus Rueckert
43997482be
-> OBS-URL: https://build.opensuse.org/request/show/70563 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=128
11 lines
500 B
Diff
11 lines
500 B
Diff
--- ./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
|
|
spec = newSpec();
|
|
|
|
spec->specFile = rpmGetPath(specFile, NULL);
|
|
+ addMacro(spec->macros, "_specfile", NULL, spec->specFile, RMIL_SPEC);
|
|
spec->fileStack = newOpenFileInfo();
|
|
spec->fileStack->fileName = xstrdup(spec->specFile);
|
|
/* If buildRoot not specified, use default %{buildroot} */
|