Hello community, here is the log from the commit of package ghc-hflags for openSUSE:Factory checked in at 2017-09-19 16:30:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-hflags (Old) and /work/SRC/openSUSE:Factory/.ghc-hflags.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hflags" Tue Sep 19 16:30:56 2017 rev:2 rq:526719 version:0.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-hflags/ghc-hflags.changes 2017-03-24 02:05:35.376466860 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-hflags.new/ghc-hflags.changes 2017-09-19 16:31:47.367960538 +0200 @@ -1,0 +2,5 @@ +Thu Aug 3 15:38:38 UTC 2017 - psim...@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- Old: ---- 1.cabal New: ---- hflags.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-hflags.spec ++++++ --- /var/tmp/diff_new_pack.NW8dKk/_old 2017-09-19 16:31:47.891886321 +0200 +++ /var/tmp/diff_new_pack.NW8dKk/_new 2017-09-19 16:31:47.895885754 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-hflags # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -22,16 +22,15 @@ Release: 0 Summary: Command line flag parser, very similar to Google's gflags License: Apache-2.0 -Group: Development/Languages/Other -Url: https://hackage.haskell.org/package/%{pkg_name} +Group: Development/Libraries/Haskell +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-containers-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-text-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The 'HFlags' library supports easy definition of command line flags, @@ -80,7 +79,7 @@ %package devel Summary: Haskell %{pkg_name} library development files -Group: Development/Libraries/Other +Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} @@ -106,11 +105,9 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc COPYING %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %doc README.md changelog examples %changelog ++++++ hflags.cabal ++++++ name: hflags version: 0.4.2 x-revision: 1 license: Apache-2.0 license-file: COPYING author: Mihaly Barasz <k...@google.com>, Gergely Risko <gerg...@risko.hu> maintainer: Gergely Risko <gerg...@risko.hu> build-type: Simple cabal-version: >= 1.10 category: Console stability: provisional homepage: http://github.com/errge/hflags bug-reports: http://github.com/errge/hflags/issues synopsis: Command line flag parser, very similar to Google's gflags description: The @HFlags@ library supports easy definition of command line flags, reimplementing the ideas from Google's @gflags@ (<http://code.google.com/p/gflags>). . Command line flags can be declared in any file at the toplevel, using 'defineFlag'. At runtime, the actual values are assigned to the toplevel @flags_name@ constants. Those can be used purely throughout the program. . At the beginning of the @main@ function, @$initHFlags \"program description\"@ has to be called to initialize the flags. All flags will be initialized that are transitively reachable via imports from @main@. This means, that any Haskell package can easily define command line flags with @HFlags@. This feature is demonstrated by <http://github.com/errge/hflags/blob/master/examples/ImportExample.hs> and <http://github.com/errge/hflags/tree/master/examples/package>. . A simple example (more in the <http://github.com/errge/hflags/tree/master/examples> directory): . @ \#!\/usr\/bin\/env runhaskell . {-\# LANGUAGE TemplateHaskell \#-} . import HFlags . 'defineFlag' \"name\" \"Indiana Jones\" \"Who to greet.\" 'defineFlag' \"r:repeat\" (3 + 4 :: Int) \"Number of times to repeat the message.\" . main = do s <- $initHFlags \"Simple program v0.1\"   sequence_ $ replicate flags_repeat greet   putStrLn $ \"Your additional arguments were: \" ++ show s   putStrLn $ \"Which is the same as: \" ++ show HFlags.arguments   where   greet = putStrLn $ \"Hello \" ++ flags_name ++ \", very nice to meet you!\" @ . At @initHFlags@ time, the library also tries to gather flags out of environment variables. @HFLAGS_verbose=True@ is equivalent to specify --verbose=True. This environment feature only works with long options and the user has to specify a value even for Bools. . /Since version 0.2, you mustn't put the initHFlags in a parentheses with the program description. Just/ @$initHFlags@, /it's cleaner./ . See <http://github.com/errge/hflags/tree/master/changelog> for recent changes. extra-source-files: examples/ComplexExample.hs examples/ImportExample.hs examples/SimpleExample.hs examples/X/B.hs examples/X/Y_Y/A.hs examples/package/Tup.hs examples/package/test/main.hs examples/package/tup.cabal BLOG.md README.md changelog source-repository head type: git location: http://github.com/errge/hflags library default-language: Haskell2010 ghc-options: -Wall build-depends: base >= 4.6 && < 5 , containers >= 0.4 , template-haskell >= 2.8 , text >= 0.11 exposed-modules: HFlags