? .build-1.6.4-2.fc10.log
? .build-1.6.4-3.fc10.log
? moin-1.6.4
? moin-1.6.4-3.fc10.noarch.rpm
? moin-1.6.4-3.fc10.src.rpm
? moin-fcg.patch
Index: moin.spec
===================================================================
RCS file: /cvs/pkgs/rpms/moin/F-10/moin.spec,v
retrieving revision 1.24
diff -u -p -r1.24 moin.spec
--- moin.spec	13 Jun 2009 20:27:25 -0000	1.24
+++ moin.spec	22 Jun 2009 20:43:16 -0000
@@ -3,7 +3,7 @@
 Summary: MoinMoin is a WikiEngine to collaborate on easily editable web pages
 Name: moin
 Version: 1.6.4
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 Group: Applications/Internet
 URL: http://moinmo.in/
@@ -61,6 +61,10 @@ iconv -f iso8859-1 -t utf-8 docs/CHANGES
 %{__python} setup.py install --root=%{buildroot}
 %{__install} -p -m 0644 %{SOURCE1} README-rpm
 
+# move moin.fcg to /etc/moin and add a symlink to it
+%{__install} -p -m 0755 -d %{buildroot}%{_sysconfdir}/moin
+mv %{buildroot}%{_datadir}/moin/server/moin.fcg %{buildroot}%{_sysconfdir}/moin/moin.fcg
+ln -s %{_sysconfdir}/moin.fcg %{buildroot}%{_datadir}/moin/server/moin.fcg
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -76,9 +80,13 @@ iconv -f iso8859-1 -t utf-8 docs/CHANGES
 %endif
 %{python_sitelib}/MoinMoin/
 %{_datadir}/moin/
+%config(noreplace) %{_sysconfdir}/moin/moin.fcg
 
 
 %changelog
+* Mon Jun 22 2009 Bernie Innocenti <bernie@codewiz.org> 1.6.4-3
+- move moin.fcg to /etc and make it noreplace
+
 * Sat Jun 13 2009 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.6.4-2
 - Hierarchical ACL security fix from 1.8.4, 1.8 HG 897cdbe9e8f2
 - Details at http://moinmo.in/SecurityFixes#moin_1.8.3
