diff --git a/exim.spec b/exim.spec index e74c454..218c112 100644 --- a/exim.spec +++ b/exim.spec @@ -382,7 +382,7 @@ for i in \ do ln -sf exim_db.8.gz %{buildroot}/%{_mandir}/man8/$i.8.gz done -perl -pi -e 's%%{_datadir}/doc/exim4%%{_docdir}/exim%{g}' `find %{buildroot}/%{_mandir}/man8 -name "*.8"` +sed -i -e 's,%{_datadir}/doc/exim4,%{_docdir}/exim,g' $(find %{buildroot}/%{_mandir}/man8 -name "*.8") gzip -9 doc/*.txt # # package the utilities without executable permissions, to silence rpmlint warnings