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

vcrhonek vcrhonek at fedoraproject.org
Mon Sep 10 13:27:41 UTC 2012


commit 57a16a24abc64635da0444159950f7931d165036
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date:   Mon Sep 10 15:27:23 2012 +0200

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

 yawn.spec |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/yawn.spec b/yawn.spec
index e288ed5..f2e5e86 100644
--- a/yawn.spec
+++ b/yawn.spec
@@ -4,7 +4,7 @@
 
 Name:           yawn
 Version:        0
-Release:        0.7.20120905svn%{svnrev}%{?dist}
+Release:        0.9.20120905svn%{svnrev}%{?dist}
 Summary:        Yet Another WBEM Navigator
 
 
@@ -38,21 +38,16 @@ Script to run yawn without Apache web server.
 %{__python} setup.py build
 
 %install
-rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install --skip-build --root ${RPM_BUILD_ROOT}
 mkdir -p $RPM_BUILD_ROOT%{htmldir}
 install ./scripts/yawn.wsgi $RPM_BUILD_ROOT%{htmldir}/index.wsgi
 install -d $RPM_BUILD_ROOT%{apacheconfdir}/conf.d/
 install -m 0644 ./apache/yawn.conf ${RPM_BUILD_ROOT}/%{apacheconfdir}/conf.d/yawn.conf
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post 
 /bin/systemctl try-restart httpd.service >/dev/null 2>&1 || :
 
 %files
-%defattr(-,root,root,-)
 %{htmldir}
 %{python_sitelib}/*
 %config(noreplace) %{apacheconfdir}/conf.d/yawn.conf
@@ -61,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/yawn.py
 
 %changelog
+* Mon Sep 10 2012 Vitezslav Crhonek <vcrhonek at redhat.com> - 0-0.9.20120905svn588
+- Fix issues found by fedora-review utility in the spec file
+
 * Wed Sep 05 2012 Vitezslav Crhonek <vcrhonek at redhat.com> - 0-0.8.20120905svn588
 - Update to latest upstream version
 


More information about the scm-commits mailing list