86d6fafbbe
- make patches git quiltimport friendlier OBS-URL: https://build.opensuse.org/request/show/985294 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=609
11 lines
454 B
Diff
11 lines
454 B
Diff
--- 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
|
|
spec = newSpec();
|
|
|
|
spec->specFile = rpmGetPath(specFile, NULL);
|
|
+ addMacro(spec->macros, "_specfile", NULL, spec->specFile, RMIL_SPEC);
|
|
pushOFI(spec, spec->specFile);
|
|
/* If buildRoot not specified, use default %{buildroot} */
|
|
if (buildRoot) {
|