diff --git a/publican.spec b/publican.spec index e0ab5fd..f459da0 100644 --- a/publican.spec +++ b/publican.spec @@ -198,6 +198,7 @@ Website style for common brand for DocBook5 content %prep %setup -q -n Publican-v%{version} +%{?_docdir_fmt:%{__perl} -pi -e 's|/publican-\$VERSION|/publican|' bin/publican} %build %{__perl} Build.PL installdirs=vendor --nocolours=1