commit resolve-trivial-conflicts for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package resolve-trivial-conflicts for 
openSUSE:Factory checked in at 2017-09-15 22:30:03

Comparing /work/SRC/openSUSE:Factory/resolve-trivial-conflicts (Old)
 and  /work/SRC/openSUSE:Factory/.resolve-trivial-conflicts.new (New)


Package is "resolve-trivial-conflicts"

Fri Sep 15 22:30:03 2017 rev:3 rq:525798 version:0.3.2.4

Changes:

--- 
/work/SRC/openSUSE:Factory/resolve-trivial-conflicts/resolve-trivial-conflicts.changes
  2017-03-24 02:19:47.671855475 +0100
+++ 
/work/SRC/openSUSE:Factory/.resolve-trivial-conflicts.new/resolve-trivial-conflicts.changes
 2017-09-15 22:30:04.889859908 +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:
--
++ resolve-trivial-conflicts.spec ++
--- /var/tmp/diff_new_pack.8azG5r/_old  2017-09-15 22:30:05.997703848 +0200
+++ /var/tmp/diff_new_pack.8azG5r/_new  2017-09-15 22:30:06.013701594 +0200
@@ -21,8 +21,8 @@
 Release:0
 Summary:Remove trivial conflict markers in a git repository
 License:GPL-2.0+
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{name}
+Group:  Development/Libraries/Haskell
+URL:https://hackage.haskell.org/package/%{name}
 Source0:
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-Diff-devel
@@ -35,7 +35,6 @@
 BuildRequires:  ghc-process-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-unix-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Remove trivial conflict markers in a git repository.
@@ -50,7 +49,6 @@
 %ghc_bin_install
 
 %files
-%defattr(-,root,root,-)
 %doc LICENSE
 %{_bindir}/%{name}
 




commit resolve-trivial-conflicts for openSUSE:Factory

2017-03-23 Thread root
Hello community,

here is the log from the commit of package resolve-trivial-conflicts for 
openSUSE:Factory checked in at 2017-03-24 02:19:46

Comparing /work/SRC/openSUSE:Factory/resolve-trivial-conflicts (Old)
 and  /work/SRC/openSUSE:Factory/.resolve-trivial-conflicts.new (New)


Package is "resolve-trivial-conflicts"

Fri Mar 24 02:19:46 2017 rev:2 rq:479417 version:0.3.2.4

Changes:

--- 
/work/SRC/openSUSE:Factory/resolve-trivial-conflicts/resolve-trivial-conflicts.changes
  2017-03-08 01:03:24.292422529 +0100
+++ 
/work/SRC/openSUSE:Factory/.resolve-trivial-conflicts.new/resolve-trivial-conflicts.changes
 2017-03-24 02:19:47.671855475 +0100
@@ -1,0 +2,10 @@
+Sun Jan  8 21:14:14 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.2.4 with cabal2obs.
+
+---
+Sun Oct 30 16:30:34 UTC 2016 - psim...@suse.com
+
+- Update to version 0.3.2.3 with cabal2obs.
+
+---

Old:

  resolve-trivial-conflicts-0.3.2.2.tar.gz

New:

  resolve-trivial-conflicts-0.3.2.4.tar.gz



Other differences:
--
++ resolve-trivial-conflicts.spec ++
--- /var/tmp/diff_new_pack.l8syqW/_old  2017-03-24 02:19:48.231776251 +0100
+++ /var/tmp/diff_new_pack.l8syqW/_new  2017-03-24 02:19:48.235775685 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package resolve-trivial-conflicts
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:   resolve-trivial-conflicts
-Version:0.3.2.2
+Version:0.3.2.4
 Release:0
 Summary:Remove trivial conflict markers in a git repository
 License:GPL-2.0+

++ resolve-trivial-conflicts-0.3.2.2.tar.gz -> 
resolve-trivial-conflicts-0.3.2.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/resolve-trivial-conflicts-0.3.2.2/resolve-trivial-conflicts.cabal 
new/resolve-trivial-conflicts-0.3.2.4/resolve-trivial-conflicts.cabal
--- old/resolve-trivial-conflicts-0.3.2.2/resolve-trivial-conflicts.cabal   
2016-01-16 12:54:35.0 +0100
+++ new/resolve-trivial-conflicts-0.3.2.4/resolve-trivial-conflicts.cabal   
2016-12-20 19:06:44.0 +0100
@@ -2,7 +2,7 @@
 -- further documentation, see http://haskell.org/cabal/users-guide/
 
 name:resolve-trivial-conflicts
-version: 0.3.2.2
+version: 0.3.2.4
 synopsis:Remove trivial conflict markers in a git repository
 description: Remove trivial conflict markers in a git repository
 homepage:https://github.com/ElastiLotem/resolve-trivial-conflicts
@@ -22,8 +22,6 @@
 
 executable resolve-trivial-conflicts
   main-is: resolve_trivial_conflicts.hs
-  ghc-options: -rtsopts -Wall
-  ghc-prof-options:-rtsopts -Wall -auto-all -caf-all
   other-modules:   PPDiff, Opts
   -- other-extensions:
   build-depends:   base >=4.6 && <5
@@ -35,6 +33,6 @@
  , unix >=2.7
  , Diff >=0.3
  , ansi-terminal >=0.6.2
- , optparse-applicative >=0.11 && <0.13
+ , optparse-applicative >=0.11 && <0.14
   -- hs-source-dirs:
   default-language:Haskell2010
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/resolve-trivial-conflicts-0.3.2.2/resolve_trivial_conflicts.hs 
new/resolve-trivial-conflicts-0.3.2.4/resolve_trivial_conflicts.hs
--- old/resolve-trivial-conflicts-0.3.2.2/resolve_trivial_conflicts.hs  
2016-01-16 12:54:35.0 +0100
+++ new/resolve-trivial-conflicts-0.3.2.4/resolve_trivial_conflicts.hs  
2016-12-20 19:06:44.0 +0100
@@ -40,21 +40,53 @@
 , cLinesB :: [String]
 } deriving (Show)
 
-prettyConflict :: Conflict -> String
-prettyConflict Conflict {..} =
-unlines $ concat
+prettyConflictLines :: Conflict -> [String]
+prettyConflictLines Conflict {..} =
+concat
 [ snd cMarkerA: cLinesA
 , snd cMarkerBase : cLinesBase
 , snd cMarkerB: cLinesB
 , [snd cMarkerEnd]
 ]
 
-resolveConflict :: Conflict -> Maybe String
-resolveConflict Conflict{..}
-| cLinesA == cLinesBase = Just $ unlines cLinesB
-| cLinesB == cLinesBase = Just $ unlines cLinesA
-| cLinesA == cLinesB = Just $ unlines cLinesA
-| otherwise = Nothing
+prettyConflict :: Conflict -> String
+prettyConflict = unlines . prettyConflictLines
+
+lengthOfCommonPrefix :: Eq a => [a]