replace cblrpm.1 with a symlink
This commit is contained in:
parent
b86e29b9ab
commit
520dffc3d8
@ -14,7 +14,6 @@ Url: https://hackage.haskell.org/package/%{name}
|
|||||||
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
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
|
Source1: https://hackage.haskell.org/package/%{name}-%{version}/%{name}.cabal#/%{name}-%{version}.cabal
|
||||||
# End cabal-rpm sources
|
# End cabal-rpm sources
|
||||||
Source2: cblrpm.1
|
|
||||||
# tweaked to add cblrpm
|
# tweaked to add cblrpm
|
||||||
Source3: bash_completion
|
Source3: bash_completion
|
||||||
|
|
||||||
@ -99,7 +98,7 @@ ln -s %{name} %{buildroot}%{_datadir}/bash-completion/completions/cblrpm
|
|||||||
|
|
||||||
%if %{with manpage}
|
%if %{with manpage}
|
||||||
install -p -m 0644 -D man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
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
|
%endif
|
||||||
|
|
||||||
ln -s %{name} %{buildroot}%{_bindir}/cblrpm
|
ln -s %{name} %{buildroot}%{_bindir}/cblrpm
|
||||||
@ -112,9 +111,9 @@ ln -s %{name} %{buildroot}%{_bindir}/cblrpm
|
|||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/bash-completion/completions/%{name}
|
%{_datadir}/bash-completion/completions/%{name}
|
||||||
# End cabal-rpm files
|
# End cabal-rpm files
|
||||||
%{_mandir}/man1/%{name}.1*
|
|
||||||
%{_bindir}/cblrpm
|
%{_bindir}/cblrpm
|
||||||
%{_datadir}/bash-completion/completions/cblrpm
|
%{_datadir}/bash-completion/completions/cblrpm
|
||||||
|
%{_mandir}/man1/%{name}.1*
|
||||||
%{_mandir}/man1/cblrpm.1*
|
%{_mandir}/man1/cblrpm.1*
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user