commit ghc-twitter-feed for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-twitter-feed for 
openSUSE:Factory checked in at 2017-09-15 22:20:28

Comparing /work/SRC/openSUSE:Factory/ghc-twitter-feed (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-twitter-feed.new (New)


Package is "ghc-twitter-feed"

Fri Sep 15 22:20:28 2017 rev:5 rq:525573 version:0.2.0.11

Changes:

--- /work/SRC/openSUSE:Factory/ghc-twitter-feed/ghc-twitter-feed.changes
2017-05-10 20:49:56.727690767 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-twitter-feed.new/ghc-twitter-feed.changes   
2017-09-15 22:20:29.430927161 +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-twitter-feed.spec ++
--- /var/tmp/diff_new_pack.pa6LmU/_old  2017-09-15 22:20:30.286806606 +0200
+++ /var/tmp/diff_new_pack.pa6LmU/_new  2017-09-15 22:20:30.290806042 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:Client for fetching Twitter timeline via Oauth
 License:MIT
-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/3.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
@@ -33,7 +33,6 @@
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-http-conduit-devel
 BuildRequires:  ghc-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-containers-devel
@@ -47,7 +46,7 @@
 
 %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}
@@ -76,10 +75,8 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 
 %changelog




commit ghc-twitter-feed for openSUSE:Factory

2017-05-10 Thread root
Hello community,

here is the log from the commit of package ghc-twitter-feed for 
openSUSE:Factory checked in at 2017-05-10 20:49:55

Comparing /work/SRC/openSUSE:Factory/ghc-twitter-feed (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-twitter-feed.new (New)


Package is "ghc-twitter-feed"

Wed May 10 20:49:55 2017 rev:4 rq:491518 version:0.2.0.11

Changes:

--- /work/SRC/openSUSE:Factory/ghc-twitter-feed/ghc-twitter-feed.changes
2017-04-14 13:38:58.648737227 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-twitter-feed.new/ghc-twitter-feed.changes   
2017-05-10 20:49:56.727690767 +0200
@@ -1,0 +2,5 @@
+Wed Apr 19 13:32:19 UTC 2017 - psim...@suse.com
+
+- Update to version 0.2.0.11 revision 3 with cabal2obs.
+
+---



Other differences:
--
++ ghc-twitter-feed.spec ++
--- /var/tmp/diff_new_pack.Utw3ba/_old  2017-05-10 20:49:57.535576767 +0200
+++ /var/tmp/diff_new_pack.Utw3ba/_new  2017-05-10 20:49:57.539576203 +0200
@@ -26,7 +26,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/2.cabal#/%{pkg_name}.cabal
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-authenticate-oauth-devel

++ twitter-feed.cabal ++
--- /var/tmp/diff_new_pack.Utw3ba/_old  2017-05-10 20:49:57.627563787 +0200
+++ /var/tmp/diff_new_pack.Utw3ba/_new  2017-05-10 20:49:57.631563223 +0200
@@ -1,6 +1,6 @@
 name:twitter-feed
 version: 0.2.0.11
-x-revision: 2
+x-revision: 3
 synopsis:Client for fetching Twitter timeline via Oauth
 description: Fetches a user timeline from Twitter, and optionally 
linkifies the results using the Twitter entity API.
 homepage:https://github.com/stackbuilders/twitter-feed
@@ -24,7 +24,7 @@
 
   build-depends:
 base   >= 4.6   && < 4.10,
-aeson  >= 0.8   && < 1.2,
+aeson  >= 0.8   && < 1.3,
 authenticate-oauth >= 1.5   && < 1.7,
 http-conduit   >= 2.1.4 && < 2.3,
 bytestring >= 0.10  && < 0.11




commit ghc-twitter-feed for openSUSE:Factory

2017-04-14 Thread root
Hello community,

here is the log from the commit of package ghc-twitter-feed for 
openSUSE:Factory checked in at 2017-04-14 13:38:57

Comparing /work/SRC/openSUSE:Factory/ghc-twitter-feed (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-twitter-feed.new (New)


Package is "ghc-twitter-feed"

Fri Apr 14 13:38:57 2017 rev:3 rq:485168 version:0.2.0.11

Changes:

--- /work/SRC/openSUSE:Factory/ghc-twitter-feed/ghc-twitter-feed.changes
2017-02-03 17:40:20.362296068 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-twitter-feed.new/ghc-twitter-feed.changes   
2017-04-14 13:38:58.648737227 +0200
@@ -1,0 +2,5 @@
+Tue Mar 28 09:02:32 UTC 2017 - psim...@suse.com
+
+- Update to version 0.2.0.11 revision 2 with cabal2obs.
+
+---



Other differences:
--
++ ghc-twitter-feed.spec ++
--- /var/tmp/diff_new_pack.uLu9tV/_old  2017-04-14 13:38:59.400630962 +0200
+++ /var/tmp/diff_new_pack.uLu9tV/_new  2017-04-14 13:38:59.400630962 +0200
@@ -26,7 +26,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
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-authenticate-oauth-devel

++ twitter-feed.cabal ++
--- /var/tmp/diff_new_pack.uLu9tV/_old  2017-04-14 13:38:59.436625875 +0200
+++ /var/tmp/diff_new_pack.uLu9tV/_new  2017-04-14 13:38:59.440625309 +0200
@@ -1,6 +1,6 @@
 name:twitter-feed
 version: 0.2.0.11
-x-revision: 1
+x-revision: 2
 synopsis:Client for fetching Twitter timeline via Oauth
 description: Fetches a user timeline from Twitter, and optionally 
linkifies the results using the Twitter entity API.
 homepage:https://github.com/stackbuilders/twitter-feed
@@ -40,7 +40,7 @@
 base,
 twitter-feed,
 containers   >= 0.5 && < 0.6,
-HUnit>= 1.2 && < 1.6,
+HUnit>= 1.2 && < 1.7,
 test-framework   >= 0.8 && < 0.9,
 test-framework-hunit >= 0.3 && < 0.4
 




commit ghc-twitter-feed for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package ghc-twitter-feed for 
openSUSE:Factory checked in at 2017-01-31 12:39:54

Comparing /work/SRC/openSUSE:Factory/ghc-twitter-feed (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-twitter-feed.new (New)


Package is "ghc-twitter-feed"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-twitter-feed/ghc-twitter-feed.changes
2017-01-18 21:35:46.735735801 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-twitter-feed.new/ghc-twitter-feed.changes   
2017-02-03 17:40:20.362296068 +0100
@@ -1,0 +2,25 @@
+Wed Jan  4 21:24:54 UTC 2017 - psim...@suse.com
+
+- Update to version 0.2.0.11 revision 1 with cabal2obs.
+
+---
+Thu Oct 27 15:55:39 UTC 2016 - psim...@suse.com
+
+- Update to version 0.2.0.11 with cabal2obs.
+
+---
+Mon Oct 17 15:37:28 UTC 2016 - psim...@suse.com
+
+- Update to version 0.2.0.10 with cabal2obs.
+
+---
+Thu Sep 15 06:51:59 UTC 2016 - psim...@suse.com
+
+- Update to version 0.2.0.9 revision 0 with cabal2obs.
+
+---
+Wed Aug 17 18:27:52 UTC 2016 - psim...@suse.com
+
+- Update to version 0.2.0.8 revision 0 with cabal2obs.
+
+---

Old:

  twitter-feed-0.2.0.7.tar.gz

New:

  twitter-feed-0.2.0.11.tar.gz
  twitter-feed.cabal



Other differences:
--
++ ghc-twitter-feed.spec ++
--- /var/tmp/diff_new_pack.gfhNnf/_old  2017-02-03 17:40:20.750241158 +0100
+++ /var/tmp/diff_new_pack.gfhNnf/_new  2017-02-03 17:40:20.754240592 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-twitter-feed
 #
-# 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
@@ -19,15 +19,15 @@
 %global pkg_name twitter-feed
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.0.7
+Version:0.2.0.11
 Release:0
 Summary:Client for fetching Twitter timeline via Oauth
 License:MIT
-Group:  System/Libraries
+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
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-authenticate-oauth-devel
 BuildRequires:  ghc-bytestring-devel
@@ -40,7 +40,6 @@
 BuildRequires:  ghc-test-framework-devel
 BuildRequires:  ghc-test-framework-hunit-devel
 %endif
-# End cabal-rpm deps
 
 %description
 Fetches a user timeline from Twitter, and optionally linkifies the results
@@ -59,21 +58,16 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++ twitter-feed-0.2.0.7.tar.gz -> twitter-feed-0.2.0.11.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/twitter-feed-0.2.0.7/src/Web/Twitter/Feed.hs 
new/twitter-feed-0.2.0.11/src/Web/Twitter/Feed.hs
--- old/twitter-feed-0.2.0.7/src/Web/Twitter/Feed.hs2016-06-08 
00:29:14.0 +0200
+++ new/twitter-feed-0.2.0.11/src/Web/Twitter/Feed.hs   2016-10-10 
20:56:21.0 +0200
@@ -1,4 +1,4 @@
-{-# LANGUAGE OverloadedStrings, DeriveGeneric #-}
+{-# LANGUAGE OverloadedStrings, CPP #-}
 
 -
 -- |
@@ -20,6 +20,7 @@
 import qualified Data.ByteString.Lazy as BS
 
 import Network.HTTP.Conduit
+import Network.HTTP.Client.Conduit (defaultManagerSettings)
 import Web.Authenticate.OAuth
 import Data.Aeson
 import Data.List (elemIndices, sort)
@@ -43,13 +44,17 @@
   Right ts -> Right $ map (simplifyTweet . linkifyTweet) ts
 
 createRequest :: String -> Int -> Bool -> IO Request
-createRequest username count excludeReplies = parseUrl $ timelineUrl username 
count excludeReplies
+createRequest username count excludeReplies = parseUrlThrow $ timelineUrl 
username count excludeReplies
+#if (!MIN_VERSION_http_conduit(2,1,11))
+  where
+parseUrlThrow = parseUrl
+#endif
 
 getResponse :: OAuth -> Credential -> Request -> IO