From 576bf56a8bc178b94e5dc2a74358f15f315c8ccc8a1cad619dd84132882e07b3 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 6 Oct 2016 18:49:18 +0000 Subject: [PATCH 1/4] Synchronize builds with devel:languages:haskell:lts:7. OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-split?expand=0&rev=22 --- ghc-split.spec | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/ghc-split.spec b/ghc-split.spec index aae895b..45619fb 100644 --- a/ghc-split.spec +++ b/ghc-split.spec @@ -23,17 +23,15 @@ Version: 0.2.3.1 Release: 0 Summary: Combinator library for splitting lists License: BSD-3-Clause -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 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build -# Begin cabal-rpm deps: %if %{with tests} BuildRequires: ghc-QuickCheck-devel %endif -# End cabal-rpm deps %description A collection of various methods for splitting lists into parts, akin to the @@ -67,20 +65,14 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post devel %ghc_pkg_recache From 070b395122eef0f4bb34c13b15189d345c6442d7d34397ba173fdb601234763a Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 22 Feb 2017 19:12:30 +0000 Subject: [PATCH 2/4] synchronize with lts-8 package sett from configuration 0cb270c8d22a0823ab5130d95cc499e186cf864e OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-split?expand=0&rev=23 --- ghc-split.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-split.spec b/ghc-split.spec index 45619fb..e38055c 100644 --- a/ghc-split.spec +++ b/ghc-split.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-split # -# 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 @@ -86,6 +86,6 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc README +%doc CHANGES README %changelog From 23aee2f99c82c6bdd18d277056d378818c5a818f67c51fd53e11fc9ddad86e39 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 3 May 2017 11:43:14 +0000 Subject: [PATCH 3/4] synchronize wit lts:8 from configuration bbbfb86d6e54c22066d348f5bc28d4fd96e6bfd6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-split?expand=0&rev=24 --- ghc-split.changes | 5 ++++ ghc-split.spec | 2 ++ split.cabal | 58 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 split.cabal diff --git a/ghc-split.changes b/ghc-split.changes index 2a26565..81c4674 100644 --- a/ghc-split.changes +++ b/ghc-split.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Apr 29 18:32:33 UTC 2017 - psimons@suse.com + +- Update to version 0.2.3.1 revision 1 with cabal2obs. + ------------------------------------------------------------------- Sun Jul 10 17:13:12 UTC 2016 - psimons@suse.com diff --git a/ghc-split.spec b/ghc-split.spec index e38055c..4b1bef5 100644 --- a/ghc-split.spec +++ b/ghc-split.spec @@ -26,6 +26,7 @@ License: BSD-3-Clause 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-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -64,6 +65,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/split.cabal b/split.cabal new file mode 100644 index 0000000..7bf7275 --- /dev/null +++ b/split.cabal @@ -0,0 +1,58 @@ +Name: split +Version: 0.2.3.1 +x-revision: 1 +Stability: stable + +Description: A collection of various methods for splitting + lists into parts, akin to the \"split\" function + found in several mainstream languages. Here is + its tale: + . + Once upon a time the standard "Data.List" module + held no function for splitting a list into parts + according to a delimiter. Many a brave + lambda-knight strove to add such a function, but + their striving was in vain, for Lo, the Supreme + Council fell to bickering amongst themselves what + was to be the essential nature of the One True + Function which could cleave a list in twain (or + thrain, or any required number of parts). + . + And thus came to pass the split package, + comprising divers functions for splitting a list + asunder, each according to its nature. And the + Supreme Council had no longer any grounds for + argument, for the favored method of each was + contained therein. + . + To get started, see the "Data.List.Split" module. +Synopsis: Combinator library for splitting lists. +License: BSD3 +License-file: LICENSE +Copyright: (c) Brent Yorgey, Louis Wasserman 2008-2012 +Extra-source-files: README, test/Properties.hs, CHANGES +Author: Brent Yorgey +Maintainer: byorgey@gmail.com +Category: List +Build-type: Simple +Cabal-Version: >= 1.10 +Tested-with: GHC ==7.0.4, GHC ==7.2.1, GHC ==7.4.*, GHC ==7.6.1, GHC ==7.8.3, GHC==7.10.3, GHC==8.0.1 +Bug-reports: http://hub.darcs.net/byorgey/split/issues + +Test-suite split-tests + type: exitcode-stdio-1.0 + main-is: Properties.hs + build-depends: base, QuickCheck >= 2.4, split + default-language: Haskell2010 + Hs-source-dirs: test + +Source-repository head + type: darcs + location: http://hub.darcs.net/byorgey/split + +Library + ghc-options: -Wall + build-depends: base <4.11 + exposed-modules: Data.List.Split, Data.List.Split.Internals + default-language: Haskell2010 + Hs-source-dirs: src From c7d8cdf4b7c10ce562f79810fe732ee59c1ee2d524086af0f90645ce30d9dfaa Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 23 May 2017 11:41:12 +0000 Subject: [PATCH 4/4] synchronize with lts:8 at 27d82acd4aecec9d6ec7f65048ad62d72911ed17 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-split?expand=0&rev=25 --- ghc-split.changes | 5 ++++ ghc-split.spec | 4 +-- split-0.2.3.1.tar.gz | 3 --- split-0.2.3.2.tar.gz | 3 +++ split.cabal | 58 -------------------------------------------- 5 files changed, 9 insertions(+), 64 deletions(-) delete mode 100644 split-0.2.3.1.tar.gz create mode 100644 split-0.2.3.2.tar.gz delete mode 100644 split.cabal diff --git a/ghc-split.changes b/ghc-split.changes index 81c4674..762f017 100644 --- a/ghc-split.changes +++ b/ghc-split.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 18 09:52:28 UTC 2017 - psimons@suse.com + +- Update to version 0.2.3.2 with cabal2obs. + ------------------------------------------------------------------- Sat Apr 29 18:32:33 UTC 2017 - psimons@suse.com diff --git a/ghc-split.spec b/ghc-split.spec index 4b1bef5..3e1af9a 100644 --- a/ghc-split.spec +++ b/ghc-split.spec @@ -19,14 +19,13 @@ %global pkg_name split %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.2.3.1 +Version: 0.2.3.2 Release: 0 Summary: Combinator library for splitting lists License: BSD-3-Clause 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-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -65,7 +64,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/split-0.2.3.1.tar.gz b/split-0.2.3.1.tar.gz deleted file mode 100644 index fbfef99..0000000 --- a/split-0.2.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7615b60adee20c19ddafd9d74456e8fe8e4274e2c676a5e858511b664205c688 -size 15623 diff --git a/split-0.2.3.2.tar.gz b/split-0.2.3.2.tar.gz new file mode 100644 index 0000000..19c8fc5 --- /dev/null +++ b/split-0.2.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4943eaad0dd473d44b4b97b8b9731c20f05ba86abb8a1fa07f8df819f09eb63a +size 15779 diff --git a/split.cabal b/split.cabal deleted file mode 100644 index 7bf7275..0000000 --- a/split.cabal +++ /dev/null @@ -1,58 +0,0 @@ -Name: split -Version: 0.2.3.1 -x-revision: 1 -Stability: stable - -Description: A collection of various methods for splitting - lists into parts, akin to the \"split\" function - found in several mainstream languages. Here is - its tale: - . - Once upon a time the standard "Data.List" module - held no function for splitting a list into parts - according to a delimiter. Many a brave - lambda-knight strove to add such a function, but - their striving was in vain, for Lo, the Supreme - Council fell to bickering amongst themselves what - was to be the essential nature of the One True - Function which could cleave a list in twain (or - thrain, or any required number of parts). - . - And thus came to pass the split package, - comprising divers functions for splitting a list - asunder, each according to its nature. And the - Supreme Council had no longer any grounds for - argument, for the favored method of each was - contained therein. - . - To get started, see the "Data.List.Split" module. -Synopsis: Combinator library for splitting lists. -License: BSD3 -License-file: LICENSE -Copyright: (c) Brent Yorgey, Louis Wasserman 2008-2012 -Extra-source-files: README, test/Properties.hs, CHANGES -Author: Brent Yorgey -Maintainer: byorgey@gmail.com -Category: List -Build-type: Simple -Cabal-Version: >= 1.10 -Tested-with: GHC ==7.0.4, GHC ==7.2.1, GHC ==7.4.*, GHC ==7.6.1, GHC ==7.8.3, GHC==7.10.3, GHC==8.0.1 -Bug-reports: http://hub.darcs.net/byorgey/split/issues - -Test-suite split-tests - type: exitcode-stdio-1.0 - main-is: Properties.hs - build-depends: base, QuickCheck >= 2.4, split - default-language: Haskell2010 - Hs-source-dirs: test - -Source-repository head - type: darcs - location: http://hub.darcs.net/byorgey/split - -Library - ghc-options: -Wall - build-depends: base <4.11 - exposed-modules: Data.List.Split, Data.List.Split.Internals - default-language: Haskell2010 - Hs-source-dirs: src