aboutsummaryrefslogtreecommitdiffstats
path: root/rpm-spec-mode.el
diff options
context:
space:
mode:
authorMalo DeniƩlou <malo@mageia.org>2011-12-17 18:53:43 +0000
committerMalo DeniƩlou <malo@mageia.org>2011-12-17 18:53:43 +0000
commitcac274002bd3bc591420f78c9e852ec28a257d53 (patch)
treec2857a2b82fefd106bd6113eea9d3c7a864e7144 /rpm-spec-mode.el
parent0cf74723785da301c05931623674bcee6b3e3b97 (diff)
downloadrpm-setup-cac274002bd3bc591420f78c9e852ec28a257d53.tar
rpm-setup-cac274002bd3bc591420f78c9e852ec28a257d53.tar.gz
rpm-setup-cac274002bd3bc591420f78c9e852ec28a257d53.tar.bz2
rpm-setup-cac274002bd3bc591420f78c9e852ec28a257d53.tar.xz
rpm-setup-cac274002bd3bc591420f78c9e852ec28a257d53.zip
update the default rpm spec of the emacs mode to fit Mageia policies
Diffstat (limited to 'rpm-spec-mode.el')
-rw-r--r--rpm-spec-mode.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/rpm-spec-mode.el b/rpm-spec-mode.el
index 7f843ed..c58670a 100644
--- a/rpm-spec-mode.el
+++ b/rpm-spec-mode.el
@@ -1340,12 +1340,9 @@ if one is present in the file."
"\nLicense:" (rpm-insert-space-or-tabs 1)
"\nGroup:" (rpm-insert-space-or-tabs 2)
"\nUrl:" (rpm-insert-space-or-tabs 2)
- "\nBuildRoot:" (rpm-insert-space-or-tabs 1) "%{_tmppath}/%{name}-%{version}-%{release}-buildroot\n"
"\n\n%description\n"
- "\n%prep\n%setup -q\n\n%build\n\n%install\nrm -rf %{buildroot}"
- "\n\n\n%clean\nrm -rf %{buildroot}"
- "\n\n%files\n%defattr(-,root,root)\n"
- "\n\n%changelog\n"))
+ "\n%prep\n%setup -q\n\n%build\n\n%install"
+ "\n\n%files\n"))
(goto-char (point-min)))
;;------------------------------------------------------------