2022-06-27 10:53:49 +00:00
|
|
|
--- build/parseSpec.c.orig 2013-06-10 15:55:10.000000000 +0000
|
|
|
|
+++ build/parseSpec.c 2013-07-12 12:04:11.000000000 +0000
|
2013-07-12 14:11:14 +00:00
|
|
|
@@ -561,6 +561,7 @@ static rpmSpec parseSpec(const char *spe
|
2009-08-28 13:54:03 +00:00
|
|
|
spec = newSpec();
|
|
|
|
|
2008-11-28 13:34:30 +00:00
|
|
|
spec->specFile = rpmGetPath(specFile, NULL);
|
|
|
|
+ addMacro(spec->macros, "_specfile", NULL, spec->specFile, RMIL_SPEC);
|
2013-07-12 14:11:14 +00:00
|
|
|
pushOFI(spec, spec->specFile);
|
2009-08-28 13:54:03 +00:00
|
|
|
/* If buildRoot not specified, use default %{buildroot} */
|
2013-07-12 14:11:14 +00:00
|
|
|
if (buildRoot) {
|