Hello community, here is the log from the commit of package stack for openSUSE:Factory checked in at 2018-05-30 12:21:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/stack (Old) and /work/SRC/openSUSE:Factory/.stack.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "stack" Wed May 30 12:21:45 2018 rev:11 rq:609839 version:1.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/stack/stack.changes 2017-08-31 21:03:08.983050637 +0200 +++ /work/SRC/openSUSE:Factory/.stack.new/stack.changes 2018-05-30 12:40:51.325362600 +0200 @@ -1,0 +2,337 @@ +Mon May 14 17:02:11 UTC 2018 - psim...@suse.com + +- Update stack to version 1.7.1 revision 2. + Major changes: + + * Upgrade to Cabal 2.2 + * Complete overhaul of how snapshots are defined, the `packages` and + `extra-deps` fields, and a number of related items. For full + details, please see + [the writeup on these changes](https://www.fpcomplete.com/blog/2017/07/stacks-new-extensible-snapshots). [PR #3249](https://github.com/commercialhaskell/stack/pull/3249), + see the PR description for a number of related issues. + + Behavior changes: + + * `stack setup` no longer uses different GHC configure options on Linux + distributions that use GCC with PIE enabled by default. GHC detects + this itself since ghc-8.0.2, and Stack's attempted workaround for older + versions caused more problems than it solved. + * `stack new` no longer initializes a project if the project template contains + a stack.yaml file. + * The `--install-ghc` flag is now on by default. For example, if you + run `stack build` in a directory requiring a GHC that you do not + currently have, Stack will automatically download and install that + GHC. You can explicitly set `install-ghc: false` or pass the flag + `--no-install-ghc` to regain the previous behavior. + * `stack ghci` no longer loads modules grouped by package. This is + always an improvement for plain ghci - it makes loading faster and + less noisy. For intero, this has the side-effect that it will no + longer load multiple packages that depend on TH loading relative + paths. TH relative paths will still work when loading a single + package into intero. See + [#3309](https://github.com/commercialhaskell/stack/issues/3309) + * Setting GHC options for a package via `ghc-options:` in your + `stack.yaml` will promote it to a local package, providing for more + consistency with flags and better reproducibility. See: + [#849](https://github.com/commercialhaskell/stack/issues/849) + * The `package-indices` setting with Hackage no longer works with the + `00-index.tar.gz` tarball, but must use the `01-index.tar.gz` file + to allow revised packages to be found. + * Options passed via `--ghci-options` are now passed to the end of the + invocation of ghci, instead of the middle. This allows using `+RTS` + without an accompanying `-RTS`. + * When auto-detecting `--ghc-build`, `tinfo6` is now preferred over + `standard` if both versions of libtinfo are installed + * Addition of `stack build --copy-compiler-tool`, to allow tools like + intero to be installed globally for a particular compiler. + [#2643](https://github.com/commercialhaskell/stack/issues/2643) + * Stack will ask before saving hackage credentials to file. This new + prompt can be avoided by using the `save-hackage-creds` setting. Please + see [#2159](https://github.com/commercialhaskell/stack/issues/2159). + * The `GHCRTS` environment variable will no longer be passed through to + every program stack runs. Instead, it will only be passed through + commands like `exec`, `runghc`, `script`, `ghci`, etc. + See [#3444](https://github.com/commercialhaskell/stack/issues/3444). + * `ghc-options:` for specific packages will now come after the options + specified for all packages / particular sets of packages. See + [#3573](https://github.com/commercialhaskell/stack/issues/3573). + * The `pvp-bounds` feature is no longer fully functional, due to some + issues with the Cabal library's printer. See + [#3550](https://github.com/commercialhaskell/stack/issues/3550). + + Other enhancements: + + * A new sub command `ls` has been introduced to stack to view + local and remote snapshots present in the system. Use `stack ls + snapshots --help` to get more details about it. + * `list-dependencies` has been deprecated. The functionality has + to accessed through the new `ls dependencies` interface. See + [#3669](https://github.com/commercialhaskell/stack/issues/3669) + for details. + * Specify User-Agent HTTP request header on every HTTP request. + See [#3628](https://github.com/commercialhaskell/stack/issues/3628) for details. + * `stack setup` looks for GHC bindists and installations by any OS key + that is compatible (rather than only checking a single one). This is + relevant on Linux where different distributions may have different + combinations of libtinfo 5/6, ncurses 5/6, and gmp 4/5, and will allow + simpifying the setup-info metadata YAML for future GHC releases. + * The build progress bar reports names of packages currently building. + * `stack setup --verbose` causes verbose output of GHC configure process. + See [#3716](https://github.com/commercialhaskell/stack/issues/3716) + * Improve the error message when an `extra-dep` from a path or git reference can't be found + See [#3808](https://github.com/commercialhaskell/stack/pull/3808) + * Nix integration is now disabled on windows even if explicitly enabled, + since it isn't supported. See + [#3600](https://github.com/commercialhaskell/stack/issues/3600) + * `stack build` now supports a new flag `--keep-tmp-files` to retain intermediate + files and directories for the purpose of debugging. + It is best used with ghc's equivalent flag, + i.e. `stack build --keep-tmp-files --ghc-options=-keep-tmp-files`. + See [#3857](https://github.com/commercialhaskell/stack/issues/3857) + * Improved error messages for snapshot parse exceptions + * `stack unpack` now supports a `--to /target/directory` option to + specify where to unpack the package into + * `stack hoogle` now supports a new flag `--server` that launches local + Hoogle server on port 8080. See + [#2310](https://github.com/commercialhaskell/stack/issues/2310) + * In addition to supporting `.tar.gz` and `.zip` files as remote archives, + plain `.tar` files are now accepted too. This will additionally help with + cases where HTTP servers mistakenly set the transfer encoding to `gzip`. See + [#3647](https://github.com/commercialhaskell/stack/issues/3647). + * Links to docs.haskellstack.org ignore Stack version patchlevel. + * Downloading Docker-compatible `stack` binary ignores Stack version patchlevel. + * The `with-hpack` configuration option specifies an Hpack executable to use + instead of the Hpack bundled with Stack. Please + see [#3179](https://github.com/commercialhaskell/stack/issues/3179). + * It's now possible to skip tests and benchmarks using `--skip` + flag + * `GitSHA1` is now `StaticSHA256` and is implemented using the `StaticSize 64 ByteString` for improved performance. + See [#3006](https://github.com/commercialhaskell/stack/issues/3006) + * Dependencies via HTTP(S) archives have been generalized to allow + local file path archives, as well as to support setting a + cryptographic hash (SHA256) of the contents for better + reproducibility. + * Allow specifying `--git-branch` when upgrading + * When running `stack upgrade` from a file which is different from the + default executable path (e.g., on POSIX systems, + `~/.local/bin/stack`), it will now additionally copy the new + executable over the currently running `stack` executable. If + permission is denied (such as in `/usr/local/bin/stack`), the user + will be prompted to try again using `sudo`. This is intended to + assist with the user experience when the `PATH` environment variable + has not been properly configured, see + [#3232](https://github.com/commercialhaskell/stack/issues/3232). + * `stack setup` for ghcjs will now install `alex` and `happy` if + they are not present. See + [#3109](https://github.com/commercialhaskell/stack/issues/3232). + * Added `stack ghci --only-main` flag, to skip loading / importing + all but main modules. See the ghci documentation page + for further info. + * Allow GHC's colored output to show through. GHC colors output + starting with version 8.2.1, for older GHC this does nothing. + Sometimes GHC's heuristics would work fine even before this change, + for example in `stack ghci`, but this override's GHC's heuristics + when they're broken by our collecting and processing GHC's output. + * Extended the `ghc-options` field to support `$locals`, `$targets`, + and `$everything`. See: + [#3329](https://github.com/commercialhaskell/stack/issues/3329) + * Better error message for case that `stack ghci` file targets are + combined with invalid package targets. See: + [#3342](https://github.com/commercialhaskell/stack/issues/3342) + * For profiling now uses `-fprof-auto -fprof-cafs` instead of + the deprecated `-auto-all -caf-all`. See: + [#3360](https://github.com/commercialhaskell/stack/issues/3360) + * Better descriptions are now available for `stack upgrade --help`. See: + [#3070](https://github.com/commercialhaskell/stack/issues/3070) + * When using Nix, nix-shell now depends always on gcc to prevent build errors + when using the FFI. As ghc depends on gcc anyway, this doesn't increase the + dependency footprint. + * `--cwd DIR` can now be passed to `stack exec` in order to execute the + program in a different directory. See: + [#3264](https://github.com/commercialhaskell/stack/issues/3264) + * Plan construction will detect if you add an executable-only package + as a library dependency, resulting in much clearer error + messages. See: + [#2195](https://github.com/commercialhaskell/stack/issues/2195). + * Addition of `--ghc-options` to `stack script` to pass options directly + to GHC. See: + [#3454](https://github.com/commercialhaskell/stack/issues/3454) + * Add hpack `package.yaml` to build Stack itself + * Add `ignore-revision-mismatch` setting. See: + [#3520](https://github.com/commercialhaskell/stack/issues/3520). + * Log when each individual test suite finishes. See: + [#3552](https://github.com/commercialhaskell/stack/issues/3552). + * Avoid spurious rebuilds when using `--file-watch` by not watching files for + executable, test and benchmark components that aren't a target. See: + [#3483](https://github.com/commercialhaskell/stack/issues/3483). + * Stack will now try to detect the width of the running terminal + (only on POSIX for the moment) and use that to better display + output messages. Work is ongoing, so some messages will not + be optimal yet. The terminal width can be overridden with the + new `--terminal-width` command-line option (this works even on + non-POSIX). + * Passing non local packages as targets to `stack ghci` will now + cause them to be used as `-package` args along with package + hiding. + * Detect when user changed .cabal file instead of package.yaml. This + was implemented upstream in hpack. See + [#3383](https://github.com/commercialhaskell/stack/issues/3383). + * Automatically run `autoreconf -i` as necessary when a `configure` + script is missing. See + [#3534](https://github.com/commercialhaskell/stack/issues/3534) + * GHC bindists can now be identified by their SHA256 checksum in addition to + their SHA1 checksum, allowing for more security in download. + * For filesystem setup-info paths, it's no longer assumed that the + directory is writable, instead a temp dir is used. See + [#3188](https://github.com/commercialhaskell/stack/issues/3188). + + Bug fixes: + + * The script interpreter's implicit file arguments are now passed before other + arguments. See [#3658](https://github.com/commercialhaskell/stack/issues/3658). + In particular, this makes it possible to pass `-- +RTS ... -RTS` to specify + RTS arguments used when running the script. + * Don't ignore the template `year` parameter in config files, and clarify the + surrounding documentation. See + [#2275](https://github.com/commercialhaskell/stack/issues/2275). + * Benchmarks used to be run concurrently with other benchmarks ++++ 140 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/stack/stack.changes ++++ and /work/SRC/openSUSE:Factory/.stack.new/stack.changes Old: ---- stack-1.5.0.tar.gz New: ---- _constraints stack-1.7.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ stack.spec ++++++ --- /var/tmp/diff_new_pack.zxgy6J/_old 2018-05-30 12:40:51.925341996 +0200 +++ /var/tmp/diff_new_pack.zxgy6J/_new 2018-05-30 12:40:51.929341859 +0200 @@ -1,7 +1,7 @@ # # spec file for package stack # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -19,14 +19,14 @@ %global pkg_name stack %bcond_with tests Name: %{pkg_name} -Version: 1.5.0 +Version: 1.7.1 Release: 0 Summary: The Haskell Tool Stack License: BSD-3-Clause -Group: Development/Languages/Other -Url: https://hackage.haskell.org/package/%{name} +Group: Development/Libraries/Haskell +URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal +Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/2.cabal#/%{name}.cabal BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-aeson-devel @@ -34,13 +34,9 @@ BuildRequires: ghc-ansi-terminal-devel BuildRequires: ghc-async-devel BuildRequires: ghc-attoparsec-devel -BuildRequires: ghc-base-compat-devel BuildRequires: ghc-base64-bytestring-devel -BuildRequires: ghc-binary-devel -BuildRequires: ghc-binary-tagged-devel -BuildRequires: ghc-blaze-builder-devel +BuildRequires: ghc-bindings-uname-devel BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-clock-devel BuildRequires: ghc-conduit-devel BuildRequires: ghc-conduit-extra-devel BuildRequires: ghc-containers-devel @@ -49,11 +45,8 @@ BuildRequires: ghc-deepseq-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-echo-devel -BuildRequires: ghc-either-devel -BuildRequires: ghc-errors-devel BuildRequires: ghc-exceptions-devel BuildRequires: ghc-extra-devel -BuildRequires: ghc-fast-logger-devel BuildRequires: ghc-file-embed-devel BuildRequires: ghc-filelock-devel BuildRequires: ghc-filepath-devel @@ -62,23 +55,20 @@ BuildRequires: ghc-gitrev-devel BuildRequires: ghc-hackage-security-devel BuildRequires: ghc-hashable-devel -BuildRequires: ghc-hastache-devel BuildRequires: ghc-hpack-devel BuildRequires: ghc-hpc-devel BuildRequires: ghc-http-client-devel BuildRequires: ghc-http-client-tls-devel BuildRequires: ghc-http-conduit-devel BuildRequires: ghc-http-types-devel -BuildRequires: ghc-lifted-async-devel -BuildRequires: ghc-lifted-base-devel BuildRequires: ghc-memory-devel BuildRequires: ghc-microlens-devel -BuildRequires: ghc-microlens-mtl-devel BuildRequires: ghc-mintty-devel -BuildRequires: ghc-monad-control-devel BuildRequires: ghc-monad-logger-devel -BuildRequires: ghc-monad-unlift-devel +BuildRequires: ghc-mono-traversable-devel BuildRequires: ghc-mtl-devel +BuildRequires: ghc-mustache-devel +BuildRequires: ghc-neat-interpolation-devel BuildRequires: ghc-network-uri-devel BuildRequires: ghc-open-browser-devel BuildRequires: ghc-optparse-applicative-devel @@ -88,16 +78,15 @@ BuildRequires: ghc-persistent-devel BuildRequires: ghc-persistent-sqlite-devel BuildRequires: ghc-persistent-template-devel -BuildRequires: ghc-pid1-devel BuildRequires: ghc-pretty-devel +BuildRequires: ghc-primitive-devel BuildRequires: ghc-process-devel BuildRequires: ghc-project-template-devel BuildRequires: ghc-regex-applicative-text-devel BuildRequires: ghc-resourcet-devel BuildRequires: ghc-retry-devel +BuildRequires: ghc-rio-devel BuildRequires: ghc-rpm-macros -BuildRequires: ghc-safe-devel -BuildRequires: ghc-safe-exceptions-devel BuildRequires: ghc-semigroups-devel BuildRequires: ghc-split-devel BuildRequires: ghc-stm-devel @@ -107,31 +96,27 @@ BuildRequires: ghc-tar-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-temporary-devel -BuildRequires: ghc-text-binary-devel BuildRequires: ghc-text-devel BuildRequires: ghc-text-metrics-devel +BuildRequires: ghc-th-reify-many-devel BuildRequires: ghc-time-devel BuildRequires: ghc-tls-devel -BuildRequires: ghc-transformers-base-devel BuildRequires: ghc-transformers-devel +BuildRequires: ghc-typed-process-devel BuildRequires: ghc-unicode-transforms-devel BuildRequires: ghc-unix-compat-devel BuildRequires: ghc-unix-devel +BuildRequires: ghc-unliftio-devel BuildRequires: ghc-unordered-containers-devel -BuildRequires: ghc-vector-binary-instances-devel BuildRequires: ghc-vector-devel BuildRequires: ghc-yaml-devel BuildRequires: ghc-zip-archive-devel BuildRequires: ghc-zlib-devel Suggests: docker -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-hspec-devel -BuildRequires: ghc-mono-traversable-devel -BuildRequires: ghc-neat-interpolation-devel BuildRequires: ghc-smallcheck-devel -BuildRequires: ghc-th-reify-many-devel %endif %description @@ -153,7 +138,7 @@ %package -n ghc-%{name}-devel Summary: Haskell %{name} library development files -Group: Development/Libraries/Other +Group: Development/Libraries/Haskell Requires: ghc-%{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} @@ -164,7 +149,7 @@ %prep %setup -q -cp -p %{SOURCE1} %{name}.cabal +cp -p %{SOURCE1} %{name}.cabal-broken %build %ghc_lib_build @@ -183,17 +168,14 @@ %ghc_pkg_recache %files -%defattr(-,root,root,-) -%doc LICENSE +%license LICENSE %doc ChangeLog.md README.md doc %{_bindir}/%{name} %files -n ghc-%{name} -f ghc-%{name}.files -%defattr(-,root,root,-) -%doc LICENSE +%license LICENSE %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files -%defattr(-,root,root,-) %doc ChangeLog.md README.md doc %changelog ++++++ _constraints ++++++ <constraints> <overwrite> <conditions> <arch>ppc64</arch> <arch>ppc64le</arch> </conditions> <hardware> <disk> <size unit="G">13</size> </disk> </hardware> </overwrite> </constraints> ++++++ stack-1.5.0.tar.gz -> stack-1.7.1.tar.gz ++++++ ++++ 39508 lines of diff (skipped) ++++++ stack.cabal ++++++ ++++ 1075 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/stack/stack.cabal ++++ and /work/SRC/openSUSE:Factory/.stack.new/stack.cabal