bench/bench.spec

58 lines
1.4 KiB
RPMSpec

# generated by cabal-rpm-0.11.2
# https://fedoraproject.org/wiki/Packaging:Haskell
Name: bench
Version: 1.0.7
Release: 2%{?dist}
Summary: Command-line benchmark tool
License: BSD
Url: https://hackage.haskell.org/package/%{name}
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-criterion-devel
BuildRequires: ghc-optparse-applicative-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-silently-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-turtle-devel
# End cabal-rpm deps
%description
Think of this as a more powerful alternative to the 'time' command.
Use this command-line tool to benchmark a command using Haskell's 'criterion'
library.
%prep
%setup -q
cabal-tweak-dep-ver turtle '< 1.5' '< 1.6'
%build
%ghc_bin_build
%install
%ghc_bin_install
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%changelog
* Tue Dec 19 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.7-2
- Rebuild against new ghc-turtle.
* Fri Dec 15 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.7-1
- Update to latest version.
* Sat Nov 18 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.0.6-1
- spec file generated by cabal-rpm-0.11.2