From 81f8a6a88a03356949b1aadd6b4e9b51142bb5b6e8a7ebd18029f91d05653142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Tue, 22 Jun 2021 15:19:21 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-generic-monoid revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-monoid?expand=0&rev=3 --- generic-monoid.cabal | 20 ++++++++++++++++++++ ghc-generic-monoid.changes | 6 ++++++ ghc-generic-monoid.spec | 2 ++ 3 files changed, 28 insertions(+) create mode 100644 generic-monoid.cabal diff --git a/generic-monoid.cabal b/generic-monoid.cabal new file mode 100644 index 0000000..72b93aa --- /dev/null +++ b/generic-monoid.cabal @@ -0,0 +1,20 @@ +name: generic-monoid +version: 0.1.0.1 +x-revision: 1 +synopsis: Derive monoid instances for product types. +description: Using GHC's generics, allow for deriving `Monoid` and `Semigroup` instances for your product types. +license: BSD3 +license-file: LICENSE +author: Luke Clifton +maintainer: lukec@themk.net +copyright: 2018 Luke Clifton +category: Data +build-type: Simple +extra-source-files: ChangeLog.md +cabal-version: >=1.10 + +library + exposed-modules: Data.Semigroup.Generic, Data.Monoid.Generic + build-depends: base >=4.11 && <4.17 + hs-source-dirs: src + default-language: Haskell2010 diff --git a/ghc-generic-monoid.changes b/ghc-generic-monoid.changes index d7a2ddb..b637664 100644 --- a/ghc-generic-monoid.changes +++ b/ghc-generic-monoid.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jun 19 17:44:55 UTC 2021 - psimons@suse.com + +- Update generic-monoid to version 0.1.0.1 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + ------------------------------------------------------------------- Mon Apr 26 09:49:07 UTC 2021 - psimons@suse.com diff --git a/ghc-generic-monoid.spec b/ghc-generic-monoid.spec index 5019f65..fdfb858 100644 --- a/ghc-generic-monoid.spec +++ b/ghc-generic-monoid.spec @@ -24,6 +24,7 @@ Summary: Derive monoid instances for product types License: BSD-3-Clause 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 ExcludeArch: %{ix86} @@ -44,6 +45,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build