- update to rpm-4.11.1

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=275
This commit is contained in:
2013-07-12 14:11:14 +00:00
committed by Git OBS Bridge
parent 8d667a3d2a
commit 476eac8c55
24 changed files with 285 additions and 2129 deletions

View File

@@ -1,10 +1,10 @@
--- ./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
--- ./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);
spec->fileStack = newOpenFileInfo();
spec->fileStack->fileName = xstrdup(spec->specFile);
pushOFI(spec, spec->specFile);
/* If buildRoot not specified, use default %{buildroot} */
if (buildRoot) {