diff --git a/bench-1.0.12.cabal b/bench-1.0.12.cabal new file mode 100644 index 0000000..f3af0e2 --- /dev/null +++ b/bench-1.0.12.cabal @@ -0,0 +1,36 @@ +name: bench +version: 1.0.12 +x-revision: 1 +synopsis: Command-line benchmark tool +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. +homepage: https://github.com/Gabriel439/bench +bug-reports: https://github.com/Gabriel439/bench/issues +license: BSD3 +license-file: LICENSE +author: Gabriel Gonzalez +maintainer: Gabriel439@gmail.com +copyright: 2016 Gabriel Gonzalez +category: System +build-type: Simple +cabal-version: >=1.10 +extra-source-files: + README.md +source-repository head + type: git + location: https://github.com/Gabriel439/bench + +executable bench + hs-source-dirs: src + main-is: Main.hs + default-language: Haskell2010 + build-depends: base >= 4.5 && < 5 + , criterion >= 1.4 && < 1.6 + , optparse-applicative >= 0.14.0.0 && < 0.16 + , process >= 1.3 && < 1.7 + , silently >= 1.1.1 && < 1.3 + , text < 1.3 + , turtle >= 1.2.5 && < 1.6 + ghc-options: -Wall -O2 -threaded + other-modules: Paths_bench diff --git a/bench.spec b/bench.spec index 7290278..7096db2 100644 --- a/bench.spec +++ b/bench.spec @@ -10,6 +10,7 @@ License: BSD Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: 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 # Begin cabal-rpm deps: @@ -33,6 +34,7 @@ library. %prep # Begin cabal-rpm setup: %setup -q +cp -bp %{SOURCE1} %{name}.cabal # End cabal-rpm setup