# HG changeset patch # User Michael Schloh von Bennewitz # Date 1351356208 -7200 # Node ID 3d13fc9b142b73f993d79a6ee7cb4eb8e80e68bf # Parent 0e7016e6972437a91aa2d685baa41509b3d1c8c8 Introduce custom patch logic, starting with disabling front page avatars. diff -r 0e7016e69724 -r 3d13fc9b142b drupal-theme-misc/drupal-theme-misc.patch.cust --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/drupal-theme-misc/drupal-theme-misc.patch.cust Sat Oct 27 18:43:28 2012 +0200 @@ -0,0 +1,17 @@ +Index: deco/node.tpl.php +--- deco/node.tpl.php.orig 2012-03-25 21:58:37.000000000 +0200 ++++ deco/node.tpl.php 2012-10-27 17:05:49.819273725 +0200 +@@ -3,7 +3,12 @@ +
+ +
+- ++ +
+ + diff -r 0e7016e69724 -r 3d13fc9b142b drupal-theme-misc/drupal-theme-misc.spec --- a/drupal-theme-misc/drupal-theme-misc.spec Sat Oct 27 18:34:49 2012 +0200 +++ b/drupal-theme-misc/drupal-theme-misc.spec Sat Oct 27 18:43:28 2012 +0200 @@ -77,6 +77,9 @@ Version: %{V_drupal} Release: 20120800 +# package options +%option with_custom yes + # list of sources Source0: ftp://ftp.drupal.org/pub/drupal/files/projects/andromeda-%{V_theme_andromeda}.tar.gz Source1: ftp://ftp.drupal.org/pub/drupal/files/projects/acquia_marina-%{V_theme_acquiamarina}.tar.gz @@ -116,6 +119,7 @@ Source35: ftp://ftp.drupal.org/pub/drupal/files/projects/skeletontheme-%{V_theme_skeleton}.tar.gz Source36: ftp://ftp.drupal.org/pub/drupal/files/projects/journalcrunch-%{V_theme_journalcrunch}.tar.gz Source37: ftp://ftp.drupal.org/pub/drupal/files/projects/magazeen_lite-%{V_theme_magazeenlite}.tar.gz +Patch0: drupal-theme-misc.patch.cust # build information BuildPreReq: OpenPKG, openpkg >= 20100101 @@ -123,6 +127,7 @@ %description This is a collection of reusable themes for the Drupal CMS. + Additionally, customized logic is provided for various behaviour. %track prog drupal-theme-misc:theme_acquiamarina = { @@ -357,6 +362,11 @@ %{l_tar} xfz %{SOURCE36} %{l_tar} xfz %{SOURCE37} + # apply local patches +%if "%{with_cust}" == "yes" + %patch -p0 +%endif + %build %install