100 # unpack core distribution |
100 # unpack core distribution |
101 %setup -q -n drupal-%{version} |
101 %setup -q -n drupal-%{version} |
102 |
102 |
103 # apply local patches |
103 # apply local patches |
104 %patch -p0 |
104 %patch -p0 |
|
105 |
|
106 # correct flaws |
|
107 %{l_shtool} subst \ |
|
108 -e 's;\(if (drupal_strlen(\$name) >\) 20);\1 32);' \ |
|
109 -e 's;\(\$name = drupal_substr(\$name, 0,\) 15) \.;\1 28) .;' \ |
|
110 includes/theme.inc |
105 |
111 |
106 %build |
112 %build |
107 |
113 |
108 %install |
114 %install |
109 # create installation hierarchy |
115 # create installation hierarchy |