[bkhive/el5] Added buildroot

rebus rebus at fedoraproject.org
Tue Aug 7 22:37:33 UTC 2012


commit eabd12cdd330b033e9ac574672b4d124dd2d6c5a
Author: Michal Ambroz <rebus at seznam.cz>
Date:   Wed Aug 8 00:37:07 2012 +0200

    Added buildroot

 bkhive.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/bkhive.spec b/bkhive.spec
index 739fca9..9a7e398 100644
--- a/bkhive.spec
+++ b/bkhive.spec
@@ -1,6 +1,7 @@
 Name:           bkhive
 Version:        1.1.1
 Release:        4%{?dist}
+#Needed for EPEL
 Group:          Applications/System
 Summary:        Dump the syskey bootkey from a Windows system hive
 
@@ -11,6 +12,9 @@ Source0:        http://downloads.sourceforge.net/ophcrack/%{name}-%{version}.tar
 #Patch adds possibility to install with current user and not only root
 Patch0:         %{name}-install.patch
 
+#Needed for EPEL
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 %description
 This tool is designed to recover the syskey bootkey from a Windows NT/2K/XP
 system hive. Then we can decrypt the SAM file with the syskey and dump
@@ -45,7 +49,7 @@ make install DESTDIR=%{buildroot} BINDIR=%{_bindir} MANDIR=%{_mandir}/man1/ OWNE
 
 %changelog
 * Sat Aug 7 2012 Michal Ambroz <rebus AT seznam.cz> - 1.1.1-4
-- Added Group tag, whic is mandatory for EPEL5
+- Added Group tag, which is mandatory for EPEL5
 
 * Sat Aug 4 2012 Michal Ambroz <rebus AT seznam.cz> - 1.1.1-3
 - source for EL5 got somehow stucked, trying to bump reviesion


More information about the scm-commits mailing list