[yawn] Fix to be able to build the package in Koji

vcrhonek vcrhonek at fedoraproject.org
Tue Mar 13 11:45:19 UTC 2012


commit 4d9f06ae2de27d7c2a89ca1901d69884c87186bb
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date:   Tue Mar 13 12:45:10 2012 +0100

    Fix to be able to build the package in Koji

 yawn.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/yawn.spec b/yawn.spec
index 2252642..1743c5f 100644
--- a/yawn.spec
+++ b/yawn.spec
@@ -28,6 +28,7 @@ BuildArch:      noarch
 Web-based CIM/WBEM browser
 
 %prep
+cp %{SOURCE0} .
 %patch0 -p1 -b .content-type
 
 %build
@@ -35,7 +36,7 @@ Web-based CIM/WBEM browser
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{htmldir}
-install %{SOURCE0} $RPM_BUILD_ROOT%{htmldir}/index.py
+install ./yawn.py $RPM_BUILD_ROOT%{htmldir}/index.py
 install -d $RPM_BUILD_ROOT%{apacheconfdir}/conf.d/
 cat > $RPM_BUILD_ROOT%{apacheconfdir}/conf.d/yawn.conf << EOS
 Alias /yawn /var/www/yawn


More information about the scm-commits mailing list