rpmのインストール中に/ usr/share/man/man8にインストールしたいmanファイルがあります。これが私のマッピングです。rpm-maven-plugin v2.1.5ファイルを自動的にgzipしています
<mapping>
<directory>/usr/share/man/man8</directory>
<documentation>true</documentation> <!-- no difference if I add or remove this -->
<filemode>644</filemode>
<username>root</username>
<groupname>root</groupname>
<directoryIncluded>false</directoryIncluded>
<recurseDirectories>false</recurseDirectories>
<sources>
<source>
<location>${project.build.directory}</location>
<includes>
<include>mymanpage.8</include>
</includes>
</source>
</sources>
</mapping>
RPM-mavenの-プラグインエラーとmymanpage.8が見つからないと言われます。 mymanpage.8が対象ディレクトリにあることを確認しました。次に、プラグインがmymanpage.8.gzターゲット/ rpm/rpmtest/buildroot/usr/share/man/man8ディレクトリにコピーされていることに気付きました。だから私はプラグインが何とかこのmanページをgzipしてそれを行うことができると認識していると仮定していますが、マッピングは特にmymanpage.8を含んでいるので、それを見つけることができないと嘆いています。私はインクルードをmymanpage.8 *に変更しようとしましたが、それでも同じファイルにエラーが見つかりません。
誰もこれまで見たことがありますか?修正は何ですか?
私はmymanpage.8ファイルをインストールディレクトリにコピーし、postinstallスクリプトレットで/ usr/share/man/man8に移動するという回避策があると思います。