# Source0-md5: -
URL: http://www.dokuwiki.org/plugin:PLUGIN_NAME
BuildRequires: rpmbuild(macros) >= 1.520
+# for %%undos macro
+BuildRequires: rpmbuild(macros) >= 1.553
Requires: dokuwiki >= 20061106
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%clean
rm -rf $RPM_BUILD_ROOT
+# use this post section if you package .css or .js files
%post
-# force css cache refresh
+# force js/css cache refresh
if [ -f %{dokuconf}/local.php ]; then
touch %{dokuconf}/local.php
fi