From e333d02ae0e45fa3adb753833e639deee5764f7c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Jul 25 2019 16:59:36 +0000 Subject: update to 3.1.6.3 --- diff --git a/.gitignore b/.gitignore index 3666ca1..e8f2760 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /wai-app-static-3.1.6.1.tar.gz /wai-app-static-3.1.6.2.tar.gz +/wai-app-static-3.1.6.3.tar.gz diff --git a/ghc-wai-app-static.spec b/ghc-wai-app-static.spec index 7b0fd4f..d47458b 100644 --- a/ghc-wai-app-static.spec +++ b/ghc-wai-app-static.spec @@ -7,14 +7,15 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 3.1.6.2 -Release: 6%{?dist} +Version: 3.1.6.3 +Release: 1%{?dist} Summary: WAI application for static serving License: MIT Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -97,6 +98,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -138,6 +140,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 25 2019 Jens Petersen - 3.1.6.3-1 +- update to 3.1.6.3 + * Thu Jul 25 2019 Fedora Release Engineering - 3.1.6.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 186b545..6faf4ab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wai-app-static-3.1.6.2.tar.gz) = 20c79810096f12d3901af3474a5ef4fe2385e639f97f2de803b09902d115321e3be7544cc3741b52b75a2710a0141bc19cb611fd4e6248ec60d11b522b9cb59c +SHA512 (wai-app-static-3.1.6.3.tar.gz) = acbbb499bd357e758ba46f8d8f0afab22242e4541c3cbaa97bbb5d81d55dfd6fc7c336c36b84591718d9d910dc0a7cbdadd07434cb6a4019ca595040bd18cb79 diff --git a/wai-app-static-3.1.6.3.cabal b/wai-app-static-3.1.6.3.cabal new file mode 100644 index 0000000..63364f5 --- /dev/null +++ b/wai-app-static-3.1.6.3.cabal @@ -0,0 +1,110 @@ +name: wai-app-static +version: 3.1.6.3 +x-revision: 3 +license: MIT +license-file: LICENSE +author: Michael Snoyman +maintainer: Michael Snoyman , Greg Weber +synopsis: WAI application for static serving +description: API docs and the README are available at . +category: Web, Yesod +stability: Stable +cabal-version: >= 1.8 +build-type: Simple +homepage: http://www.yesodweb.com/book/web-application-interface +Extra-source-files: + images/folder.png + images/haskell.png + test/*.hs + test/a/b + tests.hs + README.md + ChangeLog.md + +Flag print + Description: print debug info + Default: False + +library + build-depends: base >= 4.8 && < 5 + , wai >= 3.0 && < 3.3 + , bytestring >= 0.10.4 + , http-types >= 0.7 + , transformers >= 0.2.2 + , unix-compat >= 0.2 + , directory >= 1.0.1 + , containers >= 0.2 + , time >= 1.1.4 + , old-locale >= 1.0.0.2 + , file-embed >= 0.0.3.1 + , text >= 0.7 + , cryptonite >= 0.6 + , memory >= 0.7 + , http-date + , blaze-html >= 0.5 + , blaze-markup >= 0.5.1 + , mime-types >= 0.1 && < 0.2 + , unordered-containers >= 0.2 + , template-haskell >= 2.7 + , zlib >= 0.5 + , filepath + , wai-extra >= 3.0 && < 3.1 + , optparse-applicative >= 0.7 + , warp >= 3.0.11 && < 3.4 + + exposed-modules: Network.Wai.Application.Static + WaiAppStatic.Storage.Filesystem + WaiAppStatic.Storage.Embedded + WaiAppStatic.Listing + WaiAppStatic.Types + WaiAppStatic.CmdLine + other-modules: Util + WaiAppStatic.Storage.Embedded.Runtime + WaiAppStatic.Storage.Embedded.TH + ghc-options: -Wall + extensions: CPP + + if flag(print) + cpp-options: -DPRINT + +Executable warp + Main-is: warp-static.hs + hs-source-dirs: app + Build-depends: base >= 4 && < 5 + , wai-app-static + , directory >= 1.0 + , containers >= 0.2 + , bytestring >= 0.10.4 + , text >= 0.7 + , mime-types >= 0.1 && < 0.2 + +test-suite runtests + hs-source-dirs: test + main-is: ../tests.hs + type: exitcode-stdio-1.0 + + build-depends: base >= 4 && < 5 + , hspec >= 1.3 + , unix-compat + , time + , old-locale + , http-date + , wai-app-static + , wai-extra + , wai + , http-types + , network + , bytestring + , text + , transformers + , mime-types + , zlib + , filepath + , temporary + , mockery + -- , containers + ghc-options: -Wall + +source-repository head + type: git + location: git://github.com/yesodweb/wai.git