Michael Schröder
5857a2d144
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=678
11 lines
453 B
Diff
11 lines
453 B
Diff
--- build/parseSpec.c.orig 2024-10-07 09:35:46.000000000 +0000
|
|
+++ build/parseSpec.c 2024-12-16 09:19:43.511920745 +0000
|
|
@@ -1309,6 +1309,7 @@ static rpmSpec parseSpec(const char *spe
|
|
spec = newSpec();
|
|
|
|
spec->specFile = rpmGetPath(specFile, NULL);
|
|
+ addMacro(spec->macros, "_specfile", NULL, spec->specFile, RMIL_SPEC);
|
|
pushOFI(spec, spec->specFile);
|
|
/* If explicit --buildroot was passed, grab hold of it */
|
|
if (buildRoot)
|