cabal-rpm-2.0.9
This commit is contained in:
parent
32f9eae98e
commit
2f4512111d
|
@ -1,7 +1,7 @@
|
|||
# generated by cabal-rpm-2.0.7
|
||||
# generated by cabal-rpm-2.0.9
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||
|
||||
%bcond_with tests
|
||||
%bcond_without tests
|
||||
|
||||
Name: rhbzquery
|
||||
Version: 0.4.3
|
||||
|
@ -52,7 +52,7 @@ A CLI tool for creating bugzilla queries for bugzilla.redhat.com.
|
|||
# Begin cabal-rpm install
|
||||
%ghc_bin_install
|
||||
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
|
||||
|
||||
help2man --no-info %{buildroot}%{_bindir}/%{name} > %{name}.man
|
||||
|
@ -60,13 +60,17 @@ install -pm 644 -D %{name}.man %{buildroot}%{_mandir}/man1/%{name}.1
|
|||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
# remove for next release
|
||||
PATH=%{buildroot}%{_bindir}:$PATH
|
||||
%cabal_test
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
# Begin cabal-rpm files:
|
||||
%license LICENSE
|
||||
%doc ChangeLog.md README.md
|
||||
%doc ChangeLog.md README.md TODO
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/bash-completion/completions/%{name}
|
||||
# End cabal-rpm files
|
||||
|
|
Loading…
Reference in New Issue