diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-11-27 13:38:18 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-11-27 13:38:18 +0200 |
commit | ca4497b51bb0e91f31218dc3b76bb03451cc887f (patch) | |
tree | c59efc9b5f140382e264d26a44bbdf33ee93d849 /lib/rpmrc.c | |
parent | 9699454ebc6c69251cc30cc8667ed3756e162bda (diff) | |
download | rpm-ca4497b51bb0e91f31218dc3b76bb03451cc887f.tar.gz rpm-ca4497b51bb0e91f31218dc3b76bb03451cc887f.tar.bz2 rpm-ca4497b51bb0e91f31218dc3b76bb03451cc887f.zip |
Make epoch present in generated filenames too
Diffstat (limited to 'lib/rpmrc.c')
-rw-r--r-- | lib/rpmrc.c | 2 |
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); |