From 02c18438bbed174a2c6efe0e41677b4cc602014e6bade763e14d832cbc434528 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 6 Oct 2016 18:05:32 +0000 Subject: [PATCH 1/6] Synchronize builds with devel:languages:haskell:lts:7. OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-file-embed?expand=0&rev=11 --- ghc-file-embed.spec | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/ghc-file-embed.spec b/ghc-file-embed.spec index 1a3880a..7fc34c3 100644 --- a/ghc-file-embed.spec +++ b/ghc-file-embed.spec @@ -23,18 +23,16 @@ Version: 0.0.10 Release: 0 Summary: Use Template Haskell to embed file contents directly 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 BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-template-haskell-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build -# End cabal-rpm deps %description Use Template Haskell to read a file or all the files in a directory, and turn @@ -54,20 +52,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 df92a0b33349de37c6fef44bf2b5f413fe8657ef860975145f99273822b6f9eb Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 22 Feb 2017 17:47:54 +0000 Subject: [PATCH 2/6] synchronize with lts-8 package sett from configuration 0cb270c8d22a0823ab5130d95cc499e186cf864e OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-file-embed?expand=0&rev=12 --- ghc-file-embed.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-file-embed.spec b/ghc-file-embed.spec index 7fc34c3..5712374 100644 --- a/ghc-file-embed.spec +++ b/ghc-file-embed.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-file-embed # -# 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 9ce24308885ec6c90f3a838f8547811823b86276b02fa62069d874e97ab49ba0 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 5 Aug 2017 02:07:29 +0000 Subject: [PATCH 3/6] osc copypac from project:devel:languages:haskell:lts:9 package:ghc-file-embed revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-file-embed?expand=0&rev=13 --- ghc-file-embed.changes | 5 +++++ ghc-file-embed.spec | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ghc-file-embed.changes b/ghc-file-embed.changes index d38f1fa..99a93c4 100644 --- a/ghc-file-embed.changes +++ b/ghc-file-embed.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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:15:55 UTC 2016 - psimons@suse.com diff --git a/ghc-file-embed.spec b/ghc-file-embed.spec index 5712374..6dfbcbd 100644 --- a/ghc-file-embed.spec +++ b/ghc-file-embed.spec @@ -32,7 +32,6 @@ BuildRequires: ghc-directory-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-template-haskell-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Use Template Haskell to read a file or all the files in a directory, and turn @@ -68,11 +67,9 @@ This package provides the Haskell %{pkg_name} library development files. %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 38d3231c36f8d75d0dd9ecb89744174d38c6f46bf001ba0314a40971a6b24985 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 11 Aug 2017 08:54:34 +0000 Subject: [PATCH 4/6] osc copypac from project:devel:languages:haskell:lts:9 package:ghc-file-embed revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-file-embed?expand=0&rev=14 --- ghc-file-embed.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-file-embed.spec b/ghc-file-embed.spec index 6dfbcbd..8adcf2d 100644 --- a/ghc-file-embed.spec +++ b/ghc-file-embed.spec @@ -23,7 +23,7 @@ Version: 0.0.10 Release: 0 Summary: Use Template Haskell to embed file contents directly 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 BuildRequires: ghc-Cabal-devel @@ -39,7 +39,7 @@ them into (path, bytestring) pairs embedded in your haskell code. %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 7f20c943e989a88da4c8b8b1d51cb4d416075bf98662c145838ed7b1a13dc0a3 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 15 Aug 2017 13:56:33 +0000 Subject: [PATCH 5/6] osc copypac from project:devel:languages:haskell:lts:9 package:ghc-file-embed revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-file-embed?expand=0&rev=15 --- ghc-file-embed.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-file-embed.spec b/ghc-file-embed.spec index 8adcf2d..f743bdb 100644 --- a/ghc-file-embed.spec +++ b/ghc-file-embed.spec @@ -24,7 +24,7 @@ Release: 0 Summary: Use Template Haskell to embed file contents directly 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 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel From d6be39b6306a0bca9e5f056da899bc8c883663d4d186b29d0a451a53ff644e85 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 17 Aug 2017 13:34:58 +0000 Subject: [PATCH 6/6] osc copypac from project:devel:languages:haskell:lts:9 package:ghc-file-embed revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-file-embed?expand=0&rev=16 --- ghc-file-embed.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-file-embed.spec b/ghc-file-embed.spec index f743bdb..1c631ae 100644 --- a/ghc-file-embed.spec +++ b/ghc-file-embed.spec @@ -23,7 +23,7 @@ Version: 0.0.10 Release: 0 Summary: Use Template Haskell to embed file contents directly 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 BuildRequires: ghc-Cabal-devel