[mod_wsgi] move wsgi.conf to conf.modules.d

jorton jorton at fedoraproject.org
Mon Mar 26 14:49:46 UTC 2012


commit 82e1974328b3a0d9930a50644c21bd315eac6eeb
Author: Joe Orton <jorton at redhat.com>
Date:   Mon Mar 26 15:49:32 2012 +0100

    move wsgi.conf to conf.modules.d

 mod_wsgi.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/mod_wsgi.spec b/mod_wsgi.spec
index 4020503..448515b 100644
--- a/mod_wsgi.spec
+++ b/mod_wsgi.spec
@@ -4,7 +4,7 @@
 
 Name:           mod_wsgi
 Version:        3.3
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        A WSGI interface for Python web applications in Apache
 
 Group:          System Environment/Libraries
@@ -40,8 +40,8 @@ make LDFLAGS="-L%{_libdir}" %{?_smp_mflags}
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
-install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
-install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/
+install -d -m 755 $RPM_BUILD_ROOT%{_httpd_modconfdir}
+install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_httpd_modconfdir}/10-wsgi.conf
 
 
 %clean
@@ -51,11 +51,14 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc LICENCE README
-%config(noreplace) %{_sysconfdir}/httpd/conf.d/wsgi.conf
+%config(noreplace) %{_httpd_modconfdir}/*.conf
 %{_libdir}/httpd/modules/mod_wsgi.so
 
 
 %changelog
+* Mon Mar 26 2012 Joe Orton <jorton at redhat.com> - 3.3-5
+- move wsgi.conf to conf.modules.d
+
 * Mon Mar 26 2012 Joe Orton <jorton at redhat.com> - 3.3-4
 - rebuild for httpd 2.4
 


More information about the scm-commits mailing list