replace cblrpm.1 with a symlink

This commit is contained in:
Jens Petersen 2023-07-23 15:07:59 +08:00
parent b86e29b9ab
commit 520dffc3d8
2 changed files with 2 additions and 4 deletions

View File

@ -14,7 +14,6 @@ Url: https://hackage.haskell.org/package/%{name}
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{name}-%{version}/%{name}.cabal#/%{name}-%{version}.cabal
# End cabal-rpm sources
Source2: cblrpm.1
# tweaked to add cblrpm
Source3: bash_completion
@ -99,7 +98,7 @@ ln -s %{name} %{buildroot}%{_datadir}/bash-completion/completions/cblrpm
%if %{with manpage}
install -p -m 0644 -D man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
install -p -m 0644 %SOURCE2 %{buildroot}%{_mandir}/man1/
ln -s %{name}.1 %{buildroot}%{_mandir}/man1/cblrpm.1
%endif
ln -s %{name} %{buildroot}%{_bindir}/cblrpm
@ -112,9 +111,9 @@ ln -s %{name} %{buildroot}%{_bindir}/cblrpm
%{_bindir}/%{name}
%{_datadir}/bash-completion/completions/%{name}
# End cabal-rpm files
%{_mandir}/man1/%{name}.1*
%{_bindir}/cblrpm
%{_datadir}/bash-completion/completions/cblrpm
%{_mandir}/man1/%{name}.1*
%{_mandir}/man1/cblrpm.1*

View File

@ -1 +0,0 @@
.so man1/cabal-rpm.1