Hello community, here is the log from the commit of package ghc-old-locale for openSUSE:Factory checked in at 2016-07-20 09:28:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-old-locale (Old) and /work/SRC/openSUSE:Factory/.ghc-old-locale.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-old-locale" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-old-locale/ghc-old-locale.changes 2015-08-23 17:39:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-old-locale.new/ghc-old-locale.changes 2016-07-20 09:28:28.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:31:20 UTC 2016 - psimons@suse.com + +- Update to version 1.0.0.7 revision 1 with cabal2obs. + +------------------------------------------------------------------- New: ---- 1.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-old-locale.spec ++++++ --- /var/tmp/diff_new_pack.cUBmBt/_old 2016-07-20 09:28:30.000000000 +0200 +++ /var/tmp/diff_new_pack.cUBmBt/_new 2016-07-20 09:28:30.000000000 +0200 @@ -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 @@ %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 ++++++ 1.cabal ++++++ 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