From cac274002bd3bc591420f78c9e852ec28a257d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malo=20Deni=C3=A9lou?= Date: Sat, 17 Dec 2011 18:53:43 +0000 Subject: update the default rpm spec of the emacs mode to fit Mageia policies --- rpm-spec-mode.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'rpm-spec-mode.el') 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))) ;;------------------------------------------------------------ -- cgit v1.2.1