use %{name} for manpage

This commit is contained in:
Jens Petersen 2018-09-25 13:24:31 +09:00
parent c6a9757ce2
commit 3c84a60057

View File

@ -79,7 +79,7 @@ current cabal-rpm packaging.
%install
%ghc_bin_install
install -p -m 0644 -D man/cabal-rpm.1 %{buildroot}%{_mandir}/man1/cabal-rpm.1
install -p -m 0644 -D man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
install -p -m 0644 %SOURCE1 %{buildroot}%{_mandir}/man1/
ln -s %{name} %{buildroot}%{_bindir}/cblrpm
@ -89,7 +89,7 @@ ln -s %{name} %{buildroot}%{_bindir}/cblrpm
%doc ChangeLog README.md
%{_bindir}/%{name}
%{_bindir}/cblrpm
%{_mandir}/man1/cabal-rpm.1*
%{_mandir}/man1/%{name}.1*
%{_mandir}/man1/cblrpm.1*