aboutsummaryrefslogtreecommitdiffstats
path: root/rpm-spec-mode.el
diff options
context:
space:
mode:
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)))
;;------------------------------------------------------------