[sblim-wbemcli] Fix issues found by fedora-review utility in the spec file

vcrhonek vcrhonek at fedoraproject.org
Mon Sep 10 11:03:08 UTC 2012


commit 6bb9e242c4aee07ca472a9305416970ba28aaf0b
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date:   Mon Sep 10 13:02:50 2012 +0200

    Fix issues found by fedora-review utility in the spec file

 sblim-wbemcli.spec |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/sblim-wbemcli.spec b/sblim-wbemcli.spec
index 22184e5..2f4dc27 100644
--- a/sblim-wbemcli.spec
+++ b/sblim-wbemcli.spec
@@ -1,6 +1,6 @@
 Name:           sblim-wbemcli
 Version:        1.6.2
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        SBLIM WBEM Command Line Interface
 
 Group:          Applications/System
@@ -9,7 +9,6 @@ URL:            http://sblim.wiki.sourceforge.net/
 Source0:        http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
 Patch0:         sblim-wbemcli-1.5.1-gcc43.patch
 Patch1:         sblim-wbemcli-1.6.2-gcc47.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  curl-devel >= 7.9.3
 BuildRequires:  binutils-devel >= 2.17.50.0.3-4
@@ -30,21 +29,18 @@ scripts.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-%makeinstall
+make install DESTDIR=$RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %{_bindir}/wbem*
 %{_mandir}/man1/*
 %{_datadir}/%{name}
 
 %changelog
+* Mon Sep 10 2012 Vitezslav Crhonek <vcrhonek at redhat.com> - 1.6.2-5
+- Fix issues found by fedora-review utility in the spec file
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6.2-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list