From df5bf6417b3f9f513add9bca66f45b624edfcf9f0079a5a4e61ac3ac0e5444ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 18 Jul 2016 20:19:28 +0000 Subject: [PATCH] Accepting request 410325 from devel:languages:haskell:lts:6 See https://lists.opensuse.org/opensuse-haskell/2016-07/msg00000.html for details. OBS-URL: https://build.opensuse.org/request/show/410325 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-old-locale?expand=0&rev=3 --- 1.cabal | 36 ++++++++++++++++++++++++++++++++++++ ghc-old-locale.changes | 5 +++++ ghc-old-locale.spec | 23 +++++++++-------------- 3 files changed, 50 insertions(+), 14 deletions(-) create mode 100644 1.cabal diff --git a/1.cabal b/1.cabal new file mode 100644 index 0000000..5f0b7c9 --- /dev/null +++ b/1.cabal @@ -0,0 +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 diff --git a/ghc-old-locale.changes b/ghc-old-locale.changes index 41a7c86..de56d72 100644 --- a/ghc-old-locale.changes +++ b/ghc-old-locale.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 f393589..03863e6 100644 --- a/ghc-old-locale.spec +++ b/ghc-old-locale.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-old-locale # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -15,41 +15,39 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%global pkg_name old-locale -Name: ghc-old-locale +%global pkg_name old-locale +Name: ghc-%{pkg_name} Version: 1.0.0.7 Release: 0 Summary: Locale library -Group: System/Libraries - License: BSD-3-Clause +Group: System/Libraries Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package provides the ability to adapt to locale conventions such as date and time formats. - %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} -Requires: %{name} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. - %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build @@ -63,18 +61,15 @@ This package provides the Haskell %{pkg_name} library development files. %post devel %ghc_pkg_recache - %postun devel %ghc_pkg_recache - %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE - %files devel -f %{name}-devel.files %defattr(-,root,root,-) - +%doc changelog.md %changelog