2013-07-12 16:11:14 +02:00
|
|
|
--- ./build/parseSpec.c.orig 2013-06-10 15:55:10.000000000 +0000
|
|
|
|
+++ ./build/parseSpec.c 2013-07-12 12:04:11.000000000 +0000
|
|
|
|
@@ -561,6 +561,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);
|
2013-07-12 16:11:14 +02:00
|
|
|
pushOFI(spec, spec->specFile);
|
2009-08-28 15:54:03 +02:00
|
|
|
/* If buildRoot not specified, use default %{buildroot} */
|
2013-07-12 16:11:14 +02:00
|
|
|
if (buildRoot) {
|