summaryrefslogtreecommitdiff
path: root/lib/rpmrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rpmrc.c')
-rw-r--r--lib/rpmrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmrc.c b/lib/rpmrc.c
index aa78519c1..62dd50e2f 100644
--- a/lib/rpmrc.c
+++ b/lib/rpmrc.c
@@ -481,7 +481,7 @@ static void setDefaults(void)
"/usr/doc", "%{_usr}/doc");
addMacroDefault("_rpmfilename",
- "%%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm",NULL);
+ "%%{ARCH}/%%{NAME}-%%|EPOCH?{%%{EPOCH}:}|%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm",NULL);
addMacroDefault("optflags",
"-O2", NULL);