From db6b58cc2e3c95654619743b7c08f09bd17c82a948a68e2db806cf6f8c35d392 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 3 Oct 2016 08:23:49 +0000 Subject: [PATCH] Accepting request 432778 from devel:languages:haskell:lts:7 version / revision update OBS-URL: https://build.opensuse.org/request/show/432778 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-old-locale?expand=0&rev=5 --- ghc-old-locale.changes | 5 --- ghc-old-locale.spec | 8 ++--- 1.cabal => old-locale.cabal | 72 ++++++++++++++++++------------------- 3 files changed, 38 insertions(+), 47 deletions(-) rename 1.cabal => old-locale.cabal (96%) diff --git a/ghc-old-locale.changes b/ghc-old-locale.changes index de56d72..41a7c86 100644 --- a/ghc-old-locale.changes +++ b/ghc-old-locale.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Sun Jul 10 17:31:20 UTC 2016 - psimons@suse.com - -- Update to version 1.0.0.7 revision 1 with cabal2obs. - ------------------------------------------------------------------- Thu May 14 07:34:16 UTC 2015 - mimi.vx@gmail.com diff --git a/ghc-old-locale.spec b/ghc-old-locale.spec index 03863e6..cd3406f 100644 --- a/ghc-old-locale.spec +++ b/ghc-old-locale.spec @@ -22,10 +22,10 @@ Version: 1.0.0.7 Release: 0 Summary: Locale library 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 -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 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -49,15 +49,12 @@ 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 - %post devel %ghc_pkg_recache @@ -70,6 +67,5 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc changelog.md %changelog diff --git a/1.cabal b/old-locale.cabal similarity index 96% rename from 1.cabal rename to old-locale.cabal index 5f0b7c9..3eadf6f 100644 --- a/1.cabal +++ b/old-locale.cabal @@ -1,36 +1,36 @@ -name: old-locale -version: 1.0.0.7 -x-revision: 1 --- NOTE: Don't forget to update ./changelog.md -license: BSD3 -license-file: LICENSE -maintainer: libraries@haskell.org -bug-reports: https://github.com/haskell/old-locale/issues -synopsis: locale library -category: System -build-type: Simple -Cabal-Version:>=1.10 -tested-with: GHC==7.8.3, GHC==7.8.2, GHC==7.8.1, GHC==7.6.3, GHC==7.6.2, GHC==7.6.1, GHC==7.4.2, GHC==7.4.1, GHC==7.2.2, GHC==7.2.1, GHC==7.0.4, GHC==7.0.3, GHC==7.0.2, GHC==7.0.1, GHC==6.12.3 -description: - This package provides the ability to adapt to - locale conventions such as date and time formats. - -extra-source-files: - changelog.md - -source-repository head - type: git - location: https://github.com/haskell/old-locale.git - -Library - default-language: Haskell98 - other-extensions: CPP - if impl(ghc>=7.2) - -- && base>=4.4.1 - other-extensions: Safe - - exposed-modules: - System.Locale - - build-depends: base >= 4.2 && < 4.10 - ghc-options: -Wall +name: old-locale +version: 1.0.0.7 +x-revision: 1 +-- NOTE: Don't forget to update ./changelog.md +license: BSD3 +license-file: LICENSE +maintainer: libraries@haskell.org +bug-reports: https://github.com/haskell/old-locale/issues +synopsis: locale library +category: System +build-type: Simple +Cabal-Version:>=1.10 +tested-with: GHC==7.8.3, GHC==7.8.2, GHC==7.8.1, GHC==7.6.3, GHC==7.6.2, GHC==7.6.1, GHC==7.4.2, GHC==7.4.1, GHC==7.2.2, GHC==7.2.1, GHC==7.0.4, GHC==7.0.3, GHC==7.0.2, GHC==7.0.1, GHC==6.12.3 +description: + This package provides the ability to adapt to + locale conventions such as date and time formats. + +extra-source-files: + changelog.md + +source-repository head + type: git + location: https://github.com/haskell/old-locale.git + +Library + default-language: Haskell98 + other-extensions: CPP + if impl(ghc>=7.2) + -- && base>=4.4.1 + other-extensions: Safe + + exposed-modules: + System.Locale + + build-depends: base >= 4.2 && < 4.10 + ghc-options: -Wall