[python-fmn-web] Correct installation of static dir.

Ralph Bean ralph at fedoraproject.org
Wed Jan 22 16:47:58 UTC 2014


commit e0a1d75314a9b08f3a57dac9c976426d06c2c91a
Author: Ralph Bean <rbean at redhat.com>
Date:   Wed Jan 22 11:48:13 2014 -0500

    Correct installation of static dir.

 python-fmn-web.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/python-fmn-web.spec b/python-fmn-web.spec
index ab9542f..6791b55 100644
--- a/python-fmn-web.spec
+++ b/python-fmn-web.spec
@@ -8,7 +8,7 @@
 
 Name:               python-fmn-web
 Version:            0.2.0
-Release:            1%{?dist}
+Release:            2%{?dist}
 Summary:            Frontend Web Application for Fedora Notifications
 
 Group:              Development/Libraries
@@ -90,7 +90,7 @@ rm -rf %{modname}.egg-info
 
 %{__install} -m 644 apache/%{modname}.wsgi %{buildroot}%{_datadir}/%{modname}/%{modname}.wsgi
 %{__install} -m 644 apache/%{modname}.conf %{buildroot}%{_sysconfdir}/httpd/conf.d/%{modname}.conf
-%{__install} -m 644 -d fmn/web/static %{buildroot}%{_datadir}/%{modname}/static
+cp -r fmn/web/static/ %{buildroot}%{_datadir}/%{modname}/static
 
 %files
 %doc README.rst COPYING COPYING.LESSER CHANGELOG.rst
@@ -101,6 +101,9 @@ rm -rf %{modname}.egg-info
 %{_datadir}/%{modname}
 
 %changelog
+* Wed Jan 22 2014 Ralph Bean <rbean at redhat.com> - 0.2.0-2
+- Correct installation of static dir.
+
 * Fri Dec 06 2013 Ralph Bean <rbean at redhat.com> - 0.2.0-1
 - Upstream release.
 


More information about the scm-commits mailing list