aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2006-06-29 15:47:23 +0000
committerOlivier Blin <oblin@mandriva.com>2006-06-29 15:47:23 +0000
commit03c878d7da2d433c9c0feafee43a7fe5191fcbf6 (patch)
tree15006a414881df814e9b56c23a6f447ae60769ed
parentd00ee653de92f71b1412dbee0db051493e9b613c (diff)
downloadrpm-setup-03c878d7da2d433c9c0feafee43a7fe5191fcbf6.tar
rpm-setup-03c878d7da2d433c9c0feafee43a7fe5191fcbf6.tar.gz
rpm-setup-03c878d7da2d433c9c0feafee43a7fe5191fcbf6.tar.bz2
rpm-setup-03c878d7da2d433c9c0feafee43a7fe5191fcbf6.tar.xz
rpm-setup-03c878d7da2d433c9c0feafee43a7fe5191fcbf6.zip
use %mkrel by default in new spec files
-rw-r--r--rpm-spec-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm-spec-mode.el b/rpm-spec-mode.el
index eea9433..ccfeabc 100644
--- a/rpm-spec-mode.el
+++ b/rpm-spec-mode.el
@@ -1327,7 +1327,7 @@ if one is present in the file."
(insert
"%define name " (or name "")
"\n%define version " (or version "")
- "\n%define release " (or release "") "mdk"
+ "\n%define release %mkrel " (or release "")
"\n\nSummary:" (rpm-insert-space-or-tabs 1)
"\nName:" (rpm-insert-space-or-tabs 2) "%{name}"
"\nVersion:" (rpm-insert-space-or-tabs 1) "%{version}"