openSUSE Commits
Threads by month
- ----- 2025 -----
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
May 2018
- 1 participants
- 1987 discussions
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 - psimons(a)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-snap…. [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}.t…
-Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{…
+Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/2.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
1
0
Hello community,
here is the log from the commit of package slick-greeter-branding-openSUSE for openSUSE:Factory checked in at 2018-05-30 12:22:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/slick-greeter-branding-openSUSE (Old)
and /work/SRC/openSUSE:Factory/.slick-greeter-branding-openSUSE.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "slick-greeter-branding-openSUSE"
Wed May 30 12:22:34 2018 rev:2 rq:611181 version:1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/slick-greeter-branding-openSUSE/slick-greeter-branding-openSUSE.changes 2017-05-31 12:17:26.463890487 +0200
+++ /work/SRC/openSUSE:Factory/.slick-greeter-branding-openSUSE.new/slick-greeter-branding-openSUSE.changes 2018-05-30 12:40:39.353772817 +0200
@@ -1,0 +2,5 @@
+Thu May 10 13:43:54 UTC 2018 - sor.alexei(a)meowr.ru
+
+- Use %license.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ slick-greeter-branding-openSUSE.spec ++++++
--- /var/tmp/diff_new_pack.LYdleR/_old 2018-05-30 12:40:39.933752985 +0200
+++ /var/tmp/diff_new_pack.LYdleR/_new 2018-05-30 12:40:39.941752711 +0200
@@ -1,7 +1,7 @@
#
# spec file for package slick-greeter-branding-openSUSE
#
-# 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
@@ -21,9 +21,9 @@
Version: 1.0
Release: 0
Summary: openSUSE branding of slick-greeter
-License: GPL-3.0
+License: GPL-3.0-only
Group: System/X11/Displaymanagers
-Url: https://github.com/linuxmint/slick-greeter
+URL: https://github.com/linuxmint/slick-greeter
Source1: slick-greeter-branding.gschema.override.in
BuildRequires: lightdm
BuildRequires: lightdm-slick-greeter
@@ -59,7 +59,7 @@
cp -f %{SOURCE1} slick-greeter-branding.gschema.override.in
%build
-cp %{_defaultdocdir}/lightdm-slick-greeter/COPYING .
+cp %{_defaultlicensedir}/lightdm-slick-greeter/COPYING .
[ -r %{_datadir}/wallpapers/openSUSE-default.xml ]
bg="$(sed -rn '/<file>/,/<\/file>/s/^.*?<.+?>(.*)<\/.+?>$/\1/p' \
@@ -72,15 +72,16 @@
install -Dpm 0644 slick-greeter-branding.gschema.override \
%{buildroot}%{_datadir}/glib-2.0/schemas/slick-greeter-branding.gschema.override
+%if 0%{?suse_version} <= 1500
%post -n lightdm-slick-greeter-branding-openSUSE
%glib2_gsettings_schema_post
%postun -n lightdm-slick-greeter-branding-openSUSE
%glib2_gsettings_schema_postun
+%endif
%files -n lightdm-slick-greeter-branding-openSUSE
-%defattr(-,root,root)
-%doc COPYING
+%license COPYING
%{_datadir}/glib-2.0/schemas/slick-greeter-branding.gschema.override
%changelog
1
0
Hello community,
here is the log from the commit of package sensors for openSUSE:Factory checked in at 2018-05-30 11:45:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sensors (Old)
and /work/SRC/openSUSE:Factory/.sensors.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sensors"
Wed May 30 11:45:36 2018 rev:100 rq:612697 version:3.4.0git20180510.1c48b19
Changes:
--------
--- /work/SRC/openSUSE:Factory/sensors/sensors.changes 2017-11-29 10:51:33.875034548 +0100
+++ /work/SRC/openSUSE:Factory/.sensors.new/sensors.changes 2018-05-30 12:40:30.810064499 +0200
@@ -1,0 +2,32 @@
+Mon May 14 15:39:15 UTC 2018 - hillwood(a)opensuse.org
+
+- Update version to 3.4.0git20180510.1c48b19, use git version
+ * Support many new hardware:
+ + Add detection of Fintek F81768
+ + Only probe I/O ports on x86
+ + Add detection of Nuvoton NCT6793D
+ + Add detection of Microchip MCP9808
+ + Mark F71868A as supported by the f71882fg driver
+ + Mark F81768D as supported by the f71882fg driver
+ + Mark F81866D as supported by the f71882fg driver
+ + Add detection of various ITE chips
+ + Add detection of Nuvoton NCT6795D
+ + Add detection of DDR4 SPD
+ + Add detection of ITE IT8987D
+ + Add detection of AMD Family 17h temperature sensors
+ + Add detection of AMD KERNCZ SMBus controller
+ + Add detection of various Intel SMBus controllers
+ + Add detection of Giantec GT30TS00
+ + Add detection of ONS CAT34TS02C and CAT34TS04
+ + Add detection of AMD Family 15h Model 60+ temperature sensors
+ + Add detection of Nuvoton NCT6796D
+ + Add detection of AMD Family 15h Model 70+ temperature sensors
+ * Fix syntax errors
+ * Fix systemd paths
+- Drop lm_sensors-3.4.0-sensors-detect-fix-systemd-path.patch
+ Upstream merge this patch
+- Drop lm_sensors-3.4.0+-Only-probe-I-O-ports-on-x86.patch
+ Upstream merge this patch
+- Change upstream url.
+
+-------------------------------------------------------------------
Old:
----
lm_sensors-3.4.0+-Only-probe-I-O-ports-on-x86.patch
lm_sensors-3.4.0-sensors-detect-fix-systemd-path.patch
lm_sensors-3.4.0.tar.bz2
lm_sensors-3.4.0.tar.bz2.sig
New:
----
lm_sensors-1c48b19.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sensors.spec ++++++
--- /var/tmp/diff_new_pack.j5oTTW/_old 2018-05-30 12:40:31.714033680 +0200
+++ /var/tmp/diff_new_pack.j5oTTW/_new 2018-05-30 12:40:31.726033271 +0200
@@ -1,7 +1,7 @@
#
# spec file for package sensors
#
-# 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
@@ -16,40 +16,37 @@
#
+%define commit 1c48b191c8a2b9fc747e3db3816247c666c5c3f1
+%define shortcommit 1c48b19
+%define _name lm_sensors
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
- %define _fillupdir /var/adm/fillup-templates
+ %define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
-
Name: sensors
-BuildRequires: bison
-BuildRequires: flex
-BuildRequires: rrdtool-devel
-BuildRequires: systemd-rpm-macros
-Url: http://www.lm-sensors.org/
-Version: 3.4.0
+Version: 3.4.0git20180510.1c48b19
Release: 0
Summary: Hardware health monitoring for Linux
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: System/Monitoring
-Requires: modutils
-Source0: http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-%{version}.tar.bz2
-Source3: http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-%{version}.tar.bz2.…
+URL: https://github.com/groeck/lm-sensors
+Source0: https://github.com/groeck/lm-sensors/archive/%{commit}/%{_name}-%{shortcomm…
Source1: sysconfig.sensord
Source2: baselibs.conf
Patch1: lm_sensors-3.1.1-build.patch
Patch2: lm_sensors-3.0.0-sensord-separate.patch
Patch3: lm_sensors-3.0.0-sysconfig_metadata.patch
Patch4: lm_sensors-3.0.3-hint-at-kernel-extra-package.patch
-Patch5: lm_sensors-3.4.0-sensors-detect-fix-systemd-path.patch
Patch6: lm_sensors-3.4.0-sensord-service-extra-args.patch
#PATCH-FEATURE-UPSTREAM add ftsteutates support
Patch7: lm_sensors-3.4.0-sensors-detect-add-ftsteutates-support.patch
#PATCH-BUGFIX-UPSTREAM sensors-detect on ppc
Patch8: lm_sensors-3.4.0-sensors-detect-ppc64le.patch
-#PATCH-BUGFIX-UPSTREAL sensors-detect crash on arm
-Patch9: lm_sensors-3.4.0+-Only-probe-I-O-ports-on-x86.patch
-
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: rrdtool-devel
+BuildRequires: systemd-rpm-macros
+Requires: modutils
ExcludeArch: s390 s390x
%{?systemd_requires}
@@ -57,17 +54,17 @@
This package includes programs that show data from some sensor chips.
The interface /proc/bus/i2c/ is provided by loading kernel modules.
Which modules to load can be interactively detected as root by calling
-/usr/sbin/sensors-detect. Warning, before using the sensors the default
-configuration in /etc/sensors.conf has to be checked and changed to fit
+%{_sbindir}/sensors-detect. Warning, before using the sensors the default
+configuration in %{_sysconfdir}/sensors.conf has to be checked and changed to fit
the actual set up of the mainboard and the BIOS used on that specific
mainboard!
%package -n sensord
Summary: Hardware health monitoring daemon
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: System/Monitoring
-Provides: sensors:/usr/sbin/sensord
Requires(pre): %fillup_prereq
+Provides: sensors:%{_sbindir}/sensord
%description -n sensord
sensord is a daemon that can be used to periodically log sensor
@@ -78,7 +75,7 @@
%package -n libsensors4
Summary: Hardware health monitoring library
-License: LGPL-2.1+
+License: LGPL-2.1-or-later
Group: System/Libraries
%description -n libsensors4
@@ -90,12 +87,12 @@
%package -n libsensors4-devel
Summary: Hardware health monitoring library
-License: LGPL-2.1+
+License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libsensors4 = %{version}
-Provides: sensors:/usr/include/sensors/sensors.h
Conflicts: libsensors3-devel
+Provides: sensors:%{_includedir}/sensors/sensors.h
%description -n libsensors4-devel
libsensors offers a way for applications to access the hardware
@@ -105,42 +102,42 @@
sense to the user.
%prep
-%setup -q -n lm_sensors-%{version}
+# %setup -q -n lm_sensors-%{version}
+%setup -q -n lm-%{name}-%{commit}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
-%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
-%patch9 -p1
%build
-RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
+RPM_OPT_FLAGS="%{optflags}"
make %{?_smp_mflags} PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} MANDIR=%{_mandir} LIBDIR=%{_libdir}
%install
- make PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} MANDIR=%{_mandir} LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT install
- mkdir -p $RPM_BUILD_ROOT/%{_docdir}/sensors $RPM_BUILD_ROOT/%{_docdir}/sensord
+ make PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} MANDIR=%{_mandir} LIBDIR=%{_libdir} DESTDIR=%{buildroot} install
+ mkdir -p %{buildroot}/%{_docdir}/sensors %{buildroot}/%{_docdir}/sensord
cp -a doc/donations doc/fan-divisors \
doc/fancontrol.txt doc/libsensors-API.txt \
doc/progs doc/temperature-sensors \
- doc/vid COPYING COPYING.LGPL $RPM_BUILD_ROOT/%{_docdir}/sensors/
- cp -a COPYING $RPM_BUILD_ROOT/%{_docdir}/sensord/
- chmod -R u+rwX,g+rX,o+rX $RPM_BUILD_ROOT/%{_docdir}/sensors/ $RPM_BUILD_ROOT/%{_docdir}/sensord/
- chmod 0755 $RPM_BUILD_ROOT/%{_libdir}/libsensors.so.*
- mkdir -p $RPM_BUILD_ROOT/%{_unitdir} $RPM_BUILD_ROOT/%{_fillupdir}
- cp -a prog/init/*.service $RPM_BUILD_ROOT/%{_unitdir}/
- ln -sf /sbin/service %{buildroot}/usr/sbin/rclm_sensors
- cp -a %{SOURCE1} $RPM_BUILD_ROOT/%{_fillupdir}
+ doc/vid COPYING COPYING.LGPL %{buildroot}/%{_docdir}/sensors/
+ cp -a COPYING %{buildroot}/%{_docdir}/sensord/
+ chmod -R u+rwX,g+rX,o+rX %{buildroot}/%{_docdir}/sensors/ %{buildroot}/%{_docdir}/sensord/
+ chmod 0755 %{buildroot}/%{_libdir}/libsensors.so.*
+ mkdir -p %{buildroot}/%{_unitdir} %{buildroot}/%{_fillupdir}
+ cp -a prog/init/*.service %{buildroot}/%{_unitdir}/
+ ln -sf /sbin/service %{buildroot}%{_sbindir}/rclm_sensors
+ cp -a %{SOURCE1} %{buildroot}/%{_fillupdir}
%pre
%service_add_pre lm_sensors.service
+
%post
%service_add_post lm_sensors.service
sh -c '
-CONFIG=/etc/sysconfig/lm_sensors
+CONFIG=%{_sysconfdir}/sysconfig/lm_sensors
test -r "$CONFIG" || exit 0
unset ${!MODULE_*} $HWMON_MODULES
. "$CONFIG"
@@ -158,8 +155,8 @@
echo "# New configuration format generated by rpm post-install script" >> "$CONFIG"
echo "HWMON_MODULES=\"$HWMON_MODULES\"" >> "$CONFIG"
'
-if test -e /etc/modprobe.d/lm_sensors -a ! -e /etc/modprobe.d/lm_sensors.conf ; then
- mv -f /etc/modprobe.d/lm_sensors /etc/modprobe.d/lm_sensors.conf
+if test -e %{_sysconfdir}/modprobe.d/lm_sensors -a ! -e %{_sysconfdir}/modprobe.d/lm_sensors.conf ; then
+ mv -f %{_sysconfdir}/modprobe.d/lm_sensors %{_sysconfdir}/modprobe.d/lm_sensors.conf
fi
%preun
@@ -190,14 +187,14 @@
%{_unitdir}/lm_sensors.service
%{_sbindir}/rclm_sensors
%{_unitdir}/fancontrol.service
-/usr/bin/*
-/usr/sbin/fancontrol
+%{_bindir}/*
+%{_sbindir}/fancontrol
%ifarch i386 i486 i586 i686 x86_64
-/usr/sbin/isadump
-/usr/sbin/isaset
+%{_sbindir}/isadump
+%{_sbindir}/isaset
%endif
-/usr/sbin/pwmconfig
-/usr/sbin/sensors-detect
+%{_sbindir}/pwmconfig
+%{_sbindir}/sensors-detect
%dir %{_docdir}/sensors
%doc %{_docdir}/sensors/donations
%doc %{_docdir}/sensors/fan-divisors
@@ -205,41 +202,41 @@
%doc %{_docdir}/sensors/progs
%doc %{_docdir}/sensors/temperature-sensors
%doc %{_docdir}/sensors/vid
-%doc %{_docdir}/sensors/COPYING
-%doc /usr/share/man/man1/*.1.gz
-%doc /usr/share/man/man8/fancontrol.8.gz
+%license %{_docdir}/sensors/COPYING
+%{_mandir}/man1/*.1.gz
+%{_mandir}/man8/fancontrol.8.gz
%ifarch i386 i486 i586 i686 x86_64
-%doc /usr/share/man/man8/isadump.8.gz
-%doc /usr/share/man/man8/isaset.8.gz
+%{_mandir}/man8/isadump.8.gz
+%{_mandir}/man8/isaset.8.gz
%endif
-%doc /usr/share/man/man8/pwmconfig.8.gz
-%doc /usr/share/man/man8/sensors-conf-convert.8.gz
-%doc /usr/share/man/man8/sensors-detect.8.gz
+%{_mandir}/man8/pwmconfig.8.gz
+%{_mandir}/man8/sensors-conf-convert.8.gz
+%{_mandir}/man8/sensors-detect.8.gz
%files -n sensord
%defattr(-,root,root)
%{_unitdir}/sensord.service
%{_fillupdir}/sysconfig.sensord
-/usr/sbin/sensord
+%{_sbindir}/sensord
%dir %{_docdir}/sensord
-%doc %{_docdir}/sensord/COPYING
-%doc /usr/share/man/man8/sensord.8.gz
+%license %{_docdir}/sensord/COPYING
+%{_mandir}/man8/sensord.8.gz
%files -n libsensors4
%defattr(-,root,root)
-%config /etc/sensors3.conf
-%config /etc/sensors.d/
+%config %{_sysconfdir}/sensors3.conf
+%config %{_sysconfdir}/sensors.d/
%{_libdir}/libsensors.so.4*
%dir %{_docdir}/sensors
-%doc %{_docdir}/sensors/COPYING.LGPL
-%doc /usr/share/man/man5/*.5.gz
+%license %{_docdir}/sensors/COPYING.LGPL
+%{_mandir}/man5/*.5.gz
%files -n libsensors4-devel
%defattr(-,root,root)
-/usr/include/sensors/
+%{_includedir}/sensors/
%{_libdir}/libsensors.so
%dir %{_docdir}/sensors
%doc %{_docdir}/sensors/libsensors-API.txt
-%doc /usr/share/man/man3/*.3.gz
+%{_mandir}/man3/*.3.gz
%changelog
1
0
Hello community,
here is the log from the commit of package rpcsvc-proto for openSUSE:Factory checked in at 2018-05-30 11:41:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpcsvc-proto (Old)
and /work/SRC/openSUSE:Factory/.rpcsvc-proto.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rpcsvc-proto"
Wed May 30 11:41:02 2018 rev:4 rq:612621 version:1.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/rpcsvc-proto/rpcsvc-proto.changes 2018-03-01 11:59:31.223957981 +0100
+++ /work/SRC/openSUSE:Factory/.rpcsvc-proto.new/rpcsvc-proto.changes 2018-05-30 12:39:33.679990686 +0200
@@ -1,0 +2,6 @@
+Mon May 28 09:32:20 CEST 2018 - kukuk(a)suse.de
+
+- Update to version 1.4
+ - Remove historic _RPC_THREAD_SAFE_ preprocessor conditional
+
+-------------------------------------------------------------------
Old:
----
rpcsvc-proto-1.3.1.tar.bz2
New:
----
rpcsvc-proto-1.4.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rpcsvc-proto.spec ++++++
--- /var/tmp/diff_new_pack.gw7PDL/_old 2018-05-30 12:39:34.167974420 +0200
+++ /var/tmp/diff_new_pack.gw7PDL/_new 2018-05-30 12:39:34.167974420 +0200
@@ -17,13 +17,13 @@
Name: rpcsvc-proto
-Version: 1.3.1
+Version: 1.4
Release: 0
Summary: RPC protocol definitions
License: BSD-3-Clause
Group: System/Libraries
Url: http://github.com/thkukuk/rpcsvc-proto
-Source: %{name}-%{version}.tar.bz2
+Source: %{name}-%{version}.tar.xz
%description
The rpcsvc-proto package includes several rpcsvc header files
1
0
Hello community,
here is the log from the commit of package rabbitmq-server for openSUSE:Factory checked in at 2018-05-30 12:23:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rabbitmq-server (Old)
and /work/SRC/openSUSE:Factory/.rabbitmq-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rabbitmq-server"
Wed May 30 12:23:11 2018 rev:37 rq:612848 version:3.6.15
Changes:
--------
--- /work/SRC/openSUSE:Factory/rabbitmq-server/rabbitmq-server.changes 2018-01-24 15:31:32.687442657 +0100
+++ /work/SRC/openSUSE:Factory/.rabbitmq-server.new/rabbitmq-server.changes 2018-05-30 12:39:23.664323809 +0200
@@ -1,0 +2,5 @@
+Mon May 28 13:08:15 UTC 2018 - bwiedemann(a)suse.com
+
+- Add TasksMax=8192 to start on large machines (bsc#1094896)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rabbitmq-server.service ++++++
--- /var/tmp/diff_new_pack.vQG4i7/_old 2018-05-30 12:39:24.764287294 +0200
+++ /var/tmp/diff_new_pack.vQG4i7/_new 2018-05-30 12:39:24.768287161 +0200
@@ -13,6 +13,8 @@
ExecStart=/usr/sbin/rabbitmq-server
ExecStop=/usr/sbin/rabbitmqctl stop
TimeoutStartSec=300
+# required on machines with many cores (bsc#1094896):
+TasksMax=8192
[Install]
WantedBy=multi-user.target
1
0
Hello community,
here is the log from the commit of package python-gst for openSUSE:Factory checked in at 2018-05-30 12:22:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gst (Old)
and /work/SRC/openSUSE:Factory/.python-gst.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gst"
Wed May 30 12:22:11 2018 rev:21 rq:611157 version:1.14.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gst/python-gst.changes 2018-04-03 12:12:05.727394316 +0200
+++ /work/SRC/openSUSE:Factory/.python-gst.new/python-gst.changes 2018-05-30 12:37:59.807053968 +0200
@@ -1,0 +2,121 @@
+Sun May 20 10:01:36 UTC 2018 - bjorn.lie(a)gmail.com
+
+- Update to version 1.14.1:
+ + GstPad: Fix race condition causing the same probe to be called
+ multiple times
+ + Fix occasional deadlocks on windows when outputting debug
+ logging
+ + Fix debug levels being applied in the wrong order
+ + GIR annotation fixes for bindings
+ + audiomixer, audioaggregator: fix some negotiation issues
+ + gst-play-1.0: fix leaving stdin in non-blocking mode after exit
+ + flvmux: wait for caps on all input pads before writing header
+ even if source is live
+ + flvmux: don't wake up the muxer unless there is data, fixes
+ busy looping if there's no input data
+ + flvmux: fix major leak of input buffers
+ + rtspsrc, rtsp-server: revert to RTSP RFC handling of
+ sendonly/recvonly attributes
+ + rtpvrawpay: fix payloading with very large mtu sizes where
+ everything fits into a single RTP packet
+ + v4l2: Fix hard-coded enabled v4l2 probe on Linux/ARM
+ + v4l2: Disable DMABuf for emulated formats when using libv4l2
+ + v4l2: Always set colorimetry in S_FMT
+ + asfdemux: Set stream-format field for H264 streams and handle
+ H.264 in bytestream format
+ + x265enc: Fix tagging of keyframes on output buffers
+ + ladspa: Fix critical during plugin load on Windows
+ + decklink: Fix COM initialisation on Windows
+ + h264parse: fix re-use across pipeline stop/restart
+ + mpegtsmux: fix force-keyframe event handling and PCR/PMT
+ changes that would confuse some players with generated HLS
+ streams
+ + adaptivedemux: Support period change in live playlist
+ + rfbsrc: Fix support for applevncserver and support NULL pool in
+ decide_allocation
+ + jpegparse: Fix APP1 marker segment parsing
+ + h265parse: Make caps writable before modifying them, fixes
+ criticals
+ + fakevideosink: request an extra buffer if enable-last-sample is
+ enabled
+ + wasapisrc: Don't provide a clock based on WASAPI's clock
+ + wasapi: Only use audioclient3 when low-latency, as it might
+ otherwise glitch with slow CPUs or VMs
+ + wasapi: Don't derive device period from latency time, should
+ make it more robust against glitches
+ + audiolatency: Fix wave detection in buffers and avoid bogus pts
+ values while starting
+ + msdk: fix plugin load on implementations with only HW support
+ + msdk: dec: set framerate to the driver only if provided, not in
+ 0/1 case
+ + msdk: Don't set extended coding options for JPEG encode
+ + rtponviftimestamp: fix state change function init/reset causing
+ races/crashes on shutdown
+ + decklink: fix initialization failure in windows binary
+ + ladspa: Fix critical warnings during plugin load on Windows and
+ fix dependencies in meson build
+ + gl: fix cross-compilation error with viv-fb
+ + qmlglsink: make work with eglfs_kms
+ + rtspclientsink: Don't deadlock in preroll on early close
+ + rtspclientsink: Fix client ports for the RTCP backchannel
+ + rtsp-server: Fix session timeout when streaming data to client
+ over TCP
+ + vaapiencode: h264: find best profile in those available, fixing
+ negotiation errors
+ + vaapi: remove custom GstGL context handling, use GstGL instead.
+ Fixes GL Context sharing with WebkitGtk on wayland
+ + gst-editing-services: various fixes
+ + gst-python: bump pygobject req to 3.8;
+ fix GstPad.set_query_function(); dist autogen.sh and
+ configure.ac in tarball
+ + g-i: pick up GstVideo-1.0.gir from local build directory in
+ GstGL build
+ + g-i: update constant values for bindings
+ + avoid duplicate symbols in plugins across modules in static
+ builds
+ + ... and many, many more!
+
+-------------------------------------------------------------------
+Tue Apr 17 12:52:06 UTC 2018 - bjorn.lie(a)gmail.com
+
+- Update to version 1.14.0:
+ + Highlights:
+ - WebRTC support: real-time audio/video streaming to and from
+ web browsers;
+ - Experimental support for the next-gen royalty-free AV1 video
+ codec;
+ - Video4Linux: encoding support, stable element names and
+ faster device probing;
+ - Support for the Secure Reliable Transport (SRT) video
+ streaming protocol;
+ - RTP Forward Error Correction (FEC) support (ULPFEC);
+ - RTSP 2.0 support in rtspsrc and gst-rtsp-server;
+ - ONVIF audio backchannel support in gst-rtsp-server and
+ rtspsrc;
+ - playbin3 gapless playback and pre-buffering support;
+ - Tee, our stream splitter/duplication element, now does
+ allocation query aggregation which is important for efficient
+ data handling and zero-copy;
+ - QuickTime muxer has a new prefill recording mode that allows
+ file import in Adobe Premiere and FinalCut Pro while the file
+ is still being written;
+ - rtpjitterbuffer fast-start mode and timestamp offset
+ adjustment smoothing;
+ - souphttpsrc connection sharing, which allows for connection
+ reuse, cookie sharing, etc;
+ - nvdec: new plugin for hardware-accelerated video decoding
+ using the NVIDIA NVDEC API;
+ - Adaptive DASH trick play support;
+ - ipcpipeline: new plugin that allows splitting a pipeline
+ across multiple processes;
+ - Major gobject-introspection annotation improvements for large
+ parts of the library API;
+ - GStreamer C# bindings have been revived and seen many updates
+ and fixes;
+ - The externally maintained GStreamer Rust bindings had many
+ usability improvements and cover most of the API now.
+ Coinciding with the 1.14 release, a new release with the 1.14
+ API additions is happening.
+ + Updated translations.
+
+-------------------------------------------------------------------
Old:
----
gst-python-1.12.5.tar.xz
New:
----
gst-python-1.14.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-gst.spec ++++++
--- /var/tmp/diff_new_pack.scdVRO/_old 2018-05-30 12:38:00.371035980 +0200
+++ /var/tmp/diff_new_pack.scdVRO/_new 2018-05-30 12:38:00.375035852 +0200
@@ -18,7 +18,7 @@
%define _name gst-python
Name: python-gst
-Version: 1.12.5
+Version: 1.14.1
Release: 0
Summary: Python Bindings for GStreamer
License: LGPL-2.1-or-later
@@ -29,10 +29,10 @@
BuildRequires: gobject-introspection
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
-BuildRequires: pkgconfig(gstreamer-1.0) >= 1.12.0
-BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= 1.12.0
+BuildRequires: pkgconfig(gstreamer-1.0) >= %{version}
+BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= %{version}
BuildRequires: pkgconfig(pygobject-3.0) >= 3.0
-Requires: gstreamer >= 1.11.1
+Requires: gstreamer >= %{version}
%description
This module contains a wrapper that allows GStreamer applications to be
@@ -71,7 +71,7 @@
popd
done
find %{buildroot} -type f -name "*.la" -delete -print
-rm %{buildroot}%{_libdir}/gstreamer-1.0/libgstpythonplugin.so
+rm %{buildroot}%{_libdir}/gstreamer-1.0/libgstpython.so
%files %{python_files}
%license COPYING
@@ -79,6 +79,6 @@
%{python_sitearch}/gi/overrides/
%files -n gstreamer-plugin-python
-%{_libdir}/gstreamer-1.0/libgstpythonplugin.cpython*.so
+%{_libdir}/gstreamer-1.0/libgstpython.cpython*.so
%changelog
++++++ gst-python-1.12.5.tar.xz -> gst-python-1.14.1.tar.xz ++++++
++++ 3831 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-google-api-python-client for openSUSE:Factory checked in at 2018-05-30 12:23:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-api-python-client (Old)
and /work/SRC/openSUSE:Factory/.python-google-api-python-client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-api-python-client"
Wed May 30 12:23:48 2018 rev:5 rq:612922 version:1.6.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-google-api-python-client/python-google-api-python-client.changes 2017-10-09 19:40:58.774680524 +0200
+++ /work/SRC/openSUSE:Factory/.python-google-api-python-client.new/python-google-api-python-client.changes 2018-05-30 12:37:57.499127521 +0200
@@ -1,0 +2,29 @@
+Tue May 29 18:36:55 UTC 2018 - tbechtold(a)suse.com
+
+- update to 1.6.7:
+ - Make body optional for requests with no parameters. (#446)
+ - Fix retying on socket.timeout. (#495)
+ - Match travis matrix with tox testenv. (#498)
+ - Remove oauth2client._helpers dependency. (#493)
+ - Remove unused keyring test dependency. (#496)
+ - discovery.py: remove unused oauth2client import. (#492)
+ - Update README to reference GCP API client libraries. (#490)
+ - Warn when constructing BatchHttpRequest using the legacy batch URI (#488)
+ - Increase the default media chunksize to 100MB. (#482)
+ - Remove unnecessary parsing of mime headers in HttpRequest.__init__ (#467)
+ - Proactively refresh credentials when applying and treat a missing
+ `access_token` as invalid. Note: This change reveals surprising behavior
+ between default credentials and batches. If you allow
+ `googleapiclient.discovery.build` to use default credentials *and* specify
+ different credentials by providing `batch.execut()` with an explicit `http`
+ argument, your individual requests will use the default credentials and
+ *not* the credentials specified to the batch http. To avoid this, tell
+ `build` explicitly not to use default credentials by specifying
+ `build(..., http=httplib2.Http()`. (#469)
+ - Remove mutual exclusivity check for developerKey and credentials (#465)
+ - Handle unknown media length. (#406)
+ - Handle variant error format gracefully. (#459)
+ - Avoid testing against Django >= 2.0.0 on Python 2. (#460)
+- Use %license
+
+-------------------------------------------------------------------
Old:
----
google-api-python-client-1.6.4.tar.gz
New:
----
google-api-python-client-1.6.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-api-python-client.spec ++++++
--- /var/tmp/diff_new_pack.gN7bL9/_old 2018-05-30 12:37:58.123107644 +0200
+++ /var/tmp/diff_new_pack.gN7bL9/_new 2018-05-30 12:37:58.127107517 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-google-api-python-client
#
-# 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
@@ -21,7 +21,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-google-api-python-client
-Version: 1.6.4
+Version: 1.6.7
Release: 0
Summary: Google APIs Python Client
License: Apache-2.0
@@ -77,7 +77,8 @@
%files %{python_files}
%defattr(-,root,root,-)
-%doc CHANGELOG LICENSE
+%doc CHANGELOG
+%license LICENSE
%{python_sitelib}/*
%changelog
++++++ google-api-python-client-1.6.4.tar.gz -> google-api-python-client-1.6.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-python-client-1.6.4/CHANGELOG new/google-api-python-client-1.6.7/CHANGELOG
--- old/google-api-python-client-1.6.4/CHANGELOG 2017-09-20 17:54:26.000000000 +0200
+++ new/google-api-python-client-1.6.7/CHANGELOG 2018-04-27 22:59:17.000000000 +0200
@@ -1,3 +1,48 @@
+v1.6.7
+ Version 1.6.7
+
+ Bugfix release
+
+ **Note**: The next release of this library will no longer directly depend on
+ oauth2client. If you need to use oauth2client, you'll need to explicitly
+ install it.
+
+ - Make body optional for requests with no parameters. (#446)
+ - Fix retying on socket.timeout. (#495)
+ - Match travis matrix with tox testenv. (#498)
+ - Remove oauth2client._helpers dependency. (#493)
+ - Remove unused keyring test dependency. (#496)
+ - discovery.py: remove unused oauth2client import. (#492)
+ - Update README to reference GCP API client libraries. (#490)
+
+v1.6.6
+ Version 1.6.6
+
+ Bugfix release
+
+ - Warn when constructing BatchHttpRequest using the legacy batch URI (#488)
+ - Increase the default media chunksize to 100MB. (#482)
+ - Remove unnecessary parsing of mime headers in HttpRequest.__init__ (#467)
+
+v1.6.5
+ Version 1.6.5
+
+ Bugfix release
+
+ - Proactively refresh credentials when applying and treat a missing
+ `access_token` as invalid. Note: This change reveals surprising behavior
+ between default credentials and batches. If you allow
+ `googleapiclient.discovery.build` to use default credentials *and* specify
+ different credentials by providing `batch.execut()` with an explicit `http`
+ argument, your individual requests will use the default credentials and
+ *not* the credentials specified to the batch http. To avoid this, tell
+ `build` explicitly not to use default credentials by specifying
+ `build(..., http=httplib2.Http()`. (#469)
+ - Remove mutual exclusivity check for developerKey and credentials (#465)
+ - Handle unknown media length. (#406)
+ - Handle variant error format gracefully. (#459)
+ - Avoid testing against Django >= 2.0.0 on Python 2. (#460)
+
v1.6.4
Version 1.6.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-python-client-1.6.4/PKG-INFO new/google-api-python-client-1.6.7/PKG-INFO
--- old/google-api-python-client-1.6.4/PKG-INFO 2017-09-20 17:57:53.000000000 +0200
+++ new/google-api-python-client-1.6.7/PKG-INFO 2018-04-27 23:00:12.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: google-api-python-client
-Version: 1.6.4
+Version: 1.6.7
Summary: Google API Client Library for Python
Home-page: http://github.com/google/google-api-python-client/
Author: Google Inc.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-python-client-1.6.4/README.md new/google-api-python-client-1.6.7/README.md
--- old/google-api-python-client-1.6.4/README.md 1970-01-01 01:00:00.000000000 +0100
+++ new/google-api-python-client-1.6.7/README.md 2018-04-24 01:12:23.000000000 +0200
@@ -0,0 +1,38 @@
+# Google API Client
+
+This is the Python client library for Google's discovery based APIs. To get started, please see the [full documentation for this library](http://google.github.io/google-api-python-client). Additionally, [dynamically generated documentation](http://api-python-client-doc.appspot.com/) is available for all of the APIs supported by this library.
+
+These client libraries are officially supported by Google. However, the libraries are considered complete and are in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
+
+## Google Cloud Platform
+
+For Google Cloud Platform APIs such as Datastore, Cloud Storage or Pub/Sub, we recommend using [Cloud Client Libraries for Python](https://github.com/GoogleCloudPlatform/google-cloud-python) which is under active development.
+
+# Installation
+To install, simply use `pip` or `easy_install`:
+
+```bash
+$ pip install --upgrade google-api-python-client
+```
+or
+```bash
+$ easy_install --upgrade google-api-python-client
+```
+
+See the [Developers Guide](https://developers.google.com/api-client-library/python/start/get_st… for more detailed instructions and additional documentation.
+
+# Python Version
+Python 2.7, 3.4, 3.5, and 3.6 are fully supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions.
+
+# Third Party Libraries and Dependencies
+The following libraries will be installed when you install the client library:
+* [httplib2](https://github.com/httplib2/httplib2)
+* [uritemplate](https://github.com/sigmavirus24/uritemplate)
+
+For development you will also need the following libraries:
+* [WebTest](http://webtest.pythonpaste.org/en/latest/index.html)
+* [pycrypto](https://pypi.python.org/pypi/pycrypto)
+* [pyopenssl](https://pypi.python.org/pypi/pyOpenSSL)
+
+# Contributing
+Please see the [contributing page](http://google.github.io/google-api-python-client/contributing.html) for more information. In particular, we love pull requests - but please make sure to sign the contributor license agreement.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-python-client-1.6.4/google_api_python_client.egg-info/PKG-INFO new/google-api-python-client-1.6.7/google_api_python_client.egg-info/PKG-INFO
--- old/google-api-python-client-1.6.4/google_api_python_client.egg-info/PKG-INFO 2017-09-20 17:57:53.000000000 +0200
+++ new/google-api-python-client-1.6.7/google_api_python_client.egg-info/PKG-INFO 2018-04-27 23:00:12.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: google-api-python-client
-Version: 1.6.4
+Version: 1.6.7
Summary: Google API Client Library for Python
Home-page: http://github.com/google/google-api-python-client/
Author: Google Inc.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-python-client-1.6.4/google_api_python_client.egg-info/SOURCES.txt new/google-api-python-client-1.6.7/google_api_python_client.egg-info/SOURCES.txt
--- old/google-api-python-client-1.6.4/google_api_python_client.egg-info/SOURCES.txt 2017-09-20 17:57:53.000000000 +0200
+++ new/google-api-python-client-1.6.7/google_api_python_client.egg-info/SOURCES.txt 2018-04-27 23:00:12.000000000 +0200
@@ -1,6 +1,7 @@
CHANGELOG
LICENSE
MANIFEST.in
+README.md
setup.py
apiclient/__init__.py
google_api_python_client.egg-info/PKG-INFO
@@ -10,6 +11,7 @@
google_api_python_client.egg-info/top_level.txt
googleapiclient/__init__.py
googleapiclient/_auth.py
+googleapiclient/_helpers.py
googleapiclient/channel.py
googleapiclient/discovery.py
googleapiclient/errors.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-python-client-1.6.4/googleapiclient/__init__.py new/google-api-python-client-1.6.7/googleapiclient/__init__.py
--- old/google-api-python-client-1.6.4/googleapiclient/__init__.py 2017-09-20 17:54:26.000000000 +0200
+++ new/google-api-python-client-1.6.7/googleapiclient/__init__.py 2018-04-27 22:59:17.000000000 +0200
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-__version__ = "1.6.4"
+__version__ = "1.6.7"
# Set default logging handler to avoid "No handler found" warnings.
import logging
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-python-client-1.6.4/googleapiclient/_auth.py new/google-api-python-client-1.6.7/googleapiclient/_auth.py
--- old/google-api-python-client-1.6.4/googleapiclient/_auth.py 2017-09-20 03:41:21.000000000 +0200
+++ new/google-api-python-client-1.6.7/googleapiclient/_auth.py 2018-01-18 18:28:10.000000000 +0100
@@ -120,6 +120,8 @@
def apply_credentials(credentials, headers):
# oauth2client and google-auth have the same interface for this.
+ if not is_valid(credentials):
+ refresh_credentials(credentials)
return credentials.apply(headers)
@@ -128,7 +130,9 @@
credentials, google.auth.credentials.Credentials):
return credentials.valid
else:
- return not credentials.access_token_expired
+ return (
+ credentials.access_token is not None and
+ not credentials.access_token_expired)
def get_credentials_from_http(http):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-python-client-1.6.4/googleapiclient/_helpers.py new/google-api-python-client-1.6.7/googleapiclient/_helpers.py
--- old/google-api-python-client-1.6.4/googleapiclient/_helpers.py 1970-01-01 01:00:00.000000000 +0100
+++ new/google-api-python-client-1.6.7/googleapiclient/_helpers.py 2018-04-27 22:44:00.000000000 +0200
@@ -0,0 +1,204 @@
+# Copyright 2015 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Helper functions for commonly used utilities."""
+
+import functools
+import inspect
+import logging
+import warnings
+
+import six
+from six.moves import urllib
+
+
+logger = logging.getLogger(__name__)
+
+POSITIONAL_WARNING = 'WARNING'
+POSITIONAL_EXCEPTION = 'EXCEPTION'
+POSITIONAL_IGNORE = 'IGNORE'
+POSITIONAL_SET = frozenset([POSITIONAL_WARNING, POSITIONAL_EXCEPTION,
+ POSITIONAL_IGNORE])
+
+positional_parameters_enforcement = POSITIONAL_WARNING
+
+_SYM_LINK_MESSAGE = 'File: {0}: Is a symbolic link.'
+_IS_DIR_MESSAGE = '{0}: Is a directory'
+_MISSING_FILE_MESSAGE = 'Cannot access {0}: No such file or directory'
+
+
+def positional(max_positional_args):
+ """A decorator to declare that only the first N arguments my be positional.
+
+ This decorator makes it easy to support Python 3 style keyword-only
+ parameters. For example, in Python 3 it is possible to write::
+
+ def fn(pos1, *, kwonly1=None, kwonly1=None):
+ ...
+
+ All named parameters after ``*`` must be a keyword::
+
+ fn(10, 'kw1', 'kw2') # Raises exception.
+ fn(10, kwonly1='kw1') # Ok.
+
+ Example
+ ^^^^^^^
+
+ To define a function like above, do::
+
+ @positional(1)
+ def fn(pos1, kwonly1=None, kwonly2=None):
+ ...
+
+ If no default value is provided to a keyword argument, it becomes a
+ required keyword argument::
+
+ @positional(0)
+ def fn(required_kw):
+ ...
+
+ This must be called with the keyword parameter::
+
+ fn() # Raises exception.
+ fn(10) # Raises exception.
+ fn(required_kw=10) # Ok.
+
+ When defining instance or class methods always remember to account for
+ ``self`` and ``cls``::
+
+ class MyClass(object):
+
+ @positional(2)
+ def my_method(self, pos1, kwonly1=None):
+ ...
+
+ @classmethod
+ @positional(2)
+ def my_method(cls, pos1, kwonly1=None):
+ ...
+
+ The positional decorator behavior is controlled by
+ ``_helpers.positional_parameters_enforcement``, which may be set to
+ ``POSITIONAL_EXCEPTION``, ``POSITIONAL_WARNING`` or
+ ``POSITIONAL_IGNORE`` to raise an exception, log a warning, or do
+ nothing, respectively, if a declaration is violated.
+
+ Args:
+ max_positional_arguments: Maximum number of positional arguments. All
+ parameters after the this index must be
+ keyword only.
+
+ Returns:
+ A decorator that prevents using arguments after max_positional_args
+ from being used as positional parameters.
+
+ Raises:
+ TypeError: if a key-word only argument is provided as a positional
+ parameter, but only if
+ _helpers.positional_parameters_enforcement is set to
+ POSITIONAL_EXCEPTION.
+ """
+
+ def positional_decorator(wrapped):
+ @functools.wraps(wrapped)
+ def positional_wrapper(*args, **kwargs):
+ if len(args) > max_positional_args:
+ plural_s = ''
+ if max_positional_args != 1:
+ plural_s = 's'
+ message = ('{function}() takes at most {args_max} positional '
+ 'argument{plural} ({args_given} given)'.format(
+ function=wrapped.__name__,
+ args_max=max_positional_args,
+ args_given=len(args),
+ plural=plural_s))
+ if positional_parameters_enforcement == POSITIONAL_EXCEPTION:
+ raise TypeError(message)
+ elif positional_parameters_enforcement == POSITIONAL_WARNING:
+ logger.warning(message)
+ return wrapped(*args, **kwargs)
+ return positional_wrapper
+
+ if isinstance(max_positional_args, six.integer_types):
+ return positional_decorator
+ else:
+ args, _, _, defaults = inspect.getargspec(max_positional_args)
+ return positional(len(args) - len(defaults))(max_positional_args)
+
+
+def parse_unique_urlencoded(content):
+ """Parses unique key-value parameters from urlencoded content.
+
+ Args:
+ content: string, URL-encoded key-value pairs.
+
+ Returns:
+ dict, The key-value pairs from ``content``.
+
+ Raises:
+ ValueError: if one of the keys is repeated.
+ """
+ urlencoded_params = urllib.parse.parse_qs(content)
+ params = {}
+ for key, value in six.iteritems(urlencoded_params):
+ if len(value) != 1:
+ msg = ('URL-encoded content contains a repeated value:'
+ '%s -> %s' % (key, ', '.join(value)))
+ raise ValueError(msg)
+ params[key] = value[0]
+ return params
+
+
+def update_query_params(uri, params):
+ """Updates a URI with new query parameters.
+
+ If a given key from ``params`` is repeated in the ``uri``, then
+ the URI will be considered invalid and an error will occur.
+
+ If the URI is valid, then each value from ``params`` will
+ replace the corresponding value in the query parameters (if
+ it exists).
+
+ Args:
+ uri: string, A valid URI, with potential existing query parameters.
+ params: dict, A dictionary of query parameters.
+
+ Returns:
+ The same URI but with the new query parameters added.
+ """
+ parts = urllib.parse.urlparse(uri)
+ query_params = parse_unique_urlencoded(parts.query)
+ query_params.update(params)
+ new_query = urllib.parse.urlencode(query_params)
+ new_parts = parts._replace(query=new_query)
+ return urllib.parse.urlunparse(new_parts)
+
+
+def _add_query_parameter(url, name, value):
+ """Adds a query parameter to a url.
+
+ Replaces the current value if it already exists in the URL.
+
+ Args:
+ url: string, url to add the query parameter to.
+ name: string, query parameter name.
+ value: string, query parameter value.
+
+ Returns:
+ Updated query parameter. Does not update the url if value is None.
+ """
+ if value is None:
+ return url
+ else:
+ return update_query_params(url, {name: value})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-python-client-1.6.4/googleapiclient/channel.py new/google-api-python-client-1.6.7/googleapiclient/channel.py
--- old/google-api-python-client-1.6.4/googleapiclient/channel.py 2017-03-30 21:50:34.000000000 +0200
+++ new/google-api-python-client-1.6.7/googleapiclient/channel.py 2018-04-27 22:44:00.000000000 +0200
@@ -61,15 +61,9 @@
import uuid
from googleapiclient import errors
+from googleapiclient import _helpers as util
import six
-# Oauth2client < 3 has the positional helper in 'util', >= 3 has it
-# in '_helpers'.
-try:
- from oauth2client import util
-except ImportError:
- from oauth2client import _helpers as util
-
# The unix time epoch starts at midnight 1970.
EPOCH = datetime.datetime.utcfromtimestamp(0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-python-client-1.6.4/googleapiclient/discovery.py new/google-api-python-client-1.6.7/googleapiclient/discovery.py
--- old/google-api-python-client-1.6.4/googleapiclient/discovery.py 2017-03-30 21:50:34.000000000 +0200
+++ new/google-api-python-client-1.6.7/googleapiclient/discovery.py 2018-04-27 22:44:00.000000000 +0200
@@ -72,16 +72,9 @@
from googleapiclient.model import MediaModel
from googleapiclient.model import RawModel
from googleapiclient.schema import Schemas
-from oauth2client.client import GoogleCredentials
-# Oauth2client < 3 has the positional helper in 'util', >= 3 has it
-# in '_helpers'.
-try:
- from oauth2client.util import _add_query_parameter
- from oauth2client.util import positional
-except ImportError:
- from oauth2client._helpers import _add_query_parameter
- from oauth2client._helpers import positional
+from googleapiclient._helpers import _add_query_parameter
+from googleapiclient._helpers import positional
# The client library requires a version of httplib2 that supports RETRIES.
@@ -139,7 +132,7 @@
name: string, method name.
Returns:
- The name with a '_' prefixed if the name is a reserved word.
+ The name with an '_' appended if the name is a reserved word.
"""
if keyword.iskeyword(name) or name in RESERVED_WORDS:
return name + '_'
@@ -334,10 +327,6 @@
if http is not None and credentials is not None:
raise ValueError('Arguments http and credentials are mutually exclusive.')
- if developerKey is not None and credentials is not None:
- raise ValueError(
- 'Arguments developerKey and credentials are mutually exclusive.')
-
if isinstance(service, six.string_types):
service = json.loads(service)
@@ -459,7 +448,7 @@
}
-def _fix_up_parameters(method_desc, root_desc, http_method):
+def _fix_up_parameters(method_desc, root_desc, http_method, schema):
"""Updates parameters of an API method with values specific to this library.
Specifically, adds whatever global parameters are specified by the API to the
@@ -477,6 +466,7 @@
root_desc: Dictionary; the entire original deserialized discovery document.
http_method: String; the HTTP method used to call the API method described
in method_desc.
+ schema: Object, mapping of schema names to schema descriptions.
Returns:
The updated Dictionary stored in the 'parameters' key of the method
@@ -497,6 +487,9 @@
if http_method in HTTP_PAYLOAD_METHODS and 'request' in method_desc:
body = BODY_PARAMETER_DEFAULT_VALUE.copy()
body.update(method_desc['request'])
+ # Make body optional for requests with no parameters.
+ if not _methodProperties(method_desc, schema, 'request'):
+ body['required'] = False
parameters['body'] = body
return parameters
@@ -547,7 +540,7 @@
return accept, max_size, media_path_url
-def _fix_up_method_description(method_desc, root_desc):
+def _fix_up_method_description(method_desc, root_desc, schema):
"""Updates a method description in a discovery document.
SIDE EFFECTS: Changes the parameters dictionary in the method description with
@@ -558,6 +551,7 @@
from the dictionary of methods stored in the 'methods' key in the
deserialized discovery document.
root_desc: Dictionary; the entire original deserialized discovery document.
+ schema: Object, mapping of schema names to schema descriptions.
Returns:
Tuple (path_url, http_method, method_id, accept, max_size, media_path_url)
@@ -582,7 +576,7 @@
http_method = method_desc['httpMethod']
method_id = method_desc['id']
- parameters = _fix_up_parameters(method_desc, root_desc, http_method)
+ parameters = _fix_up_parameters(method_desc, root_desc, http_method, schema)
# Order is important. `_fix_up_media_upload` needs `method_desc` to have a
# 'parameters' key and needs to know if there is a 'body' parameter because it
# also sets a 'media_body' parameter.
@@ -710,7 +704,7 @@
"""
methodName = fix_method_name(methodName)
(pathUrl, httpMethod, methodId, accept,
- maxSize, mediaPathUrl) = _fix_up_method_description(methodDesc, rootDesc)
+ maxSize, mediaPathUrl) = _fix_up_method_description(methodDesc, rootDesc, schema)
parameters = ResourceMethodParameters(methodDesc)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-python-client-1.6.4/googleapiclient/errors.py new/google-api-python-client-1.6.7/googleapiclient/errors.py
--- old/google-api-python-client-1.6.4/googleapiclient/errors.py 2017-08-02 21:36:39.000000000 +0200
+++ new/google-api-python-client-1.6.7/googleapiclient/errors.py 2018-04-27 22:44:00.000000000 +0200
@@ -23,12 +23,7 @@
import json
-# Oauth2client < 3 has the positional helper in 'util', >= 3 has it
-# in '_helpers'.
-try:
- from oauth2client import util
-except ImportError:
- from oauth2client import _helpers as util
+from googleapiclient import _helpers as util
class Error(Exception):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-python-client-1.6.4/googleapiclient/http.py new/google-api-python-client-1.6.7/googleapiclient/http.py
--- old/google-api-python-client-1.6.4/googleapiclient/http.py 2017-08-03 17:55:12.000000000 +0200
+++ new/google-api-python-client-1.6.7/googleapiclient/http.py 2018-04-27 22:44:00.000000000 +0200
@@ -55,15 +55,9 @@
from email.mime.nonmultipart import MIMENonMultipart
from email.parser import FeedParser
-# Oauth2client < 3 has the positional helper in 'util', >= 3 has it
-# in '_helpers'.
-try:
- from oauth2client import util
-except ImportError:
- from oauth2client import _helpers as util
+from googleapiclient import _helpers as util
from googleapiclient import _auth
-from googleapiclient import mimeparse
from googleapiclient.errors import BatchError
from googleapiclient.errors import HttpError
from googleapiclient.errors import InvalidChunkSizeError
@@ -75,7 +69,7 @@
LOGGER = logging.getLogger(__name__)
-DEFAULT_CHUNK_SIZE = 512*1024
+DEFAULT_CHUNK_SIZE = 100*1024*1024
MAX_URI_LENGTH = 2048
@@ -83,13 +77,15 @@
DEFAULT_HTTP_TIMEOUT_SEC = 60
+_LEGACY_BATCH_URI = 'https://www.googleapis.com/batch'
+
def _should_retry_response(resp_status, content):
"""Determines whether a response should be retried.
Args:
resp_status: The response status received.
- content: The response content body.
+ content: The response content body.
Returns:
True if the response should be retried, otherwise False.
@@ -112,7 +108,10 @@
# Content is in JSON format.
try:
data = json.loads(content.decode('utf-8'))
- reason = data['error']['errors'][0]['reason']
+ if isinstance(data, dict):
+ reason = data['error']['errors'][0]['reason']
+ else:
+ reason = data[0]['error']['errors']['reason']
except (UnicodeDecodeError, ValueError, KeyError):
LOGGER.warning('Invalid JSON content from response: %s', content)
return False
@@ -164,10 +163,14 @@
# Retry on SSL errors and socket timeout errors.
except _ssl_SSLError as ssl_error:
exception = ssl_error
+ except socket.timeout as socket_timeout:
+ # It's important that this be before socket.error as it's a subclass
+ # socket.timeout has no errorcode
+ exception = socket_timeout
except socket.error as socket_error:
# errno's contents differ by platform, so we have to match by name.
- if socket.errno.errorcode.get(socket_error.errno) not in (
- 'WSAETIMEDOUT', 'ETIMEDOUT', 'EPIPE', 'ECONNABORTED', ):
+ if socket.errno.errorcode.get(socket_error.errno) not in {
+ 'WSAETIMEDOUT', 'ETIMEDOUT', 'EPIPE', 'ECONNABORTED'}:
raise
exception = socket_error
@@ -510,7 +513,6 @@
Construct a MediaFileUpload and pass as the media_body parameter of the
method. For example, if we had a service that allowed uploading images:
-
media = MediaFileUpload('cow.png', mimetype='image/png',
chunksize=1024*1024, resumable=True)
farm.animals().insert(
@@ -654,9 +656,9 @@
request only once.
Returns:
- (status, done): (MediaDownloadStatus, boolean)
+ (status, done): (MediaDownloadProgress, boolean)
The value of 'done' will be True when the media has been fully
- downloaded.
+ downloaded or the total size of the media is unknown.
Raises:
googleapiclient.errors.HttpError if the response was not a 2xx.
@@ -685,7 +687,7 @@
elif 'content-length' in resp:
self._total_size = int(resp['content-length'])
- if self._progress == self._total_size:
+ if self._total_size is None or self._progress == self._total_size:
self._done = True
return MediaDownloadProgress(self._progress, self._total_size), self._done
else:
@@ -767,10 +769,6 @@
self.response_callbacks = []
self._in_error_state = False
- # Pull the multipart boundary out of the content-type header.
- major, minor, params = mimeparse.parse_mime_type(
- self.headers.get('content-type', 'application/json'))
-
# The size of the non-media part of the request.
self.body_size = len(self.body or '')
@@ -1089,7 +1087,17 @@
batch_uri: string, URI to send batch requests to.
"""
if batch_uri is None:
- batch_uri = 'https://www.googleapis.com/batch'
+ batch_uri = _LEGACY_BATCH_URI
+
+ if batch_uri == _LEGACY_BATCH_URI:
+ LOGGER.warn(
+ "You have constructed a BatchHttpRequest using the legacy batch "
+ "endpoint %s. This endpoint will be turned down on March 25, 2019. "
+ "Please provide the API-specific endpoint or use "
+ "service.new_batch_http_request(). For more details see "
+ "https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rp…"
+ "and https://developers.google.com/api-client-library/python/guide/batch.",
+ _LEGACY_BATCH_URI)
self._batch_uri = batch_uri
# Global callback to be called for each individual response in the batch.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-python-client-1.6.4/googleapiclient/sample_tools.py new/google-api-python-client-1.6.7/googleapiclient/sample_tools.py
--- old/google-api-python-client-1.6.4/googleapiclient/sample_tools.py 2017-03-30 21:50:34.000000000 +0200
+++ new/google-api-python-client-1.6.7/googleapiclient/sample_tools.py 2018-04-27 22:44:00.000000000 +0200
@@ -27,9 +27,13 @@
from googleapiclient import discovery
from googleapiclient.http import build_http
-from oauth2client import client
-from oauth2client import file
-from oauth2client import tools
+
+try:
+ from oauth2client import client
+ from oauth2client import file
+ from oauth2client import tools
+except ImportError:
+ raise ImportError('googleapiclient.sample_tools requires oauth2client. Please install oauth2client and try again.')
def init(argv, name, version, doc, filename, scope=None, parents=[], discovery_filename=None):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-python-client-1.6.4/googleapiclient/schema.py new/google-api-python-client-1.6.7/googleapiclient/schema.py
--- old/google-api-python-client-1.6.4/googleapiclient/schema.py 2017-03-30 21:50:34.000000000 +0200
+++ new/google-api-python-client-1.6.7/googleapiclient/schema.py 2018-04-27 22:44:00.000000000 +0200
@@ -65,12 +65,7 @@
import copy
-# Oauth2client < 3 has the positional helper in 'util', >= 3 has it
-# in '_helpers'.
-try:
- from oauth2client import util
-except ImportError:
- from oauth2client import _helpers as util
+from googleapiclient import _helpers as util
class Schemas(object):
1
0
Hello community,
here is the log from the commit of package python-google-api-core for openSUSE:Factory checked in at 2018-05-30 12:24:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-api-core (Old)
and /work/SRC/openSUSE:Factory/.python-google-api-core.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-api-core"
Wed May 30 12:24:17 2018 rev:2 rq:612992 version:1.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-google-api-core/python-google-api-core.changes 2018-05-29 10:43:47.266999338 +0200
+++ /work/SRC/openSUSE:Factory/.python-google-api-core.new/python-google-api-core.changes 2018-05-30 12:37:56.475160126 +0200
@@ -1,0 +2,9 @@
+Tue May 29 15:45:49 UTC 2018 - tbechtold(a)suse.com
+
+- update to 1.2.0:
+ * Add close method to grpc Channel (#5333)
+ * Fix tests after grpcio update (#5333)
+ * Add Test runs for Python 3.7 and remove 3.4 (#5295)
+- use %license
+
+-------------------------------------------------------------------
Old:
----
google-api-core-1.1.2.tar.gz
New:
----
google-api-core-1.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-api-core.spec ++++++
--- /var/tmp/diff_new_pack.Lc4Bwh/_old 2018-05-30 12:37:57.291134145 +0200
+++ /var/tmp/diff_new_pack.Lc4Bwh/_new 2018-05-30 12:37:57.295134018 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-google-api-core
-Version: 1.1.2
+Version: 1.2.0
Release: 0
Summary: Google API client core library
License: Apache-2.0
@@ -26,9 +26,21 @@
Url: https://github.com/GoogleCloudPlatform/google-cloud-python
Source: https://files.pythonhosted.org/packages/source/g/google-api-core/google-api…
BuildRequires: %{python_module devel}
+BuildRequires: %{python_module google-auth}
+BuildRequires: %{python_module googleapis-common-protos}
+BuildRequires: %{python_module grpcio}
+BuildRequires: %{python_module mock}
+BuildRequires: %{python_module protobuf}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module pytz}
+BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+%ifpython2
+BuildRequires: python2-enum34
+BuildRequires: python2-futures
+%endif
Requires: python-google-auth >= 0.4.0
Requires: python-googleapis-common-protos >= 1.5.3
Requires: python-protobuf >= 3.0.0
@@ -37,9 +49,10 @@
Requires: python-setuptools >= 34.0.0
Requires: python-six >= 1.10.0
%ifpython2
-Suggests: python-futures >= 3.2.0
+Requires: python-enum34
+Requires: python-futures >= 3.2.0
%endif
-Suggests: python-grpcio >= 1.8.2
+Requires: python-grpcio >= 1.8.2
BuildArch: noarch
%python_subpackages
@@ -57,8 +70,12 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+#%%check
+#%%python_expand PYTHONPATH=. py.test-%{$python_version} tests/unit
+
%files %{python_files}
-%doc LICENSE README.rst
+%license LICENSE
+%doc README.rst
%{python_sitelib}/*
%changelog
++++++ google-api-core-1.1.2.tar.gz -> google-api-core-1.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-core-1.1.2/PKG-INFO new/google-api-core-1.2.0/PKG-INFO
--- old/google-api-core-1.1.2/PKG-INFO 2018-05-01 18:37:46.000000000 +0200
+++ new/google-api-core-1.2.0/PKG-INFO 2018-05-25 23:28:52.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: google-api-core
-Version: 1.1.2
+Version: 1.2.0
Summary: Google API client core library
Home-page: https://github.com/GoogleCloudPlatform/google-cloud-python
Author: Google LLC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-core-1.1.2/google/api_core/grpc_helpers.py new/google-api-core-1.2.0/google/api_core/grpc_helpers.py
--- old/google-api-core-1.1.2/google/api_core/grpc_helpers.py 2018-04-25 19:05:26.000000000 +0200
+++ new/google-api-core-1.2.0/google/api_core/grpc_helpers.py 2018-05-18 18:12:51.000000000 +0200
@@ -358,3 +358,7 @@
def unsubscribe(self, callback):
"""grpc.Channel.unsubscribe implementation."""
pass
+
+ def close(self):
+ """grpc.Channel.close implementation."""
+ pass
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-core-1.1.2/google_api_core.egg-info/PKG-INFO new/google-api-core-1.2.0/google_api_core.egg-info/PKG-INFO
--- old/google-api-core-1.1.2/google_api_core.egg-info/PKG-INFO 2018-05-01 18:37:45.000000000 +0200
+++ new/google-api-core-1.2.0/google_api_core.egg-info/PKG-INFO 2018-05-25 23:28:52.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: google-api-core
-Version: 1.1.2
+Version: 1.2.0
Summary: Google API client core library
Home-page: https://github.com/GoogleCloudPlatform/google-cloud-python
Author: Google LLC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-core-1.1.2/setup.py new/google-api-core-1.2.0/setup.py
--- old/google-api-core-1.1.2/setup.py 2018-05-01 18:36:45.000000000 +0200
+++ new/google-api-core-1.2.0/setup.py 2018-05-18 18:12:51.000000000 +0200
@@ -22,7 +22,7 @@
name = 'google-api-core'
description = 'Google API client core library'
-version = '1.1.2'
+version = '1.2.0'
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/google-api-core-1.1.2/tests/unit/test_grpc_helpers.py new/google-api-core-1.2.0/tests/unit/test_grpc_helpers.py
--- old/google-api-core-1.1.2/tests/unit/test_grpc_helpers.py 2018-04-25 19:05:26.000000000 +0200
+++ new/google-api-core-1.2.0/tests/unit/test_grpc_helpers.py 2018-05-18 18:12:51.000000000 +0200
@@ -375,3 +375,7 @@
channel = grpc_helpers.ChannelStub()
assert channel.subscribe(None) is None
assert channel.unsubscribe(None) is None
+
+ def test_close(self):
+ channel = grpc_helpers.ChannelStub()
+ assert channel.close() is None
1
0
Hello community,
here is the log from the commit of package python-ed25519ll for openSUSE:Factory checked in at 2018-05-30 12:23:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ed25519ll (Old)
and /work/SRC/openSUSE:Factory/.python-ed25519ll.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ed25519ll"
Wed May 30 12:23:25 2018 rev:4 rq:612881 version:0.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ed25519ll/python-ed25519ll.changes 2013-08-20 12:18:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-ed25519ll.new/python-ed25519ll.changes 2018-05-30 12:37:44.335545315 +0200
@@ -1,0 +2,10 @@
+Tue May 29 14:16:40 UTC 2018 - mcepl(a)suse.com
+
+- Clean SPEC file
+
+-------------------------------------------------------------------
+Thu Aug 24 13:38:01 UTC 2017 - jmatejek(a)suse.com
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -4,0 +15 @@
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ed25519ll.spec ++++++
--- /var/tmp/diff_new_pack.2OY3QW/_old 2018-05-30 12:37:44.839529375 +0200
+++ /var/tmp/diff_new_pack.2OY3QW/_new 2018-05-30 12:37:44.839529375 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-ed25519ll
#
-# Copyright (c) 2013 SUSE LINUX Products 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
@@ -13,23 +13,26 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
-Name: python-ed25519ll
+%define modname ed25519ll
+%define skip_python3 1
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+Name: python-%{modname}
Version: 0.6
Release: 0
-License: MIT
Summary: A low-level ctypes wrapper for Ed25519 digital signatures
-Url: http://bitbucket.org/dholth/ed25519ll/
+License: MIT
Group: Development/Languages/Python
-Source: https://pypi.python.org/packages/source/e/ed25519ll/ed25519ll-%{version}.ta…
-BuildRequires: python-devel
+URL: http://bitbucket.org/dholth/%{modname}/
+Source: https://files.pythonhosted.org/packages/source/e/ed25519ll/%{modname}-%{ver…
+BuildRequires: %{python_module devel}
# Test requirements:
-BuildRequires: python-nose
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%endif
+BuildRequires: %{python_module nose}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+%python_subpackages
%description
Ed25519 is a public-key signature system with several attractive features
@@ -45,19 +48,20 @@
This text abridged from http://ed25519.cr.yp.to/.
%prep
-%setup -q -n ed25519ll-%{version}
+%setup -q -n %{modname}-%{version}
%build
-CFLAGS="%{optflags}" python setup.py build
+export CFLAGS="%{optflags}"
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
-python setup.py test
+%python_exec setup.py test
-%files
-%defattr(-,root,root,-)
+%files %{python_files}
%doc README.txt CHANGES.txt
%{python_sitearch}/*
1
0
Hello community,
here is the log from the commit of package python-django-reversion for openSUSE:Factory checked in at 2018-05-30 12:23:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-reversion (Old)
and /work/SRC/openSUSE:Factory/.python-django-reversion.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-reversion"
Wed May 30 12:23:04 2018 rev:2 rq:612645 version:2.0.13
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-django-reversion/python-django-reversion.changes 2015-04-25 11:23:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-django-reversion.new/python-django-reversion.changes 2018-05-30 12:37:41.519634302 +0200
@@ -1,0 +2,11 @@
+Mon May 28 03:09:07 UTC 2018 - 9+suse(a)cirno.systems
+
+- Rewrite spec file to current conventions
+ * Build documentation
+ * lang packages
+ * Not running tests as these require configuring MySQL and PostgreSQL
+- Update to version 2.0.13:
+ * Years worth of changes, including a breaking major version bump.
+ See CHANGELOG.rst in the package documentation path for details.
+
+-------------------------------------------------------------------
Old:
----
django-reversion-1.8.6.tar.gz
New:
----
django-reversion-2.0.13.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-reversion.spec ++++++
--- /var/tmp/diff_new_pack.Kcriic/_old 2018-05-30 12:37:42.235611689 +0200
+++ /var/tmp/diff_new_pack.Kcriic/_new 2018-05-30 12:37:42.239611563 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-django-reversion
#
-# Copyright (c) 2015 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
@@ -16,47 +16,90 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-django-reversion
-Version: 1.8.6
+Version: 2.0.13
Release: 0
-Url: http://github.com/etianen/django-reversion
-Summary: An app that provides comprehensive version control facilities for Django
+Summary: A Django extension that provides version control for model instances
License: BSD-3-Clause
Group: Development/Languages/Python
-Source: https://pypi.python.org/packages/source/d/django-reversion/django-reversion…
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: python-devel
-Requires: python-django
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
+URL: http://github.com/etianen/django-reversion
+Source: https://files.pythonhosted.org/packages/source/d/django-reversion/django-re…
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+# SECTION documentation requirements
+BuildRequires: %{python_module Django}
+BuildRequires: %{python_module Sphinx}
+# /SECTION
+Requires: python-Django
+Recommends: %{name}-lang = %{version}
BuildArch: noarch
-%endif
+%python_subpackages
-%description
-django-reversion is an extension to the Django web framework that provides
-comprehensive version control facilities.
+%package lang
+Summary: Translations for package %{name}
+Group: System/Localization
+Requires: %{name} = %{version}
+Provides: %{name}-lang-all = %{version}
+Supplements: %{name}
+BuildArch: noarch
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation/HTML
+Requires: %{name} = %{version}
-* Roll back to any point in a model's history - an unlimited undo facility!
-* Recover deleted models - never lose data again!
-* Admin integration for maximum usability.
-* Group related changes into revisions that can be rolled back in a single transaction.
-* Automatically save a new version whenever your model changes using Django's flexible signalling framework.
-* Automate your revision management with easy-to-use middleware.
+%description doc
+This package contains documentation files for %{name}.
+
+%description lang
+Provides translations for the "%{name}" package.
+
+%description
+Django-reversion is an extension to the Django web framework that provides
+version control for model instances.
+- Roll back to any point in a model instance's history.
+- Recover deleted model instances.
+- Simple admin integration.
%prep
%setup -q -n django-reversion-%{version}
%build
-python setup.py build
+%python_build
+if [ ! -d html ]; then
+ %python_exec setup.py develop --user
+ sphinx-build docs html
+ rm -r html/.buildinfo html/.doctrees
+fi
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-%files
-%defattr(-,root,root,-)
-%doc CHANGELOG.rst LICENSE README.rst
+%python_install
+%find_lang django
+%python_expand grep -F "%{$python_sitelib}" django.lang > django_%{$python_bin_suffix}.lang
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%files %{python_files}
+%doc README.rst CHANGELOG.rst
+%license LICENSE
%{python_sitelib}/*
+%exclude %{python_sitelib}/reversion/locale
+
+%files -n %{name}-doc
+%doc html
+
+%if %have_python2 && ! 0%{?skip_python2}
+%files -n %{python2_prefix}-django-reversion-lang -f django_%{python2_bin_suffix}.lang
+%license LICENSE
+%{python2_sitelib}/reversion/locale
+%endif
+
+%if %have_python2 && ! 0%{?skip_python3}
+%files -n %{python3_prefix}-django-reversion-lang -f django_%{python3_bin_suffix}.lang
+%license LICENSE
+%{python3_sitelib}/reversion/locale
+%endif
%changelog
++++++ django-reversion-1.8.6.tar.gz -> django-reversion-2.0.13.tar.gz ++++++
++++ 14599 lines of diff (skipped)
1
0