rpms/viewvc/devel viewvc.spec,1.20,1.21

bojan bojan at fedoraproject.org
Wed Aug 12 03:01:28 UTC 2009


Author: bojan

Update of /cvs/pkgs/rpms/viewvc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9315

Modified Files:
	viewvc.spec 
Log Message:
Fix replacement of varius config variables.


Index: viewvc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/viewvc/devel/viewvc.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -p -r1.20 -r1.21
--- viewvc.spec	11 Aug 2009 21:46:43 -0000	1.20
+++ viewvc.spec	12 Aug 2009 03:01:28 -0000	1.21
@@ -2,7 +2,7 @@
 
 Name:           viewvc
 Version:        1.1.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Browser interface for CVS and SVN version control repositories
 
 Group:          Development/Tools
@@ -69,10 +69,10 @@ with decent performance when run under A
 
 # Fix paths in configuration
 %{__perl} -pi \
-  -e 's|^template_dir = .*|template_dir = %{_datadir}/viewvc/templates|g;' \
-  -e 's|^#docroot = .*|docroot = /viewvc-static|;' \
-  -e 's|^cvsgraph_conf = .*|cvsgraph_conf = %{_sysconfdir}/viewvc/cvsgraph.conf|;' \
-  -e 's|^use_cvsgraph = .*|use_cvsgraph = 1|;' \
+  -e 's|^#* *template_dir = .*|template_dir = %{_datadir}/viewvc/templates|g;' \
+  -e 's|^#* *docroot = .*|docroot = /viewvc-static|;' \
+  -e 's|^#* *cvsgraph_conf = .*|cvsgraph_conf = %{_sysconfdir}/viewvc/cvsgraph.conf|;' \
+  -e 's|^#* *use_cvsgraph = .*|use_cvsgraph = 1|;' \
   %{buildroot}%{python_sitelib}/viewvc/viewvc.conf
 
 # Install config to sysconf directory
@@ -118,6 +118,9 @@ with decent performance when run under A
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/viewvc.conf
 
 %changelog
+* Wed Aug 12 2009 Bojan Smojver <bojan at rexursive.com> - 1.1.2-2
+- fix replacement of varius config variables
+
 * Wed Aug 12 2009 Bojan Smojver <bojan at rexursive.com> - 1.1.2-1
 - bump up to 1.1.2
 - security fix: validate the 'view' parameter to avoid XSS attack




More information about the fedora-extras-commits mailing list