commit ghc-MusicBrainz for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-MusicBrainz for openSUSE:Factory checked in at 2017-09-15 21:13:32 Comparing /work/SRC/openSUSE:Factory/ghc-MusicBrainz (Old) and /work/SRC/openSUSE:Factory/.ghc-MusicBrainz.new (New) Package is "ghc-MusicBrainz" Fri Sep 15 21:13:32 2017 rev:4 rq:523971 version:0.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-MusicBrainz/ghc-MusicBrainz.changes 2017-08-31 20:46:03.943019486 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-MusicBrainz.new/ghc-MusicBrainz.changes 2017-09-15 21:13:34.076638131 +0200 @@ -1,0 +2,5 @@ +Thu Aug 3 15:38:38 UTC 2017 - psim...@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +--- Other differences: -- ++ ghc-MusicBrainz.spec ++ --- /var/tmp/diff_new_pack.o4AvZv/_old 2017-09-15 21:13:34.880525185 +0200 +++ /var/tmp/diff_new_pack.o4AvZv/_new 2017-09-15 21:13:34.884524623 +0200 @@ -22,8 +22,8 @@ Release:0 Summary:Interface to MusicBrainz XML2 web service License:GPL-3.0+ -Group: Development/Languages/Other -Url:https://hackage.haskell.org/package/%{pkg_name} +Group: Development/Libraries/Haskell +URL:https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel @@ -44,14 +44,13 @@ BuildRequires: ghc-vector-devel BuildRequires: ghc-xml-conduit-devel BuildRequires: ghc-xml-types-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Interface to MusicBrainz XML2 web service. %package devel Summary:Haskell %{pkg_name} library development files -Group: Development/Libraries/Other +Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} @@ -77,11 +76,9 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %doc AUTHORS %changelog
commit ghc-MusicBrainz for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-MusicBrainz for openSUSE:Factory checked in at 2017-08-31 20:46:02 Comparing /work/SRC/openSUSE:Factory/ghc-MusicBrainz (Old) and /work/SRC/openSUSE:Factory/.ghc-MusicBrainz.new (New) Package is "ghc-MusicBrainz" Thu Aug 31 20:46:02 2017 rev:3 rq:513193 version:0.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-MusicBrainz/ghc-MusicBrainz.changes 2017-06-04 01:56:55.396830986 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-MusicBrainz.new/ghc-MusicBrainz.changes 2017-08-31 20:46:03.943019486 +0200 @@ -1,0 +2,5 @@ +Thu Jul 27 14:07:54 UTC 2017 - psim...@suse.com + +- Update to version 0.3 revision 1. + +--- Old: MusicBrainz-0.2.4.tar.gz New: MusicBrainz-0.3.tar.gz Other differences: -- ++ ghc-MusicBrainz.spec ++ --- /var/tmp/diff_new_pack.vFdcgc/_old 2017-08-31 20:46:04.922881949 +0200 +++ /var/tmp/diff_new_pack.vFdcgc/_new 2017-08-31 20:46:04.934880265 +0200 @@ -18,7 +18,7 @@ %global pkg_name MusicBrainz Name: ghc-%{pkg_name} -Version:0.2.4 +Version:0.3 Release:0 Summary:Interface to MusicBrainz XML2 web service License:GPL-3.0+ ++ MusicBrainz-0.2.4.tar.gz -> MusicBrainz-0.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MusicBrainz-0.2.4/MusicBrainz.cabal new/MusicBrainz-0.3/MusicBrainz.cabal --- old/MusicBrainz-0.2.4/MusicBrainz.cabal 2015-05-08 13:49:53.0 +0200 +++ new/MusicBrainz-0.3/MusicBrainz.cabal 2017-05-21 16:09:59.0 +0200 @@ -1,5 +1,5 @@ name:MusicBrainz -version: 0.2.4 +version: 0.3 synopsis:interface to MusicBrainz XML2 web service description: interface to MusicBrainz XML2 web service homepage:http://floss.scru.org/hMusicBrainz @@ -7,7 +7,7 @@ license-file:LICENSE author: Clint Adams maintainer: cl...@debian.org -copyright: 2012-2015 Clint Adams +copyright: 2012-2017 Clint Adams category:Network build-type: Simple cabal-version: >=1.8 @@ -32,17 +32,17 @@ , xml-types >= 0.3 , http-conduit >= 1.8.8 , http-types>= 0.6 - , xml-conduit >= 1.1 + , xml-conduit >= 1.5 , HTTP >= 4000.0 , aeson >= 0.6.1 ghc-options: -Wall source-repository head type: git - location: git://anonscm.debian.org/users/clint/MusicBrainz.git + location: https://anonscm.debian.org/git/users/clint/MusicBrainz.git branch: master source-repository this type: git - location: git://anonscm.debian.org/users/clint/MusicBrainz.git - tag: hMB/0.2.4 + location: https://anonscm.debian.org/git/users/clint/MusicBrainz.git + tag: hMB/0.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MusicBrainz-0.2.4/Network/Protocol/MusicBrainz/JSON/WebService.hs new/MusicBrainz-0.3/Network/Protocol/MusicBrainz/JSON/WebService.hs --- old/MusicBrainz-0.2.4/Network/Protocol/MusicBrainz/JSON/WebService.hs 2015-05-08 13:49:53.0 +0200 +++ new/MusicBrainz-0.3/Network/Protocol/MusicBrainz/JSON/WebService.hs 2017-05-21 16:09:59.0 +0200 @@ -9,7 +9,6 @@ import Network.Protocol.MusicBrainz.Types import Control.Monad.IO.Class (MonadIO) -import Control.Monad.Trans.Control (MonadBaseControl) import Data.Aeson (eitherDecode) import qualified Data.ByteString.Lazy as BL import Data.List (intercalate) @@ -24,8 +23,8 @@ simpleHttp url where incs [] = "" - incs xs = ("?inc="++) . intercalate "+" . map T.unpack $ xs - fj = "=json" +incs xs = ("?inc="++) . intercalate "+" . map T.unpack $ xs +fj = "=json" musicBrainzWSSearch :: MonadIO m => Text -> Text -> Maybe Int -> Maybe Int -> m BL.ByteString musicBrainzWSSearch reqtype query mlimit moffset = do @@ -33,22 +32,22 @@ simpleHttp url where limit Nothing = "" - limit (Just l) = "=" ++ show l +limit (Just l) = "=" ++ show l offset Nothing = "" - offset (Just o) = "=" ++ show o - fj = "=json" +offset (Just o) = "=" ++ show o +fj = "=json" -getRecordingById :: (MonadBaseControl IO m, MonadIO m) => MBID -> m (Either String Recording) +getRecordingById :: MonadIO m => MBID -> m (Either String Recording) getRecordingById mbid = do lbs <- musicBrainzWSLookup "recording" (unMBID mbid) ["artist-credits"] return $ eitherDecode lbs
commit ghc-MusicBrainz for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-MusicBrainz for openSUSE:Factory checked in at 2017-06-04 01:56:54 Comparing /work/SRC/openSUSE:Factory/ghc-MusicBrainz (Old) and /work/SRC/openSUSE:Factory/.ghc-MusicBrainz.new (New) Package is "ghc-MusicBrainz" Sun Jun 4 01:56:54 2017 rev:2 rq:499685 version:0.2.4 Changes: --- /work/SRC/openSUSE:Factory/ghc-MusicBrainz/ghc-MusicBrainz.changes 2017-03-24 02:04:35.388959045 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-MusicBrainz.new/ghc-MusicBrainz.changes 2017-06-04 01:56:55.396830986 +0200 @@ -1,0 +2,5 @@ +Mon May 22 08:08:52 UTC 2017 - psim...@suse.com + +- Update to version 0.2.4 revision 1 with cabal2obs. + +--- New: MusicBrainz.cabal Other differences: -- ++ ghc-MusicBrainz.spec ++ --- /var/tmp/diff_new_pack.h6o0Uv/_old 2017-06-04 01:56:55.848767138 +0200 +++ /var/tmp/diff_new_pack.h6o0Uv/_new 2017-06-04 01:56:55.848767138 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-MusicBrainz # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ Group: Development/Languages/Other Url:https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-HTTP-devel BuildRequires: ghc-aeson-devel @@ -61,6 +62,7 @@ %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++ MusicBrainz.cabal ++ name:MusicBrainz version: 0.2.4 x-revision: 1 synopsis:interface to MusicBrainz XML2 web service description: interface to MusicBrainz XML2 web service homepage:http://floss.scru.org/hMusicBrainz license: GPL-3 license-file:LICENSE author: Clint Adams maintainer: cl...@debian.org copyright: 2012-2015 Clint Adams category:Network build-type: Simple cabal-version: >=1.8 extra-source-files: AUTHORS library exposed-modules: Network.Protocol.MusicBrainz.Types , Network.Protocol.MusicBrainz.Utils , Network.Protocol.MusicBrainz.JSON.WebService , Network.Protocol.MusicBrainz.XML2.WebService build-depends: base >= 4.5 && <5 , transformers >= 0.3 , monad-control >= 0.3 , bytestring , conduit >= 1.0.0 , conduit-extra >= 1.0.0 , text , time , resourcet , time-locale-compat , vector>= 0.9 , xml-types >= 0.3 , http-conduit >= 1.8.8 , http-types>= 0.6 , xml-conduit >= 1.1 && <1.5 , HTTP >= 4000.0 , aeson >= 0.6.1 ghc-options: -Wall source-repository head type: git location: git://anonscm.debian.org/users/clint/MusicBrainz.git branch: master source-repository this type: git location: git://anonscm.debian.org/users/clint/MusicBrainz.git tag: hMB/0.2.4