[sleuthkit] CLeanup spec file

Nicolas Chauvet kwizart at fedoraproject.org
Sun Jan 4 16:45:38 UTC 2015


commit 3d52d7477aba8034652a68fd14d731c453f7a90d
Author: Nicolas Chauvet <kwizart at gmail.com>
Date:   Sun Jan 4 17:45:40 2015 +0100

    CLeanup spec file

 sleuthkit.spec |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/sleuthkit.spec b/sleuthkit.spec
index 27a7ce3..e55798d 100644
--- a/sleuthkit.spec
+++ b/sleuthkit.spec
@@ -2,7 +2,7 @@
 
 Name:           sleuthkit
 Version:        4.1.3
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        The Sleuth Kit (TSK)
 
 Group:          Applications/System
@@ -10,7 +10,6 @@ License:        CPL and IBM and GPLv2+
 URL:            http://www.sleuthkit.org
 Source0:        http://downloads.sourceforge.net/sleuthkit/sleuthkit-%{version}.tar.gz
 Patch0:         %{name}-4.1.3-system-sqlite.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 #BuildRequires:  libtool
 
@@ -92,16 +91,11 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %post libs -p /sbin/ldconfig
 
 %postun libs -p /sbin/ldconfig
@@ -109,7 +103,6 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %files
-%defattr(-,root,root,-)
 %doc ChangeLog.txt NEWS.txt README.txt licenses/*
 # License is CPL 1.0 exept for some files.
 %{_bindir}/blkcalc
@@ -182,17 +175,18 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/tsk/sorter/
 
 %files libs
-%defattr(-,root,root,-)
 # CPL and IBM
 %{_libdir}/*.so.*
 
 %files devel
-%defattr(-,root,root,-)
 # CPL and IBM
 %{_includedir}/tsk/
 %{_libdir}/*.so
 
 %changelog
+* Sun Jan 04 2015 Nicolas Chauvet <kwizart at gmail.com> - 4.1.3-5
+- Cleanup spec file
+
 * Mon Aug 18 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.1.3-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list