Changed files:
dokuwiki-plugin-pageredirect.spec -> 1.7
mute-warning.patch -> 1.1
Summary(pl.UTF-8): Wtyczka Page Redirect (przekierowywania stron) dla DokuWiki
Name: dokuwiki-plugin-%{plugin}
Version: 2
-Release: 1
+Release: 2
License: GPL v2
Group: Applications/WWW
Source0: http://wiki.zyberdog.dk/_media/php/dw/pageredirect/pageredirect_current.zip
# Source0-md5: ee8fbe1f5686c43441e07e2dc4c82e37
Source1: dokuwiki-find-lang.sh
Patch0: %{name}-pagematch.patch
-URL: http://wiki.splitbrain.org/plugin:page_redirector
+Patch1: mute-warning.patch
+URL: http://www.dokuwiki.org/plugin:page_redirector
BuildRequires: unzip
Requires: dokuwiki >= 20061106
BuildArch: noarch
%prep
%setup -q -n %{plugin}
%patch0 -p1
+%patch1 -p1
%install
rm -rf $RPM_BUILD_ROOT
--- /dev/null
+--- pageredirect/action.php~ 2007-01-24 14:36:36.000000000 +0200
++++ pageredirect/action.php 2010-08-24 17:30:13.450389203 +0300
+@@ -91,7 +91,9 @@
+ }
+
+ function handle_pageredirect_metadata(&$event, $param) {
+- unset($event->data->meta['relation']['isreplacedby']);
++ if (isset($event->data->meta['relation'])) {
++ unset($event->data->meta['relation']['isreplacedby']);
++ }
+ }
+
+ }