[lzop/f18] fix specfile issues reported by the fedora-review script

Kamil Dudka kdudka at fedoraproject.org
Tue Aug 28 15:11:49 UTC 2012


commit bbb953a7302cd2667befe87865de9f6e6470fabb
Author: Kamil Dudka <kdudka at redhat.com>
Date:   Tue Aug 28 17:08:25 2012 +0200

    fix specfile issues reported by the fedora-review script

 lzop.spec |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/lzop.spec b/lzop.spec
index e04b4e3..43e9826 100644
--- a/lzop.spec
+++ b/lzop.spec
@@ -1,13 +1,12 @@
 Summary:	Real-time file compressor
 Name:		lzop
 Version:	1.03
-Release:	5%{?dist}
+Release:	6%{?dist}
 License:	GPLv2+
 Group:		Applications/Archiving
 URL:		http://www.lzop.org/
 Source:		http://www.lzop.org/download/%{name}-%{version}.tar.gz
 BuildRequires:	lzo-devel
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
 lzop is a compression utility which is designed to be a companion to gzip.
@@ -25,19 +24,17 @@ to gzip.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS COPYING NEWS README THANKS
 %{_bindir}/%{name}
 %{_mandir}/man?/%{name}.*
 
 %changelog
+* Tue Aug 28 2012 Kamil Dudka <kdudka at redhat.com> - 1.03-6
+- fix specfile issues reported by the fedora-review script
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.03-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list