[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[3698] trunk



Revision: 3698
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3698&view=rev
Author:   einhverfr
Date:     2011-09-13 21:21:36 +0000 (Tue, 13 Sep 2011)
Log Message:
-----------
Correcting escaping logic for some templates

Modified Paths:
--------------
    trunk/bin/io.pl
    trunk/dists/rpm/ledgersmb.spec

Added Paths:
-----------
    trunk/dists/rpm/build.sh

Modified: trunk/bin/io.pl
===================================================================
--- trunk/bin/io.pl	2011-09-12 17:32:03 UTC (rev 3697)
+++ trunk/bin/io.pl	2011-09-13 21:21:36 UTC (rev 3698)
@@ -1844,7 +1844,6 @@
         locale => $locale,
         template => $form->{'formname'},
         format => uc $form->{format},
-        no_escape => true,
         method => $form->{media},
         output_options => \%output_options,
 	output_file => $form->{formname} . "-" . $form->{"${inv}number"},

Added: trunk/dists/rpm/build.sh
===================================================================
--- trunk/dists/rpm/build.sh	                        (rev 0)
+++ trunk/dists/rpm/build.sh	2011-09-13 21:21:36 UTC (rev 3698)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# One must run the source file build first.
+
+cp ../release/ledgersm*.tar.gz /root/rpmbuild/SOURCES/
+
+rpmbuild -ba dists/rpm/ledgersmb.spec
+
+mv /root/rpmbuild/SOURCES/ledgersmb* ../release

Modified: trunk/dists/rpm/ledgersmb.spec
===================================================================
--- trunk/dists/rpm/ledgersmb.spec	2011-09-12 17:32:03 UTC (rev 3697)
+++ trunk/dists/rpm/ledgersmb.spec	2011-09-13 21:21:36 UTC (rev 3698)
@@ -1,7 +1,7 @@
 # RPM spec written for and tested on CentOS 4 and CentOS 5 
 Summary: LedgerSMB - Open Source accounting software
 Name: ledgersmb
-Version: 1.3.0-rc1
+Version: 1.3.0_rc1
 Release: 1
 License: GPL
 URL: http://www.ledgersmb.org/
@@ -95,9 +95,6 @@
   $RPM_BUILD_ROOT%{_datadir}/%{name}/ledgersmb.conf
 
 # install relevant parts in data/cgi directory
-cp -rp *.pl favicon.ico index.html ledger-smb.eps ledger-smb.gif ledger-smb.png ledger-smb_small.png menu.ini \
-  bin LedgerSMB sql utils locale drivers \
-  $RPM_BUILD_ROOT%{_datadir}/%{name}/
 rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/locale/legacy
 
 # css - written to by cgi
@@ -142,7 +139,7 @@
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/*.conf
 
 %doc doc/{COPYRIGHT,faq.html,LedgerSMB-manual.pdf,README,release_notes}
-%doc BUGS Changelog CONTRIBUTORS INSTALL LICENSE README.translations TODO UPGRADE
+%doc BUGS Changelog CONTRIBUTORS INSTALL LICENSE README.translations UPGRADE
 
 
 %changelog

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.