sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Sukneet Basuta (21c301d094865cb6c3d3eabcb41635a46a933636)
- From: Sukneet Basuta <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (21c301d094865cb6c3d3eabcb41635a46a933636)
- Date: Sun, 6 May 2012 15:39:18 -0500
GIT changes to master grimoire by Sukneet Basuta <sukneet AT sourcemage.org>:
libs/yajl/HISTORY | 4 ++++
libs/yajl/UP_TRIGGERS | 9 +++++++++
2 files changed, 13 insertions(+)
New commits:
commit 21c301d094865cb6c3d3eabcb41635a46a933636
Author: Sukneet Basuta <sukneet AT sourcemage.org>
Commit: Sukneet Basuta <sukneet AT sourcemage.org>
yajl: added UP_TRIGGERS to recast dependencies on major version changes
diff --git a/libs/yajl/HISTORY b/libs/yajl/HISTORY
index aedf04d..7a52750 100644
--- a/libs/yajl/HISTORY
+++ b/libs/yajl/HISTORY
@@ -1,3 +1,7 @@
+2012-05-06 Sukneet Basuta <sukneet AT sourcemage.org>
+ * UP_TRIGGERS: added, needed to recast dependencies
+ on major version change, i.e. when going from 1.0.9 to 2.0.1
+
2012-05-03 Sukneet Basuta <sukneet AT sourcemage.org>
* DETAILS: updated spell to 2.0.1
updated SOURCE_URL
diff --git a/libs/yajl/UP_TRIGGERS b/libs/yajl/UP_TRIGGERS
new file mode 100755
index 0000000..e86fbba
--- /dev/null
+++ b/libs/yajl/UP_TRIGGERS
@@ -0,0 +1,9 @@
+#up_trigger on major version updates
+if spell_ok $SPELL; then
+ local OLD_SPELL_VERSION="$(installed_version $SPELL)"
+ if [ "${VERSION:0:1}" != "${OLD_SPELL_VERSION:0:1}" ]; then
+ for each in $(show_up_depends $SPELL 1); do
+ up_trigger $each cast_self
+ done
+ fi
+fi
- [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (21c301d094865cb6c3d3eabcb41635a46a933636), Sukneet Basuta, 05/06/2012
Archive powered by MHonArc 2.6.24.