packages feed

cabal-rpm 0.3.1 → 0.3.2

raw patch · 2 files changed

+18/−16 lines, 2 filesdep +directorydep +old-localedep +processdep ~Cabaldep ~time

Dependencies added: directory, old-locale, process

Dependency ranges changed: Cabal, time

Files

cabal-rpm.cabal view
@@ -1,5 +1,5 @@ Name: cabal-rpm-Version: 0.3.1+Version: 0.3.2 License: GPL License-File: COPYING Author: Bryan O'Sullivan <bos@serpentine.com>@@ -9,18 +9,25 @@ Stability: Experimental Category: Distribution Build-type: Simple-Build-depends: base, Cabal >= 1.2.0, filepath, time >= 1.1, unix Synopsis: RPM package builder for Haskell Cabal source packages. Description:   This package turns Haskell Cabal source packages into source and   binary RPM packages.+Cabal-version: >= 1.2 -Executable: cabal-rpm-Main-Is: CabalRpm.hs-Other-Modules:-    Distribution.Package.Rpm,-    Distribution.Package.Rpm.Main,-    Distribution.Package.Rpm.Setup-Hs-Source-Dirs: src-Extensions: CPP-GHC-options: -fwarn-missing-signatures+Flag splitBase+  Description:     Choose the new, split-up base package.++Executable cabal-rpm+  if flag(splitBase)+    Build-depends: base, Cabal, directory, filepath, old-locale, process, time, unix+  else+    Build-depends: base, Cabal, filepath, time >= 1.1, unix+  Main-Is: CabalRpm.hs+  Other-Modules:+      Distribution.Package.Rpm,+      Distribution.Package.Rpm.Main,+      Distribution.Package.Rpm.Setup+  Hs-Source-Dirs: src+  Extensions: CPP+  GHC-options: -fwarn-missing-signatures
src/Distribution/Package/Rpm.hs view
@@ -162,14 +162,9 @@                -> IO (FilePath, [FilePath])  createSpecFile force pkgDesc flags tgtPfx = do-#if __GLASGOW_HASKELL__ < 607     (compiler, _) <- configCompiler (rpmCompiler flags) Nothing Nothing                      defaultProgramConfiguration                      (rpmVerbosity flags)-#else-    compiler <- configCompiler (rpmCompiler flags) Nothing Nothing-                (rpmVerbosity flags)-#endif     now <- getCurrentTime     defRelease <- defaultRelease now     let pkg = package pkgDesc