From f0d05ca02878ec35c56d7b6c3757b2e26109dfe16ad3bb669b64c4518bdb50c8 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 3 Oct 2016 08:24:05 +0000 Subject: [PATCH 1/8] Accepting request 432782 from devel:languages:haskell:lts:7 version / revision update OBS-URL: https://build.opensuse.org/request/show/432782 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-path-pieces?expand=0&rev=7 --- ghc-path-pieces.spec | 15 +++------------ path-pieces.cabal | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 12 deletions(-) create mode 100644 path-pieces.cabal diff --git a/ghc-path-pieces.spec b/ghc-path-pieces.spec index 57e8782..6484388 100644 --- a/ghc-path-pieces.spec +++ b/ghc-path-pieces.spec @@ -23,13 +23,12 @@ Version: 0.2.1 Release: 0 Summary: Components of paths License: BSD-2-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 -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -38,7 +37,6 @@ BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-hspec-devel %endif -# End cabal-rpm deps %description Hackage documentation generation is not reliable. For up to date documentation, @@ -59,20 +57,14 @@ This package provides the Haskell %{pkg_name} library development files. %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 @@ -86,6 +78,5 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc ChangeLog.md README.md %changelog diff --git a/path-pieces.cabal b/path-pieces.cabal new file mode 100644 index 0000000..e1f32c9 --- /dev/null +++ b/path-pieces.cabal @@ -0,0 +1,40 @@ +name: path-pieces +version: 0.2.1 +x-revision: 1 +license: BSD3 +license-file: LICENSE +author: Michael Snoyman +maintainer: Michael Snoyman +synopsis: Components of paths. +description: Hackage documentation generation is not reliable. For up to date documentation, please see: . +category: Web, Yesod +stability: unstable +cabal-version: >= 1.8 +build-type: Simple +extra-source-files: + test/main.hs + ChangeLog.md + README.md + +library + build-depends: base >= 4.6 && < 5 + , text >= 0.5 + , time + exposed-modules: Web.PathPieces + ghc-options: -Wall + +test-suite test + type: exitcode-stdio-1.0 + main-is: main.hs + hs-source-dirs: test + ghc-options: -Wall + build-depends: HUnit + , hspec >= 1.3 + , base >= 4 && < 5 + , QuickCheck + , path-pieces + , text + +source-repository head + type: git + location: https://github.com/yesodweb/path-pieces From d4417b6de446158f21d3e65e23ed68f677c8a8a32601bd782022419f67a6898d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 5 Oct 2016 18:53:16 +0000 Subject: [PATCH 2/8] Use pristine copy of edited Cabal file from upstream. OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-path-pieces?expand=0&rev=8 --- path-pieces.cabal | 80 +++++++++++++++++++++++------------------------ 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/path-pieces.cabal b/path-pieces.cabal index e1f32c9..bc1a05c 100644 --- a/path-pieces.cabal +++ b/path-pieces.cabal @@ -1,40 +1,40 @@ -name: path-pieces -version: 0.2.1 -x-revision: 1 -license: BSD3 -license-file: LICENSE -author: Michael Snoyman -maintainer: Michael Snoyman -synopsis: Components of paths. -description: Hackage documentation generation is not reliable. For up to date documentation, please see: . -category: Web, Yesod -stability: unstable -cabal-version: >= 1.8 -build-type: Simple -extra-source-files: - test/main.hs - ChangeLog.md - README.md - -library - build-depends: base >= 4.6 && < 5 - , text >= 0.5 - , time - exposed-modules: Web.PathPieces - ghc-options: -Wall - -test-suite test - type: exitcode-stdio-1.0 - main-is: main.hs - hs-source-dirs: test - ghc-options: -Wall - build-depends: HUnit - , hspec >= 1.3 - , base >= 4 && < 5 - , QuickCheck - , path-pieces - , text - -source-repository head - type: git - location: https://github.com/yesodweb/path-pieces +name: path-pieces +version: 0.2.1 +x-revision: 1 +license: BSD3 +license-file: LICENSE +author: Michael Snoyman +maintainer: Michael Snoyman +synopsis: Components of paths. +description: Hackage documentation generation is not reliable. For up to date documentation, please see: . +category: Web, Yesod +stability: unstable +cabal-version: >= 1.8 +build-type: Simple +extra-source-files: + test/main.hs + ChangeLog.md + README.md + +library + build-depends: base >= 4.6 && < 5 + , text >= 0.5 + , time + exposed-modules: Web.PathPieces + ghc-options: -Wall + +test-suite test + type: exitcode-stdio-1.0 + main-is: main.hs + hs-source-dirs: test + ghc-options: -Wall + build-depends: HUnit + , hspec >= 1.3 + , base >= 4 && < 5 + , QuickCheck + , path-pieces + , text + +source-repository head + type: git + location: https://github.com/yesodweb/path-pieces From 8fc5f77eacd24f01df4b4a0921992538680e8251e36d4a590689d1538da2bb61 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 22 Feb 2017 18:19:03 +0000 Subject: [PATCH 3/8] synchronize with lts-8 package sett from configuration 0cb270c8d22a0823ab5130d95cc499e186cf864e OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-path-pieces?expand=0&rev=9 --- ghc-path-pieces.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-path-pieces.spec b/ghc-path-pieces.spec index 6484388..713e829 100644 --- a/ghc-path-pieces.spec +++ b/ghc-path-pieces.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-path-pieces # -# 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 From d484bd007ae6180e7481cfb41693161449612eecce5822728e1272265c82614a Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 28 Feb 2017 10:39:44 +0000 Subject: [PATCH 4/8] synchronize with lts-8 project from configuration b1f9faeb9ef431eed42de296b621d35661a39011 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-path-pieces?expand=0&rev=10 --- ghc-path-pieces.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/ghc-path-pieces.spec b/ghc-path-pieces.spec index 713e829..52ea9a5 100644 --- a/ghc-path-pieces.spec +++ b/ghc-path-pieces.spec @@ -78,5 +78,6 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %files devel -f %{name}-devel.files %defattr(-,root,root,-) +%doc ChangeLog.md README.md %changelog From 9669b04b0804f9dec990c7ea2736ebe3d9cf969711078acb36f408784048386b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 5 Aug 2017 02:13:08 +0000 Subject: [PATCH 5/8] osc copypac from project:devel:languages:haskell:lts:9 package:ghc-path-pieces revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-path-pieces?expand=0&rev=11 --- ghc-path-pieces.changes | 10 ++++++++++ ghc-path-pieces.spec | 3 --- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ghc-path-pieces.changes b/ghc-path-pieces.changes index cd2b1a2..1af0b43 100644 --- a/ghc-path-pieces.changes +++ b/ghc-path-pieces.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Sun Jul 10 17:30:57 UTC 2016 - psimons@suse.com + +- Update to version 0.2.1 revision 1 with cabal2obs. + ------------------------------------------------------------------- Wed Nov 4 08:21:30 UTC 2015 - mimi.vx@gmail.com diff --git a/ghc-path-pieces.spec b/ghc-path-pieces.spec index 52ea9a5..8c6e0c1 100644 --- a/ghc-path-pieces.spec +++ b/ghc-path-pieces.spec @@ -31,7 +31,6 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -73,11 +72,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %doc ChangeLog.md README.md %changelog From f0b90935232ee9301ad19230717155a39a2ce2c3e15b9bb7a95654714136c186 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 11 Aug 2017 09:02:23 +0000 Subject: [PATCH 6/8] osc copypac from project:devel:languages:haskell:lts:9 package:ghc-path-pieces revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-path-pieces?expand=0&rev=12 --- ghc-path-pieces.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-path-pieces.spec b/ghc-path-pieces.spec index 8c6e0c1..68a552d 100644 --- a/ghc-path-pieces.spec +++ b/ghc-path-pieces.spec @@ -23,7 +23,7 @@ Version: 0.2.1 Release: 0 Summary: Components of paths License: BSD-2-Clause -Group: Development/Languages/Other +Group: Development/Languages/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 @@ -43,7 +43,7 @@ please see: . %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} From 1051bfd5543cfac50812cd6499976f0ab5f1179149f47a987d3c6e0d57a6541c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 15 Aug 2017 14:02:47 +0000 Subject: [PATCH 7/8] osc copypac from project:devel:languages:haskell:lts:9 package:ghc-path-pieces revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-path-pieces?expand=0&rev=13 --- ghc-path-pieces.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-path-pieces.spec b/ghc-path-pieces.spec index 68a552d..d0258c0 100644 --- a/ghc-path-pieces.spec +++ b/ghc-path-pieces.spec @@ -24,7 +24,7 @@ Release: 0 Summary: Components of paths License: BSD-2-Clause Group: Development/Languages/Haskell -Url: https://hackage.haskell.org/package/%{pkg_name} +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 From 1d6f00304555b72df354927bd7a376da5b48463b40c29ec1389f9ae270ac5ba4 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 17 Aug 2017 13:57:58 +0000 Subject: [PATCH 8/8] osc copypac from project:devel:languages:haskell:lts:9 package:ghc-path-pieces revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-path-pieces?expand=0&rev=14 --- ghc-path-pieces.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-path-pieces.spec b/ghc-path-pieces.spec index d0258c0..b1b8337 100644 --- a/ghc-path-pieces.spec +++ b/ghc-path-pieces.spec @@ -23,7 +23,7 @@ Version: 0.2.1 Release: 0 Summary: Components of paths License: BSD-2-Clause -Group: Development/Languages/Haskell +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