cabal-rpm-2.0.9

This commit is contained in:
Jens Petersen 2021-06-11 23:18:45 +08:00
parent 38e6509678
commit b5bab2487c
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.0.7
# generated by cabal-rpm-2.0.9
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name dhall
@ -120,6 +120,7 @@ This package provides the Haskell %{name} library development files.
%package -n ghc-%{name}-doc
Summary: Haskell %{name} library documentation
BuildArch: noarch
Requires: ghc-filesystem
%description -n ghc-%{name}-doc
This package provides the Haskell %{name} library documentation.
@ -155,7 +156,7 @@ cp -bp %{SOURCE1} %{name}.cabal
%ghc_lib_install
mv %{buildroot}%{_ghcdocdir}{,-common}
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
%{buildroot}%{_bindir}/%{name} --bash-completion-script %{name} > %{buildroot}%{_datadir}/bash-completion/completions/%{name}
%{buildroot}%{_bindir}/%{name} --bash-completion-script %{name} | sed s/filenames/default/ > %{buildroot}%{_datadir}/bash-completion/completions/%{name}
# End cabal-rpm install
install -m 0644 -p -D man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1