commit cabal-rpm for openSUSE:Factory
Hello community, here is the log from the commit of package cabal-rpm for openSUSE:Factory checked in at 2015-05-26 12:36:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cabal-rpm (Old) and /work/SRC/openSUSE:Factory/.cabal-rpm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "cabal-rpm" Changes: -------- --- /work/SRC/openSUSE:Factory/cabal-rpm/cabal-rpm.changes 2015-05-11 19:48:40.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cabal-rpm.new/cabal-rpm.changes 2015-05-26 12:36:12.000000000 +0200 @@ -1,0 +2,7 @@ +Tue May 26 08:10:55 UTC 2015 - mimi.vx@gmail.com + +- update to 0.9.6 +* make "cabal list" quiet +* filter missing packages from repoquery + +------------------------------------------------------------------- Old: ---- cabal-rpm-0.9.5.1.tar.gz New: ---- cabal-rpm-0.9.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cabal-rpm.spec ++++++ --- /var/tmp/diff_new_pack.ZKlsZs/_old 2015-05-26 12:36:13.000000000 +0200 +++ /var/tmp/diff_new_pack.ZKlsZs/_new 2015-05-26 12:36:13.000000000 +0200 @@ -17,7 +17,7 @@ Name: cabal-rpm -Version: 0.9.5.1 +Version: 0.9.6 Release: 0 Summary: RPM packaging tool for Haskell Cabal-based packages License: GPL-3.0+ ++++++ cabal-rpm-0.9.5.1.tar.gz -> cabal-rpm-0.9.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cabal-rpm-0.9.5.1/ChangeLog new/cabal-rpm-0.9.6/ChangeLog --- old/cabal-rpm-0.9.5.1/ChangeLog 2015-05-01 11:09:22.000000000 +0200 +++ new/cabal-rpm-0.9.6/ChangeLog 2015-05-21 11:52:28.000000000 +0200 @@ -1,3 +1,7 @@ +* 0.9.6 (2015-05-21) +- make "cabal list" quiet +- filter missing packages from repoquery + * 0.9.5.1 (2015-05-01) - add old-locale Cabal flag to fix build on ghc-7.10 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cabal-rpm-0.9.5.1/cabal-rpm.cabal new/cabal-rpm-0.9.6/cabal-rpm.cabal --- old/cabal-rpm-0.9.5.1/cabal-rpm.cabal 2015-05-01 11:09:22.000000000 +0200 +++ new/cabal-rpm-0.9.6/cabal-rpm.cabal 2015-05-21 11:52:28.000000000 +0200 @@ -1,5 +1,5 @@ Name: cabal-rpm -Version: 0.9.5.1 +Version: 0.9.6 Synopsis: RPM packaging tool for Haskell Cabal-based packages Description: This package provides a RPM packaging tool for Haskell Cabal-based packages. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cabal-rpm-0.9.5.1/src/PackageUtils.hs new/cabal-rpm-0.9.6/src/PackageUtils.hs --- old/cabal-rpm-0.9.5.1/src/PackageUtils.hs 2015-05-01 11:09:22.000000000 +0200 +++ new/cabal-rpm-0.9.6/src/PackageUtils.hs 2015-05-21 11:52:28.000000000 +0200 @@ -219,7 +219,7 @@ latestPkg :: String -> IO String latestPkg pkg = do - contains_pkg <- lines <$> cmd "cabal" ["list", "--simple-output", pkg] + contains_pkg <- lines <$> cmd "cabal" ["list", "-v0", "--simple-output", pkg] let pkgs = filter ((== pkg) . takeWhile (not . (== ' '))) contains_pkg if null pkgs then error $ pkg ++ " hackage not found" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cabal-rpm-0.9.5.1/src/SysCmd.hs new/cabal-rpm-0.9.6/src/SysCmd.hs --- old/cabal-rpm-0.9.5.1/src/SysCmd.hs 2015-05-01 11:09:22.000000000 +0200 +++ new/cabal-rpm-0.9.6/src/SysCmd.hs 2015-05-21 11:52:28.000000000 +0200 @@ -140,7 +140,7 @@ pkgInstall pkgs hard = do pkginstaller <- packageManager putStrLn $ "Running repoquery" +-+ unwords pkgs - repopkgs <- mapM (repoquery ["--qf", "%{name}"]) pkgs + repopkgs <- filter (/= "") <$> mapM (repoquery ["--qf", "%{name}"]) pkgs let missing = pkgs \\ repopkgs if not (null missing) && hard then error $ unwords missing +-+ "not available."
participants (1)
-
root@hilbert.suse.de