Hello community, here is the log from the commit of package ghc-yesod-form for openSUSE:Factory checked in at 2016-11-04 21:01:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-yesod-form (Old) and /work/SRC/openSUSE:Factory/.ghc-yesod-form.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-yesod-form" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-yesod-form/ghc-yesod-form.changes 2016-07-20 09:22:19.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-yesod-form.new/ghc-yesod-form.changes 2016-11-04 21:01:06.000000000 +0100 @@ -1,0 +2,5 @@ +Sun Oct 30 16:27:03 UTC 2016 - [email protected] + +- Update to version 1.4.8 with cabal2obs. + +------------------------------------------------------------------- Old: ---- yesod-form-1.4.7.1.tar.gz New: ---- yesod-form-1.4.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-yesod-form.spec ++++++ --- /var/tmp/diff_new_pack.2AVODX/_old 2016-11-04 21:01:07.000000000 +0100 +++ /var/tmp/diff_new_pack.2AVODX/_new 2016-11-04 21:01:07.000000000 +0100 @@ -19,15 +19,14 @@ %global pkg_name yesod-form %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.4.7.1 +Version: 1.4.8 Release: 0 Summary: Form handling support for Yesod Web Framework License: MIT -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-aeson-devel BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-blaze-builder-devel @@ -56,7 +55,6 @@ %if %{with tests} BuildRequires: ghc-hspec-devel %endif -# End cabal-rpm deps %description API docs and the README are available at @@ -79,20 +77,14 @@ %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 ++++++ yesod-form-1.4.7.1.tar.gz -> yesod-form-1.4.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yesod-form-1.4.7.1/ChangeLog.md new/yesod-form-1.4.8/ChangeLog.md --- old/yesod-form-1.4.7.1/ChangeLog.md 2015-12-03 19:55:30.000000000 +0100 +++ new/yesod-form-1.4.8/ChangeLog.md 2016-10-27 10:18:25.000000000 +0200 @@ -1,3 +1,7 @@ +## 1.4.8 + +* Added Yesod.Form.I18n.Spanish + ## 1.4.6 * Functor instances for Option/OptionList diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yesod-form-1.4.7.1/Yesod/Form/I18n/Spanish.hs new/yesod-form-1.4.8/Yesod/Form/I18n/Spanish.hs --- old/yesod-form-1.4.7.1/Yesod/Form/I18n/Spanish.hs 1970-01-01 01:00:00.000000000 +0100 +++ new/yesod-form-1.4.8/Yesod/Form/I18n/Spanish.hs 2016-10-27 10:18:25.000000000 +0200 @@ -0,0 +1,27 @@ +{-# LANGUAGE OverloadedStrings #-} + +module Yesod.Form.I18n.Spanish where + +import Yesod.Form.Types (FormMessage (..)) +import Data.Monoid (mappend) +import Data.Text (Text) + +spanishFormMessage :: FormMessage -> Text +spanishFormMessage (MsgInvalidInteger t) = "Número entero inválido: " `mappend` t +spanishFormMessage (MsgInvalidNumber t) = "Número inválido: " `mappend` t +spanishFormMessage (MsgInvalidEntry t) = "Entrada inválida: " `mappend` t +spanishFormMessage MsgInvalidTimeFormat = "Hora inválida, debe tener el formato HH:MM[:SS]" +spanishFormMessage MsgInvalidDay = "Fecha inválida, debe tener el formato AAAA-MM-DD" +spanishFormMessage (MsgInvalidUrl t) = "URL inválida: " `mappend` t +spanishFormMessage (MsgInvalidEmail t) = "Dirección de correo electrónico inválida: " `mappend` t +spanishFormMessage (MsgInvalidHour t) = "Hora inválida: " `mappend` t +spanishFormMessage (MsgInvalidMinute t) = "Minuto inválido: " `mappend` t +spanishFormMessage (MsgInvalidSecond t) = "Segundo inválido: " `mappend` t +spanishFormMessage MsgCsrfWarning = "Como protección contra ataques CSRF, confirme su envío por favor." +spanishFormMessage MsgValueRequired = "Se requiere un valor" +spanishFormMessage (MsgInputNotFound t) = "Entrada no encontrada: " `mappend` t +spanishFormMessage MsgSelectNone = "<Ninguno>" +spanishFormMessage (MsgInvalidBool t) = "Booleano inválido: " `mappend` t +spanishFormMessage MsgBoolYes = "Sí" +spanishFormMessage MsgBoolNo = "No" +spanishFormMessage MsgDelete = "¿Eliminar?" \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yesod-form-1.4.7.1/yesod-form.cabal new/yesod-form-1.4.8/yesod-form.cabal --- old/yesod-form-1.4.7.1/yesod-form.cabal 2016-04-25 17:20:24.000000000 +0200 +++ new/yesod-form-1.4.8/yesod-form.cabal 2016-10-27 10:18:25.000000000 +0200 @@ -1,5 +1,5 @@ name: yesod-form -version: 1.4.7.1 +version: 1.4.8 license: MIT license-file: LICENSE author: Michael Snoyman <[email protected]> @@ -67,6 +67,7 @@ Yesod.Form.I18n.Czech Yesod.Form.I18n.Russian Yesod.Form.I18n.Dutch + Yesod.Form.I18n.Spanish -- FIXME Yesod.Helpers.Crud ghc-options: -Wall
