[vim: 7/43] fix spec template (#825702)

Karsten Hopp karsten at fedoraproject.org
Wed Sep 11 12:29:08 UTC 2013


commit 7b49c6e71d807bd9694644db7a3580f7b341703e
Author: Karsten Hopp <karsten at redhat.com>
Date:   Tue May 29 11:14:24 2012 +0200

    fix spec template (#825702)

 spec-template.new |    3 +--
 vim.spec          |    5 ++++-
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/spec-template.new b/spec-template.new
index da55800..cea6bfc 100644
--- a/spec-template.new
+++ b/spec-template.new
@@ -24,8 +24,7 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=%{buildroot}
 
 
 %files
diff --git a/vim.spec b/vim.spec
index c67a0ea..7ecd328 100644
--- a/vim.spec
+++ b/vim.spec
@@ -24,7 +24,7 @@ Summary: The VIM editor
 URL:     http://www.vim.org/
 Name: vim
 Version: %{baseversion}.%{beta}%{patchlevel}
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: Vim
 Group: Applications/Editors
 Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}%{?beta}%{?CVSDATE}.tar.bz2
@@ -1688,6 +1688,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/icons/hicolor/*/apps/*
 
 %changelog
+* Tue May 29 2012 Karsten Hopp <karsten at redhat.com> 7.3.515-2
+- fix spec template
+
 * Mon May 21 2012 Karsten Hopp <karsten at redhat.com> 7.3.515-1
 - enable highlighting for older log files (#816848)
 


More information about the scm-commits mailing list