[moodle] Path fix.

Jon Ciesla limb at fedoraproject.org
Mon May 20 17:09:44 UTC 2013


commit 7d071a3d8a61601b640897366ba1c151d6b558c1
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Mon May 20 12:05:26 2013 -0500

    Path fix.

 moodle-2.5-unbundle-tcpdf.patch |    2 +-
 moodle.spec                     |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/moodle-2.5-unbundle-tcpdf.patch b/moodle-2.5-unbundle-tcpdf.patch
index 4065c10..5abab8c 100644
--- a/moodle-2.5-unbundle-tcpdf.patch
+++ b/moodle-2.5-unbundle-tcpdf.patch
@@ -18,7 +18,7 @@
  define('K_SMALL_RATIO', 2/3);
  
 -require_once(dirname(__FILE__).'/tcpdf/tcpdf.php');
-+require_once(dirname(__FILE__).'/usr/share/php/tcpdf/tcpdf.php');
++require_once('/usr/share/php/tcpdf/tcpdf.php');
  
  /**
   * Wrapper class that extends TCPDF (lib/tcpdf/tcpdf.php).
diff --git a/moodle.spec b/moodle.spec
index f7db620..6525438 100644
--- a/moodle.spec
+++ b/moodle.spec
@@ -7,7 +7,7 @@
 
 Name:           moodle
 Version:        2.5
-Release:       	2%{?dist}
+Release:       	3%{?dist}
 Summary:        A Course Management System
 
 Group:          Applications/Publishing
@@ -227,6 +227,9 @@ fi
 %exclude %{moodlewebdir}/COPYING.txt
 
 %changelog
+* Mon May 20 2013 Jon Ciesla <limburgher at gmail.com> - 2.5-3
+- Correct require_once path for tcpdf.
+
 * Mon May 20 2013 Jon Ciesla <limburgher at gmail.com> - 2.5-2
 - Use system tcpdf, BZ 965160.
 


More information about the scm-commits mailing list