[libesedb/el5: 2/2] BuildRoot changes for EPEL

rebus rebus at fedoraproject.org
Sun Oct 21 10:52:49 UTC 2012


commit 320b8c6fcc6571d483267186f055a2658ad234c6
Author: Michal Ambroz <rebus at seznam.cz>
Date:   Sun Oct 21 12:52:15 2012 +0200

    BuildRoot changes for EPEL

 libesedb.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libesedb.spec b/libesedb.spec
index 741c0af..624cf8b 100644
--- a/libesedb.spec
+++ b/libesedb.spec
@@ -6,7 +6,7 @@ Summary:        Library to access the Extensible Storage Engine (ESE) Database F
 License:        GPLv3+
 URL:            http://code.google.com/p/libesedb/
 Source0:        http://libesedb.googlecode.com/files/%{name}-alpha-%{version}.tar.gz
-
+BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 %description
 Library and tools to access the Extensible Storage Engine (ESE) Database File
@@ -33,6 +33,7 @@ make %{?_smp_mflags}
 
 
 %install
+rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
 find %{buildroot} -name '*.la' -exec rm -f {} ';'
 


More information about the scm-commits mailing list