openSUSE Commits
Threads by month
- ----- 2025 -----
- 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
January 2020
- 1 participants
- 3624 discussions
Hello community,
here is the log from the commit of package rubygem-rspec-its for openSUSE:Leap:15.2 checked in at 2020-01-30 15:46:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/rubygem-rspec-its (Old)
and /work/SRC/openSUSE:Leap:15.2/.rubygem-rspec-its.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rspec-its"
Thu Jan 30 15:46:55 2020 rev:11 rq:767697 version:1.3.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/rubygem-rspec-its/rubygem-rspec-its.changes 2020-01-15 15:59:42.951807656 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.rubygem-rspec-its.new.26092/rubygem-rspec-its.changes 2020-01-30 15:46:55.793290987 +0100
@@ -1,0 +2,13 @@
+Sun May 5 09:43:37 UTC 2019 - Stephan Kulow <coolo(a)suse.com>
+
+- updated to version 1.3.0
+ see installed Changelog.md
+
+ ### 1.3.0 / 2019-04-09
+ [full changelog](http://github.com/rspec/rspec-its/compare/v1.2.0...v1.3.0)
+
+ Enhancements:
+ * Introduced `will` and `will_not` as to allow one line block expectations.
+ (Russ Buchanan, #67)
+
+-------------------------------------------------------------------
Old:
----
rspec-its-1.2.0.gem
New:
----
gem2rpm.yml
rspec-its-1.3.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rspec-its.spec ++++++
--- /var/tmp/diff_new_pack.4Kfdrb/_old 2020-01-30 15:46:56.353291156 +0100
+++ /var/tmp/diff_new_pack.4Kfdrb/_new 2020-01-30 15:46:56.361291159 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-rspec-its
#
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,20 +12,29 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
+
+#
+# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
+# All sections marked as MANUAL, license headers, summaries and descriptions
+# can be maintained in that file. Please consult this file before editing any
+# of those fields
#
Name: rubygem-rspec-its
-Version: 1.2.0
+Version: 1.3.0
Release: 0
%define mod_name rspec-its
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: ruby-macros >= 5
-BuildRequires: %{ruby}
BuildRequires: %{rubygem gem2rpm}
+BuildRequires: %{ruby}
+BuildRequires: ruby-macros >= 5
Url: https://github.com/rspec/rspec-its
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
+Source1: gem2rpm.yml
Summary: Provides "its" method formerly part of rspec-core
License: MIT
Group: Development/Languages/Ruby
++++++ gem2rpm.yml ++++++
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
# this is a custom description
#
# it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
# BuildRequires: foobar
# Requires: foobar
# ## used by gem2rpm
# :patches:
# foo.patch: -p1
# bar.patch:
# :post_patch:
# if you need to fiddle with the source dir before rebuilding the gem
# ## used by gem2rpm
:sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
# ## used by gem2rpm
# :pre_install: |-
# %if 0%{?use_system_libev}
# export USE_VENDORED_LIBEV="no"
# %endif
# ## used by gem2rpm
# :post_install: |-
# # delete custom files here or do other fancy stuff
# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
# ## used by gem2rpm
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
# :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
# :preamble: |-
# Requires: util-linux
# Recommends: pwgen
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom_pkgs:
# apache:
# :preamble: |-
# Requires: .....
# :filelist: |-
# /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
# Custom description is optional
#
# bar
# :post: |-
# /bin/echo foo
# :preamble: |-
# %if 0%{?suse_version} && 0%{?suse_version} < 1330
# %define rb_build_versions ruby24 ruby25
# %define rb_default_ruby_abi ruby:2.4.0 ruby:2.5.0
# %endif
++++++ rspec-its-1.2.0.gem -> rspec-its-1.3.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2015-02-19 00:00:29.000000000 +0100
+++ new/.travis.yml 2019-04-09 12:28:10.000000000 +0200
@@ -1,24 +1,31 @@
language: ruby
script: "script/test_all"
+email: false
+before_install:
+ - script/update_rubygems_and_install_bundler
bundler_args: "--standalone --binstubs --without documentation"
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- - 2.1.0
- - 2.1.1
- - 2.1.2
- - 2.2.0
+ - 2.1
+ - 2.2.10
+ - 2.3.8
+ - 2.4.5
+ - 2.5.3
+ - 2.6.0
- ruby-head
- ree
- - jruby-18mode
- - jruby
+ - jruby-9.2.5.0
- jruby-head
- - rbx
+ - jruby-1.7.27
+ - rbx-3
+env:
+ - JRUBY_OPTS='--dev'
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
- - rvm: rbx
-
+ - rvm: rbx-3
+ fast_finish: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Changelog.md new/Changelog.md
--- old/Changelog.md 2015-02-19 00:00:29.000000000 +0100
+++ new/Changelog.md 2019-04-09 12:28:10.000000000 +0200
@@ -1,3 +1,10 @@
+### 1.3.0 / 2019-04-09
+[full changelog](http://github.com/rspec/rspec-its/compare/v1.2.0...v1.3.0)
+
+Enhancements:
+* Introduced `will` and `will_not` as to allow one line block expectations.
+ (Russ Buchanan, #67)
+
### 1.2.0 / 2015-02-06
[full changelog](http://github.com/rspec/rspec-its/compare/v1.1.0...v1.2.0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2015-02-19 00:00:29.000000000 +0100
+++ new/Gemfile 2019-04-09 12:28:10.000000000 +0200
@@ -6,7 +6,7 @@
%w[rspec rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib|
branch = ENV.fetch('BRANCH','3-1-maintenance')
library_path = File.expand_path("../../#{lib}", __FILE__)
- if File.exist?(library_path)
+ if File.exist?(library_path) && !ENV['USE_GIT_REPOS']
gem lib, :path => library_path
else
gem lib, :git => "git://github.com/rspec/#{lib}.git",
@@ -14,6 +14,14 @@
end
end
+if RUBY_VERSION < '2.0.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/)
+ gem 'ffi', '< 1.9.15' # allow ffi to be installed on older rubies on windows
+elsif RUBY_VERSION < '1.9'
+ gem 'ffi', '< 1.9.19' # ffi dropped Ruby 1.8 support in 1.9.19
+else
+ gem 'ffi', '~> 1.9.25'
+end
+
# test coverage
# gem 'simplecov', :require => false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2015-02-19 00:00:29.000000000 +0100
+++ new/README.md 2019-04-09 12:28:10.000000000 +0200
@@ -6,7 +6,9 @@
Add this line to your application's Gemfile:
- gem 'rspec-its'
+```ruby
+gem 'rspec-its'
+```
And then execute:
@@ -18,50 +20,82 @@
And require it as:
- require 'rspec/its'
+```ruby
+require 'rspec/its'
+```
## Usage
Use the `its` method to generate a nested example group with
a single example that specifies the expected value of an attribute of the
subject using `should`, `should_not` or `is_expected`.
+The `its` method can also specify the block expectations of an attribute of the
+subject using `will` or `will_not`.
`its` accepts a symbol or a string, and a block representing the example.
- its(:size) { should eq(1) }
- its("length") { should eq(1) }
+```ruby
+its(:size) { should eq(1) }
+its("length") { should eq(1) }
+```
You can use a string with dots to specify a nested attribute (i.e. an
attribute of the attribute of the subject).
- its("phone_numbers.size") { should_not eq(0) }
+```ruby
+its("phone_numbers.size") { should_not eq(0) }
+```
The following expect-style method is also available:
- its(:size) { is_expected.to eq(1) }
-
+```ruby
+its(:size) { is_expected.to eq(1) }
+```
+
as is this alias for pluralized use:
- its(:keys) { are_expected.to eq([:key1, :key2])
-
+```ruby
+its(:keys) { are_expected.to eq([:key1, :key2]) }
+```
+
+The following block expect-style method is also available:
+
+```ruby
+its(:size) { will_not raise_error }
+```
+
+as is this alias for pluralized use:
+
+```ruby
+its(:keys) { will raise_error(NoMethodError) }
+```
+
When the subject implements the `[]` operator, you can pass in an array with a single key to
refer to the value returned by that operator when passed that key as an argument.
- its([:key]) { is_expected.to eq(value) }
+```ruby
+its([:key]) { is_expected.to eq(value) }
+```
For hashes, multiple keys within the array will result in successive accesses into the hash. For example:
- subject { {key1: {key2: 3} } }
- its([:key1, :key2]) { is_expected.to eq(3)
+```ruby
+subject { {key1: {key2: 3} } }
+its([:key1, :key2]) { is_expected.to eq(3) }
+```
For other objects, multiple keys within the array will be passed as separate arguments in a single method call to [], as in:
- subject { Matrix[ [:a, :b], [:c, :d] ] }
- its([1,1]) { should eq(:d) }
+```ruby
+subject { Matrix[ [:a, :b], [:c, :d] ] }
+its([1,1]) { should eq(:d) }
+```
Metadata arguments are supported.
- its(:size, focus: true) { should eq(1) }
+```ruby
+its(:size, focus: true) { should eq(1) }
+```
## Contributing
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cucumber.yml new/cucumber.yml
--- old/cucumber.yml 2015-02-19 00:00:29.000000000 +0100
+++ new/cucumber.yml 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-default: --require features --strict --format progress --tags ~@wip features
-wip: --require features --tags @wip:3 --wip features
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/features/its.feature new/features/its.feature
--- old/features/its.feature 2015-02-19 00:00:29.000000000 +0100
+++ new/features/its.feature 2019-04-09 12:28:10.000000000 +0200
@@ -123,3 +123,54 @@
"""
When I run rspec specifying line number 2
Then the examples should all pass
+
+ Scenario: specify a method throws an expection
+ Given a file named "example_spec.rb" with:
+ """ruby
+ class Klass
+ def foo
+ true
+ end
+ end
+
+ describe Klass do
+ subject { Klass.new }
+ its(:foo) { will_not raise_error }
+ its(:bar) { will raise_error(NoMethodError) }
+ end
+ """
+ When I run rspec
+ Then the examples should all pass
+
+ Scenario: specify a method does not throw an expection
+ Given a file named "example_spec.rb" with:
+ """ruby
+ class Klass; end
+
+ describe Klass do
+ subject { Klass.new }
+ its(:foo) { will_not raise_error }
+ end
+ """
+ When I run rspec
+ Then the example should fail
+ And the output should contain "Failure/Error: its(:foo) { will_not raise_error }"
+ And the output should contain "expected no Exception, got #<NoMethodError: undefined method `foo'"
+
+ Scenario: examples will warn when using non block expectations
+ Given a file named "example_spec.rb" with:
+ """ruby
+ class Klass
+ def terminator
+ "back"
+ end
+ end
+
+ describe Klass do
+ subject { Klass.new }
+ its(:terminator) { will be("back") }
+ end
+ """
+ When I run rspec
+ Then the example should fail
+ And the output should contain "ArgumentError:" and "`will` only supports block expectations"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/features/step_definitions/additional_cli_steps.rb new/features/step_definitions/additional_cli_steps.rb
--- old/features/step_definitions/additional_cli_steps.rb 2015-02-19 00:00:29.000000000 +0100
+++ new/features/step_definitions/additional_cli_steps.rb 2019-04-09 12:28:10.000000000 +0200
@@ -19,3 +19,14 @@
step %q{the output should not contain "0 examples"}
step %q{the exit status should be 0}
end
+
+Then(/^the example should fail$/) do
+ step %q{the output should contain "1 failure"}
+ step %q{the exit status should not be 0}
+end
+
+Then(/^the output should contain "(.*?)" and "(.*?)"$/) do |string1, string2|
+ unless [string1, string2].all? { |s| all_output.include?(s) }
+ fail %Q{Both "#{string1}" and "#{string2}" were found in:\n#{all_output}}
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/its/version.rb new/lib/rspec/its/version.rb
--- old/lib/rspec/its/version.rb 2015-02-19 00:00:29.000000000 +0100
+++ new/lib/rspec/its/version.rb 2019-04-09 12:28:10.000000000 +0200
@@ -1,5 +1,5 @@
module RSpec
module Its
- VERSION = "1.2.0"
+ VERSION = "1.3.0"
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/its.rb new/lib/rspec/its.rb
--- old/lib/rspec/its.rb 2015-02-19 00:00:29.000000000 +0100
+++ new/lib/rspec/its.rb 2019-04-09 12:28:10.000000000 +0200
@@ -55,13 +55,14 @@
# its(['admin']) { should eq(:all_permissions) }
# its(['john_doe', :permissions]) { should eq([:read, :write]) }
#
- # # You can still access to its regular methods this way:
+ # # You can still access its regular methods this way:
# its(:keys) { should include(:max_users) }
# its(:count) { should eq(2) }
# end
#
# With an implicit subject, `is_expected` can be used as an alternative
- # to `should` (e.g. for one-liner use)
+ # to `should` (e.g. for one-liner use). An `are_expected` alias is also
+ # supplied.
#
# @example
#
@@ -69,8 +70,26 @@
# its(:size) { is_expected.to eq(0) }
# end
#
- # You can pass more than one arguments on the `its` block to add
- # some options to the generated example
+ # With an implicit subject, `will` can be used as an alternative
+ # to `expect { subject.attribute }.to matcher` (e.g. for one-liner use).
+ #
+ # @example
+ #
+ # describe Array do
+ # its(:foo) { will raise_error(NoMethodError) }
+ # end
+ #
+ # With an implicit subject, `will_not` can be used as an alternative
+ # to `expect { subject.attribute }.to_not matcher` (e.g. for one-liner use).
+ #
+ # @example
+ #
+ # describe Array do
+ # its(:size) { will_not raise_error }
+ # end
+ #
+ # You can pass more than one argument on the `its` block to add
+ # some metadata to the generated example
#
# @example
#
@@ -122,6 +141,20 @@
end
alias_method :are_expected, :is_expected
+ def will(matcher=nil, message=nil)
+ unless matcher.supports_block_expectations?
+ raise ArgumentError, "`will` only supports block expectations"
+ end
+ expect { __its_subject }.to matcher, message
+ end
+
+ def will_not(matcher=nil, message=nil)
+ unless matcher.supports_block_expectations?
+ raise ArgumentError, "`will_not` only supports block expectations"
+ end
+ expect { __its_subject }.to_not matcher, message
+ end
+
def should(matcher=nil, message=nil)
RSpec::Expectations::PositiveExpectationHandler.handle_matcher(__its_subject, matcher, message)
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-02-19 00:00:29.000000000 +0100
+++ new/metadata 2019-04-09 12:28:10.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: rspec-its
version: !ruby/object:Gem::Version
- version: 1.2.0
+ version: 1.3.0
platform: ruby
authors:
- Peter Alfvin
autorequire:
bindir: bin
cert_chain: []
-date: 2015-02-18 00:00:00.000000000 Z
+date: 2019-04-09 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rspec-core
@@ -42,16 +42,16 @@
name: bundler
requirement: !ruby/object:Gem::Requirement
requirements:
- - - "~>"
+ - - ">"
- !ruby/object:Gem::Version
- version: '1.3'
+ version: 1.3.0
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - - "~>"
+ - - ">"
- !ruby/object:Gem::Version
- version: '1.3'
+ version: 1.3.0
- !ruby/object:Gem::Dependency
name: rake
requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '0.5'
+ version: 0.6.2
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '0.5'
+ version: 0.6.2
description: RSpec extension gem for attribute matching
email:
- palfvin(a)gmail.com
@@ -109,7 +109,6 @@
- LICENSE.txt
- README.md
- Rakefile
-- cucumber.yml
- features/its.feature
- features/step_definitions/additional_cli_steps.rb
- features/support/env.rb
@@ -117,12 +116,18 @@
- lib/rspec/its/version.rb
- rspec-its.gemspec
- script/test_all
+- script/update_rubygems_and_install_bundler
- spec/rspec/its_spec.rb
- spec/spec_helper.rb
homepage: https://github.com/rspec/rspec-its
licenses:
- MIT
-metadata: {}
+metadata:
+ bug_tracker_uri: https://github.com/rspec/rspec-its/issues
+ changelog_uri: https://github.com/rspec/rspec-its/blob/v1.3.0/Changelog.md
+ documentation_uri: https://www.rubydoc.info/gems/rspec-its/1.3.0
+ mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
+ source_code_uri: https://github.com/rspec/rspec-its
post_install_message:
rdoc_options: []
require_paths:
@@ -138,8 +143,7 @@
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubyforge_project:
-rubygems_version: 2.4.3
+rubygems_version: 3.0.3
signing_key:
specification_version: 4
summary: Provides "its" method formerly part of rspec-core
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rspec-its.gemspec new/rspec-its.gemspec
--- old/rspec-its.gemspec 2015-02-19 00:00:29.000000000 +0100
+++ new/rspec-its.gemspec 2019-04-09 12:28:10.000000000 +0200
@@ -13,16 +13,24 @@
spec.homepage = "https://github.com/rspec/rspec-its"
spec.license = "MIT"
- spec.files = `git ls-files`.split($/)
+ spec.metadata = {
+ 'bug_tracker_uri' => 'https://github.com/rspec/rspec-its/issues',
+ 'changelog_uri' => "https://github.com/rspec/rspec-its/blob/v#{spec.version}/Changelog.md",
+ 'documentation_uri' => "https://www.rubydoc.info/gems/rspec-its/#{spec.version}",
+ 'mailing_list_uri' => 'https://groups.google.com/forum/#!forum/rspec',
+ 'source_code_uri' => 'https://github.com/rspec/rspec-its',
+ }
+
+ spec.files = `git ls-files`.split($/) - %w[cucumber.yml]
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_runtime_dependency 'rspec-core', '>= 3.0.0'
spec.add_runtime_dependency 'rspec-expectations', '>= 3.0.0'
- spec.add_development_dependency 'bundler', '~> 1.3'
+ spec.add_development_dependency 'bundler', '> 1.3.0'
spec.add_development_dependency 'rake', '~> 10.1.0'
spec.add_development_dependency 'cucumber', '~> 1.3.8'
- spec.add_development_dependency 'aruba', '~> 0.5'
+ spec.add_development_dependency "aruba", "~> 0.6.2" # 0.7 is broken on ruby 1.8.7
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/script/test_all new/script/test_all
--- old/script/test_all 2015-02-19 00:00:29.000000000 +0100
+++ new/script/test_all 2019-04-09 12:28:10.000000000 +0200
@@ -13,8 +13,11 @@
bin/rspec spec --format progress --profile
echo "Running cucumber specs"
-# TODO: it would be nice to figure out how to run the cukes w/o the overhead of
-# bundler, but just running `bin/cucumber` can fail due to the fact that it
-# shells out (via aruba) and executes `rspec`--which can pick up the wrong
-# rspec version if we're not running with bundler.
-bundle exec cucumber
+
+if ruby -e "exit(defined?(RUBY_PLATFORM) && RUBY_PLATFORM == 'java')"; then
+ # This is JRUBY which requires this one weird path trick...
+ PATH="${PWD}/bin:$PATH" \
+ bundle exec cucumber --strict
+else
+ bundle exec cucumber --strict
+fi;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/script/update_rubygems_and_install_bundler new/script/update_rubygems_and_install_bundler
--- old/script/update_rubygems_and_install_bundler 1970-01-01 01:00:00.000000000 +0100
+++ new/script/update_rubygems_and_install_bundler 2019-04-09 12:28:10.000000000 +0200
@@ -0,0 +1,22 @@
+#!/bin/bash
+# This file was generated on 2019-01-03T20:34:23+00:00 from the rspec-dev repo.
+# DO NOT modify it by hand as your changes will get lost the next time it is generated.
+
+set -e
+
+function is_ruby_23_plus {
+ if ruby -e "exit(RUBY_VERSION.to_f >= 2.3)"; then
+ return 0
+ else
+ return 1
+ fi
+}
+
+if is_ruby_23_plus; then
+ gem update --system
+ gem install bundler
+else
+ echo "Warning installing older versions of Rubygems / Bundler"
+ gem update --system '2.7.8'
+ gem install bundler -v '1.17.3'
+fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/rspec/its_spec.rb new/spec/rspec/its_spec.rb
--- old/spec/rspec/its_spec.rb 2015-02-19 00:00:29.000000000 +0100
+++ new/spec/rspec/its_spec.rb 2019-04-09 12:28:10.000000000 +0200
@@ -55,7 +55,11 @@
end
its("name") { should eq("John") }
its("name.size") { should eq(4) }
- its("name.size.class") { should eq(Fixnum) }
+ if RUBY_VERSION >= "2.4.0"
+ its("name.size.class") { should eq(Integer) }
+ else
+ its("name.size.class") { should eq(Fixnum) }
+ end
context "using should_not" do
its("name") { should_not eq("Paul") }
@@ -65,6 +69,10 @@
its("name") { is_expected.to eq("John") }
end
+ context "using will_not" do
+ its("name") { will_not raise_error }
+ end
+
context "using are_expected" do
its("name.chars.to_a") { are_expected.to eq(%w[J o h n]) }
end
@@ -86,7 +94,11 @@
end
its([:a]) { should eq("Symbol: a") }
its(['a']) { should eq("String: a") }
- its([:b, 'c', 4]) { should eq("Symbol: b; String: c; Fixnum: 4") }
+ if RUBY_VERSION >= "2.4.0"
+ its([:b, 'c', 4]) { should eq("Symbol: b; String: c; Integer: 4") }
+ else
+ its([:b, 'c', 4]) { should eq("Symbol: b; String: c; Fixnum: 4") }
+ end
its(:name) { should eq("George") }
context "when referring to an attribute that doesn't exist" do
context "it raises an error" do
@@ -95,6 +107,10 @@
should eq(64)
end.to raise_error(NoMethodError)
end
+
+ context "using will" do
+ its(:age) { will raise_error(NoMethodError) }
+ end
end
end
@@ -109,6 +125,10 @@
its([:not_here]) { should be_nil }
its([:a, :ghost]) { should be_nil }
its([:deep, :ghost]) { expect { should eq("missing") }.to raise_error(NoMethodError) }
+
+ context "using will" do
+ its([:deep, :ghost]) { will raise_error(NoMethodError) }
+ end
end
end
end
@@ -122,6 +142,10 @@
should eq("Symbol: a")
end.to raise_error(NoMethodError)
end
+
+ context "using will" do
+ its([:a]) { will raise_error(NoMethodError) }
+ end
end
end
@@ -232,6 +256,125 @@
end
end
end
+
+ context "when expecting errors" do
+ subject do
+ Class.new do
+ def good; end
+
+ def bad
+ raise ArgumentError, "message"
+ end
+ end.new
+ end
+
+ its(:good) { will_not raise_error }
+ its(:bad) { will raise_error }
+ its(:bad) { will raise_error(ArgumentError) }
+ its(:bad) { will raise_error("message") }
+ its(:bad) { will raise_error(ArgumentError, "message") }
+ end
+
+ context "when expecting throws" do
+ subject do
+ Class.new do
+ def good; end
+
+ def bad
+ throw :abort, "message"
+ end
+ end.new
+ end
+
+ its(:good) { will_not throw_symbol }
+ its(:bad) { will throw_symbol }
+ its(:bad) { will throw_symbol(:abort) }
+ its(:bad) { will throw_symbol(:abort, "message") }
+ end
+
+ context "with change observation" do
+ subject do
+ Class.new do
+ attr_reader :count
+
+ def initialize
+ @count = 0
+ end
+
+ def increment
+ @count += 1
+ end
+
+ def noop; end
+ end.new
+ end
+
+ its(:increment) { will change { subject.count }.by(1) }
+ its(:increment) { will change { subject.count }.from(0) }
+ its(:increment) { will change { subject.count }.from(0).to(1) }
+ its(:increment) { will change { subject.count }.by_at_least(1) }
+ its(:increment) { will change { subject.count }.by_at_most(1) }
+
+ its(:noop) { will_not change { subject.count } }
+ its(:noop) { will_not change { subject.count }.from(0) }
+
+ its(:increment) do
+ expect { will_not change { subject.count }.by(0) }.to \
+ raise_error(NotImplementedError, '`expect { }.not_to change { }.by()` is not supported')
+ end
+
+ its(:increment) do
+ expect { will_not change { subject.count }.by_at_least(2) }.to \
+ raise_error(NotImplementedError, '`expect { }.not_to change { }.by_at_least()` is not supported')
+ end
+
+ its(:increment) do
+ expect { will_not change { subject.count }.by_at_most(3) }.to \
+ raise_error(NotImplementedError, '`expect { }.not_to change { }.by_at_most()` is not supported')
+ end
+ end
+
+ context "with output capture" do
+ subject do
+ Class.new do
+ def stdout
+ print "some output"
+ end
+
+ def stderr
+ $stderr.print "some error"
+ end
+
+ def noop; end
+ end.new
+ end
+
+ its(:stdout) { will output("some output").to_stdout }
+ its(:stderr) { will output("some error").to_stderr }
+
+ its(:noop) { will_not output("some error").to_stderr }
+ its(:noop) { will_not output("some output").to_stdout }
+ end
+
+ context "#will with non block expectations" do
+ subject do
+ Class.new do
+ def terminator
+ "back"
+ end
+ end.new
+ end
+
+ its(:terminator) do
+ expect { will be("back") }.to \
+ raise_error(ArgumentError, '`will` only supports block expectations')
+ end
+
+ its(:terminator) do
+ expect { will_not be("back") }.to \
+ raise_error(ArgumentError, '`will_not` only supports block expectations')
+ end
+ end
end
end
end
1
0
Hello community,
here is the log from the commit of package rubygem-vagrant_cloud for openSUSE:Leap:15.2 checked in at 2020-01-30 15:46:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/rubygem-vagrant_cloud (Old)
and /work/SRC/openSUSE:Leap:15.2/.rubygem-vagrant_cloud.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-vagrant_cloud"
Thu Jan 30 15:46:53 2020 rev:4 rq:767639 version:2.0.3
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/rubygem-vagrant_cloud/rubygem-vagrant_cloud.changes 2020-01-15 15:59:55.263814182 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.rubygem-vagrant_cloud.new.26092/rubygem-vagrant_cloud.changes 2020-01-30 15:46:54.241290520 +0100
@@ -1,0 +2,10 @@
+Wed Oct 16 08:45:57 UTC 2019 - Dan Čermák <dcermak(a)suse.com>
+
+- Update to 2.0.3
+
+ * Pass access_token and base_url into legacy ensure methods
+ [GH-50](https://github.com/hashicorp/vagrant_cloud/pull/50)
+ * Support passing checksum and checksum type values
+ [GH-51](https://github.com/hashicorp/vagrant_cloud/pull/51)
+
+-------------------------------------------------------------------
Old:
----
vagrant_cloud-2.0.2.gem
New:
----
vagrant_cloud-2.0.3.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-vagrant_cloud.spec ++++++
--- /var/tmp/diff_new_pack.xIbRCH/_old 2020-01-30 15:46:55.069290769 +0100
+++ /var/tmp/diff_new_pack.xIbRCH/_new 2020-01-30 15:46:55.081290774 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-vagrant_cloud
-Version: 2.0.2
+Version: 2.0.3
Release: 0
%define mod_name vagrant_cloud
%define mod_full_name %{mod_name}-%{version}
++++++ vagrant_cloud-2.0.2.gem -> vagrant_cloud-2.0.3.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/vagrant_cloud/account.rb new/lib/vagrant_cloud/account.rb
--- old/lib/vagrant_cloud/account.rb 2019-01-09 17:47:28.000000000 +0100
+++ new/lib/vagrant_cloud/account.rb 2019-10-08 19:59:04.000000000 +0200
@@ -84,7 +84,7 @@
# @param [Hash] data
# @return [Box]
def get_box(name, data = nil)
- Box.new(self, name, data)
+ Box.new(self, name, data, nil, nil, @client.access_token, @client.url_base)
end
# @param [String] name
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/vagrant_cloud/box.rb new/lib/vagrant_cloud/box.rb
--- old/lib/vagrant_cloud/box.rb 2019-01-09 17:47:28.000000000 +0100
+++ new/lib/vagrant_cloud/box.rb 2019-10-08 19:59:04.000000000 +0200
@@ -3,7 +3,7 @@
attr_accessor :account
attr_accessor :name
- # @param [String] account
+ # @param [VagrantCloud::Account] account
# @param [String] name
# @param [Hash] data
# @param [String] description
@@ -118,7 +118,7 @@
# @return [Array<Version>]
def versions
- version_list = data['versions'].map { |data| VagrantCloud::Version.new(self, data['number'], data) }
+ version_list = data['versions'].map { |data| VagrantCloud::Version.new(self, data['number'], data, nil, @client.access_token, @client.url_base) }
version_list.sort_by { |version| Gem::Version.new(version.number) }
end
@@ -130,7 +130,7 @@
# @param [Hash] data
# @return [Version]
def get_version(number, data = nil)
- VagrantCloud::Version.new(self, number, data)
+ VagrantCloud::Version.new(self, number, data, nil, @client.access_token, @client.url_base)
end
# @param [String] name
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/vagrant_cloud/client.rb new/lib/vagrant_cloud/client.rb
--- old/lib/vagrant_cloud/client.rb 2019-01-09 17:47:28.000000000 +0100
+++ new/lib/vagrant_cloud/client.rb 2019-10-08 19:59:04.000000000 +0200
@@ -5,6 +5,7 @@
# Base Vagrant Cloud API URL
URL_BASE = 'https://vagrantcloud.com/api/v1'.freeze
attr_accessor :access_token
+ attr_accessor :url_base
# @param [String] access_token - token used to authenticate API requests
# @param [String] url_base - URL used to make API requests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/vagrant_cloud/provider.rb new/lib/vagrant_cloud/provider.rb
--- old/lib/vagrant_cloud/provider.rb 2019-01-09 17:47:28.000000000 +0100
+++ new/lib/vagrant_cloud/provider.rb 2019-10-08 19:59:04.000000000 +0200
@@ -7,13 +7,15 @@
# @param [String] name
# @param [Hash] data
# @param [String] access_token
- def initialize(version, name, data = nil, url = nil, username = nil, box_name = nil, access_token = nil, custom_server = nil)
+ def initialize(version, name, data = nil, url = nil, username = nil, box_name = nil, access_token = nil, custom_server = nil, checksum = nil, checksum_type = nil) # rubocop:disable LineLength
@version = version
@name = name
@data = data
@username = username
@box_name = box_name
@url = url
+ @checksum = checksum
+ @checksum_type = checksum_type
@client = Client.new(access_token, custom_server)
end
@@ -49,14 +51,16 @@
# @param [String] box_name
# @param [String] version_number
def create_provider(name = nil, url = nil, username = nil, box_name = nil, version_number = nil)
- update_data = !(username && version_number && provider_name && box_name)
+ update_data = !(username && version_number && box_name)
name ||= @name
url ||= @url
username ||= @username
box_name ||= @box_name
version_number ||= @version
+ checksum = @checksum
+ checksum_type = @checksum_type
- params = { name: name, url: url }.delete_if { |_, v| v.nil? }
+ params = { name: name, url: url, checksum: checksum, checksum_type: checksum_type }.compact
data = @client.request('post', create_provider_path(username, box_name, version_number), provider: params)
@data = data if update_data
@@ -75,8 +79,10 @@
username ||= @username
box_name ||= @box_name
version_number ||= @version
+ checksum = @checksum
+ checksum_type = @checksum_type
- params = { url: url }
+ params = { url: url, checksum: checksum, checksum_type: checksum_type }.compact
data = @client.request('put',
provider_path(username, box_name, version_number, provider_name),
provider: params)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/vagrant_cloud/version.rb new/lib/vagrant_cloud/version.rb
--- old/lib/vagrant_cloud/version.rb 2019-01-09 17:47:28.000000000 +0100
+++ new/lib/vagrant_cloud/version.rb 2019-10-08 19:59:04.000000000 +0200
@@ -37,7 +37,7 @@
# @return [Array<Provider>]
def providers
- data['providers'].map { |data| Provider.new(self, data['name'], data) }
+ data['providers'].map { |data| Provider.new(self, data['name'], data, nil, nil, nil, @client.access_token, @client.url_base) }
end
# @return [String]
@@ -145,7 +145,7 @@
# @param [Hash] data
# @return [Provider]
def get_provider(name, data = nil)
- Provider.new(self, name, data)
+ Provider.new(self, name, data, nil, nil, nil, @client.access_token, @client.url_base)
end
# @param [String] name
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2019-01-09 17:47:28.000000000 +0100
+++ new/metadata 2019-10-08 19:59:04.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: vagrant_cloud
version: !ruby/object:Gem::Version
- version: 2.0.2
+ version: 2.0.3
platform: ruby
authors:
- HashiCorp
@@ -9,7 +9,7 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2019-01-09 00:00:00.000000000 Z
+date: 2019-10-08 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rest-client
@@ -122,7 +122,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.5.2.1
+rubygems_version: 2.7.8
signing_key:
specification_version: 4
summary: Vagrant Cloud API Library
1
0
Hello community,
here is the log from the commit of package kmymoney for openSUSE:Leap:15.2 checked in at 2020-01-30 15:46:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/kmymoney (Old)
and /work/SRC/openSUSE:Leap:15.2/.kmymoney.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kmymoney"
Thu Jan 30 15:46:48 2020 rev:35 rq:766881 version:5.0.8
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/kmymoney/kmymoney.changes 2020-01-15 15:16:24.962275253 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.kmymoney.new.26092/kmymoney.changes 2020-01-30 15:46:50.057289261 +0100
@@ -1,0 +2,45 @@
+Mon Jan 20 09:07:42 UTC 2020 - Wolfgang Bauer <wbauer(a)tmo.at>
+
+- Update to 5.0.8
+- Bugs fixed:
+ * Editing split memo when there is only one split does not update
+ the record memo (kde#326212)
+ * In German, the dialog uses "share" if it is actually shares
+ and/or bonds (i.e. securities) (kde#361865)
+ * No documentation available for csv exporter (kde#395052)
+ * Opening Balances in forecast are wrong (kde#398982)
+ * SKR03 account template does not contain a flag for an opening
+ balance account (kde#399364)
+ * Tags within Split transaction not reporting correctly
+ (kde#406403)
+ * Investment doesn't show correct value after switching
+ investments (kde#411015)
+ * No display of transactions in the tags view when tags are
+ specified in a split (kde#412429)
+ * Problem with Web addresses at financial institutions
+ (kde#413325)
+ * Reconciliation of Credit Card (kde#413555)
+ * Investments - Edit and New investments - Unable to display
+ online source list for Finance::Quote (kde#414333)
+ * Incorrect "opening balance" in daily and weekly "Investment
+ Worth Graph" (kde#414932)
+ * Changing status of an investment transaction clears bank ID
+ (kde#415257)
+ * False detection of a matching investment cash dividend
+ transaction (kde#415409)
+ * The character < as part of a matched transaction which was
+ imported causes load to fail (kde#415548)
+ * Networth by month shows incorrect values for investment
+ (kde#415668)
+ * Creating multiple tags in a row does not correctly adjust the
+ name (kde#415793)
+ * AppImage is missing the account/category templates (kde#416052)
+ * Changed name of loan account is not saved (kde#416269)
+ * Investment reports show incorrect annualized return percentage
+ (kde#416274)
+ * Add a recuring transaction - loss of input if we forget the
+ source account (kde#416410)
+- Enhancements:
+ * No support for check forms with split protocol (kde#415411)
+
+-------------------------------------------------------------------
Old:
----
kmymoney-5.0.7.tar.xz
New:
----
kmymoney-5.0.8.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kmymoney.spec ++++++
--- /var/tmp/diff_new_pack.JHMlDI/_old 2020-01-30 15:46:51.061289564 +0100
+++ /var/tmp/diff_new_pack.JHMlDI/_new 2020-01-30 15:46:51.081289569 +0100
@@ -1,7 +1,7 @@
#
# spec file for package kmymoney
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,7 @@
%bcond_with qtwebengine
%endif
Name: kmymoney
-Version: 5.0.7
+Version: 5.0.8
Release: 0
Summary: A Personal Finance Manager by KDE
License: GPL-2.0-only OR GPL-3.0-only
@@ -78,7 +78,7 @@
BuildRequires: cmake(Qt5Test) >= 5.6.0
BuildRequires: cmake(Qt5Widgets) >= 5.6.0
BuildRequires: cmake(Qt5Xml) >= 5.6.0
-BuildRequires: cmake(aqbanking) >= 5.99.32
+BuildRequires: cmake(aqbanking) >= 6.0.1
BuildRequires: pkgconfig(libical)
BuildRequires: pkgconfig(sqlcipher)
BuildRequires: pkgconfig(sqlite3)
@@ -121,7 +121,7 @@
%else
%cmake_kf5 -d build
%endif
-%make_jobs
+%cmake_build
%install
%kf5_makeinstall -C build
++++++ kmymoney-5.0.7.tar.xz -> kmymoney-5.0.8.tar.xz ++++++
/work/SRC/openSUSE:Leap:15.2/kmymoney/kmymoney-5.0.7.tar.xz /work/SRC/openSUSE:Leap:15.2/.kmymoney.new.26092/kmymoney-5.0.8.tar.xz differ: char 27, line 1
1
0
Hello community,
here is the log from the commit of package strongswan for openSUSE:Leap:15.2 checked in at 2020-01-30 14:50:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/strongswan (Old)
and /work/SRC/openSUSE:Leap:15.2/.strongswan.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "strongswan"
Thu Jan 30 14:50:32 2020 rev:17 rq:768533 version:5.8.2
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/strongswan/strongswan.changes 2020-01-15 16:04:21.299955180 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.strongswan.new.26092/strongswan.changes 2020-01-30 14:51:44.550945292 +0100
@@ -1,0 +2,459 @@
+Thu Jan 30 09:13:59 UTC 2020 - Madhu Mohan Nelemane <mmnelemane(a)suse.com>
+
+ - Dropped following patches due to irrelevance in the updated version:
+ [- strongswan_modprobe_syslog.patch ]
+ [- strongswan_fipsfilter.patch ]
+ [- 0006-fix-compilation-error-by-adding-stdint.h.patch ]
+ [- 0007-strongswan-5.3.1-5.6.0_gmp-pkcs1-verify.patch ]
+ [- 0008-strongswan-5.1.2-5.6.2_stroke_msg_len.patch ]
+ [- 0009-strongswan-5.5.0-5.6.2_skeyseed_init.patch ]
+ [- 0010-strongswan-4.4.0-5.7.0_gmp-pkcs1-overflow.patch ]
+
+- Updated to version 5.8.2
+
+ - Version 5.8.2
+ ===============
+ * Identity-based CA constraints, which enforce that the certificate chain of the remote
+ peer contains a CA certificate with a specific identity, are supported via
+ vici/swanctl.conf. This is similar to the existing CA constraints but doesn't require
+ that the CA certificate is locally installed, for instance, intermediate CA certificates
+ received from the peers. Wildcard identity matching (e.g. ..., OU=Research, CN=*) could
+ also be used for the latter but requires trust in the intermediate CAs to only issue
+ certificates with legitimate subject DNs (e.g. the "Sales" CA must not issue certificates
+ with OU=Research). With the new constraint that's not necessary as long as a path length
+ basic constraint (--pathlen for pki --issue) prevents intermediate CAs from issuing further
+ intermediate CAs.
+ * Intermediate CA certificates may now be sent in hash-and-URL encoding by configuring a
+ base URL for the parent CA (#3234, swanctl/rw-hash-and-url-multi-level).
+ * Implemented NIST SP-800-90A Deterministic Random Bit Generator (DRBG) based on AES-CTR
+ and SHA2-HMAC modes. Currently used by the gmp and ntru plugins.
+ * Random nonces sent in an OCSP requests are now expected in the corresponding OCSP responses.
+ * The kernel-netlink plugin now ignores deprecated IPv6 addresses for MOBIKE. Whether temporary
+ or permanent IPv6 addresses are included now depends on the charon.prefer_temporary_addrs
+ setting (#3192).
+ * Extended Sequence Numbers (ESN) are configured via PF_KEY if supported by the kernel.
+ * The PF_KEY socket's receive buffer in the kernel-pfkey plugin is now cleared before sending
+ requests, as many of the messages sent by the kernel are sent as broadcasts to all PF_KEY
+ sockets. This is an issue if an external tool is used to manage SAs/policies unrelated to
+ IPsec (#3225).
+ * The vici plugin now uses unique section names for CHILD_SAs in child-updown events (7c74ce9190).
+ * For individually deleted CHILD_SAs (in particular for IKEv1) the vici child-updown event
+ now includes more information about the CHILD_SAs such as traffic statistics (#3198).
+ * Custom loggers are correctly re-registered if log levels are changed via stroke loglevel (#3182).
+ * Avoid lockups during startup on low entropy systems when using OpenSSL 1.1.1 (095a2c2eac).
+ * Instead of failing later when setting a key, creating HMACs via openssl plugin now fails
+ instantly if the underlying hash algorithm isn't supported (e.g. MD5 in FIPS-mode) so fallbacks
+ to other plugins work properly (#3284).
+ * Exponents of RSA keys read from TPM 2.0 via SAPI are correctly converted (8ee1242f1438).
+ * Routing table IDs > 255 are supported for custom routes on Linux.
+ * To avoid races, the check for hardware offloading support in the kernel-netlink plugin is
+ performed during initialization of the plugin (a605452c03).
+ * The D-Bus config file for charon-nm is now installed in $(datadir)/dbus-1/system.d instead of
+ $(sysconfdir)/dbus-1/system.d, which is intended for sysadmin overrides.
+ INVALID_MAJOR_VERSION notifies are now correctly sent in messages of the same exchange type
+ and with the same message ID as the request.
+ * IKEv2 SAs are now immediately destroyed when sending or receiving INVALID_SYNTAX notifies
+ in authenticated messages.
+ * For developers working from the repository the configure script now aborts if GNU gperf is
+ not found.
+
+ - Version 5.8.1
+ ===============
+ * RDNs in DNs of X.509 certificates can now optionally be matched less strict. The global
+ strongswan.conf option charon.rdn_matching takes two alternative values that cause the
+ matching algorithm to either ignore the order of matched RDNs (reordered) or additionally
+ (relaxed) accept DNs that contain more RDNs than configured (unmatched RDNs are treated
+ like wildcard matches).
+ * The updown plugin now passes the same interface to the script that is also used for the
+ automatically installed routes, that is, the interface over which the peer is reached
+ instead of the interface on which the local address is found (#3095).
+ * TPM 2.0 contexts are now protected by a mutex to prevent issues if multiple IKE_SAs use
+ the same private key concurrently (4b25885025).
+ * Do a rekey check after the third QM message was received (#3060).
+ * If available, explicit_bzero() is now used as memwipe() instead of our own implementation.
+ * An .editorconfig file has been added, mainly so Github shows files with proper indentation
+ (68346b6962).
+ * The internal certificate of the load-tester plugin has been modified so it can again be
+ used as end-entity cert with 5.6.3 and later (#3139).
+ * The maximum data length of received COOKIE notifies (64 bytes) is now enforced (#3160).
+
+ - Version 5.8.0
+ ===============
+ * The systemd service units have been renamed. The modern unit, which was called
+ strongswan-swanctl, is now called strongswan (the previous name is configured as alias in
+ the unit, for which a symlink is created when the unit is enabled). The legacy unit is now
+ called strongswan-starter.
+ * Support for XFRM interfaces (available since Linux 4.19) has been added, which are intended
+ to replace VTI devices (they are similar but offer several advantages, for instance, they
+ are not bound to an address or address family).
+ * IPsec SAs and policies are associated with such interfaces via interface IDs that can be
+ configured in swanctl.conf (dynamic IDs may optionally be allocated for each SA and even
+ direction). It's possible to use separate interfaces for in- and outbound traffic (or
+ only use an interface in one direction and regular policies in the other).
+ * Interfaces may be created dynamically via updown/vici scripts, or statically before or after
+ establishing the SAs. Routes must be added manually as needed (the daemon will not install
+ any routes for outbound policies with an interface ID).
+ * When moving XFRM interfaces to other network namespaces they retain access to the SAs and
+ policies installed in the original namespace, which allows providing IPsec tunnels for
+ processes in other network namespaces without giving them access to the IPsec keys or
+ IKE credentials.
+ More information can be found on the page about route-based VPNs.
+ * Initiation of childless IKE_SAs is supported (RFC 6023). If enabled and supported by the
+ responder, no CHILD_SA is established during IKE_AUTH. Instead, all CHILD_SAs are created
+ with CREATE_CHILD_SA exchanges. This allows using a separate DH exchange even for the
+ first CHILD_SA, which is otherwise created during IKE_AUTH with keys derived from the
+ IKE_SA's key material.
+ * The swanctl --initiate command may be used to initiate only the IKE_SA via --ike
+ option if --child is omitted and the peer supports this extension.
+ * The NetworkManager backend and plugin support IPv6.
+ * The new wolfssl plugin is a wrapper around the wolfSSL crypto library. Thanks to Sean
+ Parkinson of wolfSSL Inc. for the initial patch.
+ * IKE SPIs may optionally be labeled via the charon.spi_mask|label options in
+ strongswan.conf. This feature was extracted from charon-tkm, however, now applies the
+ mask/label in network order.
+ * The openssl plugin supports ChaCha20-Poly1305 when built with OpenSSL 1.1.0.
+ * The PB-TNC finite state machine according to section 3.2 of RFC 5793 was not correctly
+ implemented when sending either a CRETRY or SRETRY batch. These batches can only be sent
+ in the "Decided" state and a CRETRY batch can immediately carry all messages usually
+ transported by a CDATA batch. It is currently not possible to send a SRETRY batch since
+ full-duplex mode for PT-TLS transport is not supported.
+ * Instead of marking IPv6 virtual IPs as deprecated, the kernel-netlink plugin now uses
+ address labels to avoid that such addresses are used for non-VPN traffic (00a953d090).
+ * The agent plugin now creates sockets to the ssh/gpg-agent dynamically and does not keep
+ them open, which otherwise might prevent the agent from getting terminated.
+ * To avoid broadcast loops the forecast plugin now only reinjects packets that are marked
+ or received from the configured interface.
+ * UTF-8 encoded passwords are supported via EAP-MSCHAPv2, which internally uses an UTF-16LE
+ encoding to calculate the NT hash (#3014).
+ * Properly delete temporary drop policies (used when updating IP addresses of SAs) if manual
+ priorities are used, which was broken since 5.6.2 (8e31d65730).
+ * Avoid overwriting start_action when parsing the inactivity timeout in the vici plugin (#2954).
+ * Fixed the automatic termination of reloaded vici connections with start_action=start,
+ which was broken since 5.6.3 (71b22c250f).
+ * The lookup for shared secrets for IKEv1 SAs via sql plugin should now work better
+ (6ec9f68f32).
+ * Fixed a race condition in the trap manager between installation and removal of a policy
+ (69cbe2ca3f).
+ * Compilation of the kernel-netlink plugin has been fixed on old kernels (< 2.6.39), which
+ was caused by the HW offload changes (c7f579fa17).
+ * The IPsec stack detection and module loading in starter has been removed (it wasn't
+ enforced anyway and loading modules doesn't seem necessary, also KLIPS hasn't been
+ supported for a long time and PF_KEY will eventually be removed from the Linux kernel,
+ ba817d2917).
+ * Several IKEv2 protocol details are now handled more strictly: Unrequested virtual IPs are
+ ignored, CFG_REPLY payloads are ignored if no CFG_REQUEST payloads were sent, a USE
+ TRANSPORT_MODE notify received from the responder is checked against the local configuration.
+ * The keys and certificates used by the scenarios in the testing environment are now generated
+ dynamically. Running the testing/scripts/build-certs script after creating the base and root
+ images uses the pki utility installed in the latter to create the keys and certificates for
+ all the CAs and in some cases for individual scenarios. These credentials are stored in the
+ source tree, not the image, so this has to be called only once even if the images are later
+ rebuilt. The script automatically (re-)rebuilds the guest images as that generates fresh
+ CRLs and signs the DNS zones. The only keys/certificates currently not generated are the
+ very large ones used by the ikev2/rw-eap-tls-fragments scenario.
+
+ - Version 5.7.2
+ ===============
+ * For RSA with PSS padding, the TPM 2.0 specification mandates the maximum salt length
+ (as defined by the length of the key and hash). However, if the TPM is FIPS-168-4 compliant,
+ the salt length equals the hash length. This is assumed for FIPS-140-2 compliant TPMs, but
+ if that's not the case, it might be necessary to manually enable charon.plugins.tpm.fips_186_4
+ if the TPM doesn't use the maximum salt length.
+ * Directories for credentials loaded by swanctl are now accessed relative to the loaded
+ swanctl.conf file, in particular, when loading it from a custom location via --file argument.
+ * The base directory, which is used if no custom location for swanctl.conf is specified, is now
+ also configurable at runtime via SWANCTL_DIR environment variable.
+ * If RADIUS Accounting is enabled, the eap-radius plugin will add the session ID (Acct-Session-Id)
+ to Access-Request messages, which e.g. simplifies associating database entries for IP leases and
+ accounting with sessions (the session ID does not change when IKE_SAs are rekeyed, #2853).
+ * All IP addresses assigned by a RADIUS server are included in Accounting-Stop messages even if
+ the client did not claim them, allowing to release them early in case of connection errors (#2856).
+ * Selectors installed on transport mode SAs by the kernel-netlink plugin are now updated if an
+ IP address changes (e.g. via MOBIKE) and it was part of the selectors.
+ * No deletes are sent anymore when a rekeyed CHILD_SA expires (#2815).
+ * The bypass-lan plugin now tracks interfaces to handle subnets that move from one interface
+ to another and properly update associated routes (#2820).
+ * Only valid and expected inbound IKEv2 messages are used to update the timestamp of the
+ last received message (previously, retransmits also triggered an update).
+ * IKEv2 requests from responders are now ignored until the IKE_SA is fully established (e.g. if a
+ DPD request from the peer arrives before the IKE_AUTH response does, 46bea1add9).
+ Delayed IKE_SA_INIT responses with COOKIE notifies we already recevied are ignored, they caused
+ another reset of the IKE_SA previously (#2837).
+ * Active and queued Quick Mode tasks are now adopted if the peer reauthenticates an IKEv1 SA
+ while creating lots of CHILD_SAs.
+ * Newer versions of the FreeBSD kernel add an SADB_X_EXT_SA2 extension to SADB_ACQUIRE
+ messages, which allows the kernel-pfkey plugin to determine the reqid of the policy even if it
+ wasn't installed by the daemon previously (e.g. when using FreeBSD's if_ipsec(4) VTIs, which
+ install policies themselves, 872b9b3e8d).
+ * Added support for RSA signatures with SHA-256 and SHA-512 to the agent plugin. For older
+ versions of ssh/gpg-agent that only support SHA-1, IKEv2 signature authentication has to be
+ disabled via charon.signature_authentication.
+ * The sshkey and agent plugins support Ed25519/Ed448 SSH keys and signatures.
+ * The openssl plugin supports X25519/X448 Diffie-Hellman and Ed25519/Ed448 keys and
+ signatures when built against OpenSSL 1.1.1.
+ * Support for Ed25519, ChaCha20/Poly1305, SHA-3 and AES-CCM were added to the botan plugin.
+ * The mysql plugin now properly handles database connections with transactions
+ under heavy load (#2779).
+ * IP addresses in ha pools are now distributed evenly among all segments (#2828).
++++ 262 more lines (skipped)
++++ between /work/SRC/openSUSE:Leap:15.2/strongswan/strongswan.changes
++++ and /work/SRC/openSUSE:Leap:15.2/.strongswan.new.26092/strongswan.changes
Old:
----
0006-fix-compilation-error-by-adding-stdint.h.patch
0007-strongswan-5.3.1-5.6.0_gmp-pkcs1-verify.patch
0008-strongswan-5.1.2-5.6.2_stroke_msg_len.patch
0009-strongswan-5.5.0-5.6.2_skeyseed_init.patch
0010-strongswan-4.4.0-5.7.0_gmp-pkcs1-overflow.patch
strongswan-5.6.0-rpmlintrc
strongswan-5.6.0.tar.bz2
strongswan-5.6.0.tar.bz2.sig
strongswan_fipsfilter.patch
strongswan_modprobe_syslog.patch
New:
----
strongswan-5.8.2.tar.bz2
strongswan-5.8.2.tar.bz2.sig
strongswan-rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ strongswan.spec ++++++
--- /var/tmp/diff_new_pack.5Evsvp/_old 2020-01-30 14:51:45.150945611 +0100
+++ /var/tmp/diff_new_pack.5Evsvp/_new 2020-01-30 14:51:45.154945613 +0100
@@ -1,7 +1,7 @@
#
# spec file for package strongswan
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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
@@ -17,7 +17,7 @@
Name: strongswan
-Version: 5.6.0
+Version: 5.8.2
Release: 0
%define upstream_version %{version}
%define strongswan_docdir %{_docdir}/%{name}
@@ -64,30 +64,22 @@
Summary: OpenSource IPsec-based VPN Solution
License: GPL-2.0+
Group: Productivity/Networking/Security
-Url: http://www.strongswan.org/
-Requires: strongswan-ipsec = %{version}
+URL: https://www.strongswan.org/
Source0: http://download.strongswan.org/strongswan-%{upstream_version}.tar.bz2
Source1: http://download.strongswan.org/strongswan-%{upstream_version}.tar.bz2.sig
Source2: %{name}.init.in
-Source3: %{name}-%{version}-rpmlintrc
+Source3: %{name}-rpmlintrc
Source4: README.SUSE
Source5: %{name}.keyring
%if %{with fipscheck}
Source6: fipscheck.sh.in
Source7: fips-enforce.conf
%endif
-Patch1: %{name}_modprobe_syslog.patch
Patch2: %{name}_ipsec_service.patch
%if %{with fipscheck}
Patch3: %{name}_fipscheck.patch
-Patch4: %{name}_fipsfilter.patch
%endif
Patch5: 0005-ikev1-Don-t-retransmit-Aggressive-Mode-response.patch
-Patch6: 0006-fix-compilation-error-by-adding-stdint.h.patch
-Patch7: 0007-strongswan-5.3.1-5.6.0_gmp-pkcs1-verify.patch
-Patch8: 0008-strongswan-5.1.2-5.6.2_stroke_msg_len.patch
-Patch9: 0009-strongswan-5.5.0-5.6.2_skeyseed_init.patch
-Patch10: 0010-strongswan-4.4.0-5.7.0_gmp-pkcs1-overflow.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison
BuildRequires: curl-devel
@@ -111,10 +103,11 @@
BuildRequires: libgcrypt-devel
%endif
%if %{with nm}
-BuildRequires: NetworkManager-devel
+BuildRequires: pkgconfig(libnm)
%endif
%if %{with systemd}
%{?systemd_requires}
+BuildRequires: pkgconfig(libsystemd)
%endif
BuildRequires: iptables
%if %{with systemd}
@@ -129,6 +122,7 @@
BuildRequires: fipscheck
%endif
BuildRequires: libtool
+Requires: strongswan-ipsec = %{version}
%description
StrongSwan is an OpenSource IPsec-based VPN Solution for Linux
@@ -291,33 +285,26 @@
%prep
%setup -q -n %{name}-%{upstream_version}
-%patch1 -p0
%patch2 -p0
%if %{with fipscheck}
%patch3 -p1
-%patch4 -p1
%endif
%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
sed -e 's|@libexecdir@|%_libexecdir|g' \
- < $RPM_SOURCE_DIR/strongswan.init.in \
+ < %{_sourcedir}/strongswan.init.in \
> strongswan.init
%if %{with fipscheck}
sed -e 's|@IPSEC_DIR@|%{_libexecdir}/ipsec|g' \
-e 's|@IPSEC_LIBDIR@|%{_libdir}/ipsec|g' \
-e 's|@IPSEC_SBINDIR@|%{_sbindir}|g' \
-e 's|@IPSEC_BINDIR@|%{_bindir}|g' \
- < $RPM_SOURCE_DIR/fipscheck.sh.in \
+ < %{_sourcedir}/fipscheck.sh.in \
> _fipscheck
%endif
%build
-CFLAGS="$RPM_OPT_FLAGS -W -Wall -Wno-pointer-sign -Wno-strict-aliasing -Wno-unused-parameter"
-export RPM_OPT_FLAGS CFLAGS
+CFLAGS="%{optflags} -W -Wall -Wno-pointer-sign -Wno-strict-aliasing -Wno-unused-parameter"
+export CFLAGS
autoreconf --force --install
%configure \
%if %{with integrity}
@@ -328,6 +315,7 @@
--with-resolv-conf=%{_rundir}/%{name}/resolv.conf \
--with-piddir=%{_rundir}/%{name} \
%if %{with systemd}
+ --enable-systemd \
--with-systemdsystemunitdir=%{_unitdir} \
%endif
--enable-pkcs11 \
@@ -412,25 +400,24 @@
--enable-soup \
--enable-curl \
--disable-static
-make %{?_smp_mflags:%_smp_mflags}
+make %{?_smp_mflags}
%install
-export RPM_BUILD_ROOT
-install -d -m755 ${RPM_BUILD_ROOT}%{_sbindir}/
-install -d -m755 ${RPM_BUILD_ROOT}%{_sysconfdir}/ipsec.d/
-%if %{with systemd}
-ln -sf %_sbindir/service ${RPM_BUILD_ROOT}%_sbindir/rcstrongswan
-%else
-install -d -m755 ${RPM_BUILD_ROOT}%{_sysconfdir}/init.d/
-install -m755 strongswan.init ${RPM_BUILD_ROOT}%{_sysconfdir}/init.d/ipsec
-ln -s %{_sysconfdir}/init.d/ipsec ${RPM_BUILD_ROOT}%{_sbindir}/rcipsec
+install -d -m755 %{buildroot}/%{_sbindir}/
+install -d -m755 %{buildroot}/%{_sysconfdir}/ipsec.d/
+%if %{with systemd}
+ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rcstrongswan
+%else
+install -d -m755 %{buildroot}/%{_sysconfdir}/init.d/
+install -m755 strongswan.init %{buildroot}/%{_sysconfdir}/init.d/ipsec
+ln -s %{_sysconfdir}/init.d/ipsec %{buildroot}/%{_sbindir}/rcipsec
%endif
#
# Ensure, plugin -> library dependencies can be resolved
# (e.g. libtls) to avoid plugin segment checksum errors.
#
-LD_LIBRARY_PATH="$RPM_BUILD_ROOT-$$%{strongswan_libdir}" \
-make install DESTDIR="$RPM_BUILD_ROOT"
+LD_LIBRARY_PATH="%{buildroot}-$$/%{strongswan_libdir}" \
+%make_install
#
# checksums are calculated during make install using the
# installed binaries/libraries... but find-debuginfo.sh
@@ -441,23 +428,23 @@
%if %{with integrity}
%{?__debug_package:
if test -x %{_rpmconfigdir}/find-debuginfo.sh ; then
- cp -a "${RPM_BUILD_ROOT}" "${RPM_BUILD_ROOT}-$$"
- RPM_BUILD_ROOT="$RPM_BUILD_ROOT-$$" \
+ cp -a "%{buildroot}" "%{buildroot}-$$"
+ RPM_BUILD_ROOT="%{buildroot}-$$" \
%{_rpmconfigdir}/find-debuginfo.sh \
- %{?_find_debuginfo_opts} "${RPM_BUILD_ROOT}-$$"
+ %{?_find_debuginfo_opts} "%{buildroot}-$$"
make -C src/checksum clean
rm -f src/checksum/checksum_builder
- LD_LIBRARY_PATH="$RPM_BUILD_ROOT-$$%{strongswan_libdir}" \
- make -C src/checksum install DESTDIR="$RPM_BUILD_ROOT-$$"
- mv "$RPM_BUILD_ROOT-$$%{strongswan_libdir}/libchecksum.so" \
- "$RPM_BUILD_ROOT%{strongswan_libdir}/libchecksum.so"
- rm -rf "${RPM_BUILD_ROOT}-$$"
+ LD_LIBRARY_PATH="%{buildroot}-$$/%{strongswan_libdir}" \
+ make -C src/checksum install DESTDIR="%{buildroot}-$$"
+ mv "%{buildroot}-$$/%{strongswan_libdir}/libchecksum.so" \
+ "%{buildroot}/%{strongswan_libdir}/libchecksum.so"
+ rm -rf "%{buildroot}-$$"
fi
}
%endif
#
-rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/ipsec.secrets
-cat << EOT > ${RPM_BUILD_ROOT}%{_sysconfdir}/ipsec.secrets
+rm -f %{buildroot}/%{_sysconfdir}/ipsec.secrets
+cat << EOT > %{buildroot}/%{_sysconfdir}/ipsec.secrets
#
# ipsec.secrets
#
@@ -467,47 +454,47 @@
EOT
#
%if ! %{with mysql}
-rm -f $RPM_BUILD_ROOT%{strongswan_templates}/database/sql/mysql.sql
+rm -f %{buildroot}/%{strongswan_templates}/database/sql/mysql.sql
%endif
%if ! %{with sqlite}
-rm -f $RPM_BUILD_ROOT%{strongswan_templates}/database/sql/sqlite.sql
+rm -f %{buildroot}/%{strongswan_templates}/database/sql/sqlite.sql
%endif
-rm -f $RPM_BUILD_ROOT%{strongswan_libdir}/lib{charon,hydra,strongswan,pttls}.so
-rm -f $RPM_BUILD_ROOT%{strongswan_libdir}/lib{radius,simaka,tls,tnccs,imcv}.so
-find $RPM_BUILD_ROOT%{strongswan_libdir} -type f -name "*.la" -delete
+rm -f %{buildroot}/%{strongswan_libdir}/lib{charon,hydra,strongswan,pttls}.so
+rm -f %{buildroot}/%{strongswan_libdir}/lib{radius,simaka,tls,tnccs,imcv}.so
+find %{buildroot}/%{strongswan_libdir} -type f -name "*.la" -delete
#
-install -d -m755 ${RPM_BUILD_ROOT}%{strongswan_docdir}/
+install -d -m755 %{buildroot}/%{strongswan_docdir}/
install -c -m644 TODO NEWS README COPYING LICENSE \
AUTHORS ChangeLog \
- ${RPM_BUILD_ROOT}%{strongswan_docdir}/
-install -c -m644 ${RPM_SOURCE_DIR}/README.SUSE \
- ${RPM_BUILD_ROOT}%{strongswan_docdir}/
+ %{buildroot}/%{strongswan_docdir}/
+install -c -m644 %{_sourcedir}/README.SUSE \
+ %{buildroot}/%{strongswan_docdir}/
%if %{with systemd}
-%{__install} -d -m 0755 %{buildroot}%{_tmpfilesdir}
+install -d -m 0755 %{buildroot}%{_tmpfilesdir}
echo 'd %{_rundir}/%{name} 0770 root root' > %{buildroot}%{_tmpfilesdir}/%{name}.conf
%endif
%if %{with fipscheck}
#
# note: keep the following, _fipscheck's and file lists in sync
#
-install -c -m750 _fipscheck ${RPM_BUILD_ROOT}%{_libexecdir}/ipsec/
-install -c -m644 ${RPM_SOURCE_DIR}/fips-enforce.conf \
- ${RPM_BUILD_ROOT}%{strongswan_configs}/charon/zzz_fips-enforce.conf
+install -c -m750 _fipscheck %{buildroot}/%{_libexecdir}/ipsec/
+install -c -m644 %{_sourcedir}/fips-enforce.conf \
+ %{buildroot}/%{strongswan_configs}/charon/zzz_fips-enforce.conf
# create fips hmac hashes _after_ install post run
%{expand:%%global __os_install_post {%__os_install_post
- for f in $RPM_BUILD_ROOT%{strongswan_libdir}/lib*.so.*.*.* \
- $RPM_BUILD_ROOT%{strongswan_libdir}/imcvs/*.so \
- $RPM_BUILD_ROOT%{strongswan_plugins}/*.so \
- $RPM_BUILD_ROOT%{_libexecdir}/ipsec/charon \
- $RPM_BUILD_ROOT%{_libexecdir}/ipsec/charon-nm \
- $RPM_BUILD_ROOT%{_libexecdir}/ipsec/stroke \
- $RPM_BUILD_ROOT%{_libexecdir}/ipsec/starter \
- $RPM_BUILD_ROOT%{_libexecdir}/ipsec/pool \
- $RPM_BUILD_ROOT%{_libexecdir}/ipsec/scepclient \
- $RPM_BUILD_ROOT%{_libexecdir}/ipsec/imv_policy_manager \
- $RPM_BUILD_ROOT%{_libexecdir}/ipsec/_fipscheck \
- $RPM_BUILD_ROOT%{_bindir}/pt-tls-client \
- $RPM_BUILD_ROOT%{_sbindir}/ipsec \
+ for f in %{buildroot}/%{strongswan_libdir}/lib*.so.*.*.* \
+ %{buildroot}/%{strongswan_libdir}/imcvs/*.so \
+ %{buildroot}/%{strongswan_plugins}/*.so \
+ %{buildroot}/%{_libexecdir}/ipsec/charon \
+ %{buildroot}/%{_libexecdir}/ipsec/charon-nm \
+ %{buildroot}/%{_libexecdir}/ipsec/stroke \
+ %{buildroot}/%{_libexecdir}/ipsec/starter \
+ %{buildroot}/%{_libexecdir}/ipsec/pool \
+ %{buildroot}/%{_libexecdir}/ipsec/scepclient \
+ %{buildroot}/%{_libexecdir}/ipsec/imv_policy_manager \
+ %{buildroot}/%{_libexecdir}/ipsec/_fipscheck \
+ %{buildroot}/%{_bindir}/pt-tls-client \
+ %{buildroot}/%{_sbindir}/ipsec \
;
do
/usr/bin/fipshmac "$f"
@@ -518,7 +505,7 @@
%post libs0
/sbin/ldconfig
%{?tmpfiles_create:%tmpfiles_create %{_tmpfilesdir}/%{name}.conf}
-%{!?tmpfiles_create:test -d %{_rundir}/%{name} || %{__mkdir_p} %{_rundir}/%{name}}
+%{!?tmpfiles_create:test -d %{_rundir}/%{name} || mkdir -p %{_rundir}/%{name}}
%postun libs0 -p /sbin/ldconfig
@@ -592,9 +579,11 @@
%dir %{_sysconfdir}/ipsec.d/ocspcerts
%dir %attr(700,root,root) %{_sysconfdir}/ipsec.d/private
%if %{with systemd}
+%{_unitdir}/strongswan-starter.service
%{_unitdir}/strongswan.service
-%{_sysconfdir}/dbus-1/system.d/nm-strongswan-service.conf
+%{_datadir}/dbus-1/system.d/nm-strongswan-service.conf
%{_sbindir}/rcstrongswan
+%{_sbindir}/charon-systemd
%else
%config %{_sysconfdir}/init.d/ipsec
%{_sbindir}/rcipsec
@@ -615,6 +604,7 @@
%if %{with test}
%{_libexecdir}/ipsec/conftest
%endif
+%{_libexecdir}/ipsec/xfrmi
%{_libexecdir}/ipsec/duplicheck
%{_libexecdir}/ipsec/pool
%{_libexecdir}/ipsec/scepclient
@@ -624,6 +614,7 @@
%{_libexecdir}/ipsec/_imv_policy
%{_libexecdir}/ipsec/imv_policy_manager
%dir %{strongswan_plugins}
+%{strongswan_plugins}/libstrongswan-drbg.so
%{strongswan_plugins}/libstrongswan-stroke.so
%{strongswan_plugins}/libstrongswan-updown.so
@@ -650,6 +641,9 @@
%dir %{strongswan_configs}
%dir %{strongswan_configs}/charon
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon.conf
+%if %{with systemd}
+%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon-systemd.conf
+%endif
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon-logging.conf
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/imcv.conf
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/pki.conf
@@ -660,7 +654,9 @@
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/swanctl.conf
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon/addrblock.conf
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon/aes.conf
+%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon/counters.conf
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon/curve25519.conf
+%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon/drbg.conf
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon/vici.conf
%if %{with afalg}
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon/af-alg.conf
@@ -714,6 +710,7 @@
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon/led.conf
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon/md4.conf
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon/md5.conf
+%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon/mgf1.conf
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon/nonce.conf
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon/openssl.conf
%config(noreplace) %attr(600,root,root) %{strongswan_configs}/charon/pem.conf
@@ -785,6 +782,7 @@
%{strongswan_plugins}/libstrongswan-ccm.so
%{strongswan_plugins}/libstrongswan-certexpire.so
%{strongswan_plugins}/libstrongswan-cmac.so
+%{strongswan_plugins}/libstrongswan-counters.so
%{strongswan_plugins}/libstrongswan-constraints.so
%{strongswan_plugins}/libstrongswan-coupling.so
%{strongswan_plugins}/libstrongswan-ctr.so
@@ -827,6 +825,7 @@
%{strongswan_plugins}/libstrongswan-led.so
%{strongswan_plugins}/libstrongswan-md4.so
%{strongswan_plugins}/libstrongswan-md5.so
+%{strongswan_plugins}/libstrongswan-mgf1.so
%{strongswan_plugins}/libstrongswan-nonce.so
%{strongswan_plugins}/libstrongswan-openssl.so
%{strongswan_plugins}/libstrongswan-pem.so
@@ -885,6 +884,7 @@
%{strongswan_templates}/config/plugins/ccm.conf
%{strongswan_templates}/config/plugins/certexpire.conf
%{strongswan_templates}/config/plugins/cmac.conf
+%{strongswan_templates}/config/plugins/counters.conf
%{strongswan_templates}/config/plugins/constraints.conf
%{strongswan_templates}/config/plugins/coupling.conf
%{strongswan_templates}/config/plugins/ctr.conf
@@ -892,6 +892,7 @@
%{strongswan_templates}/config/plugins/des.conf
%{strongswan_templates}/config/plugins/dhcp.conf
%{strongswan_templates}/config/plugins/dnskey.conf
+%{strongswan_templates}/config/plugins/drbg.conf
%{strongswan_templates}/config/plugins/duplicheck.conf
%{strongswan_templates}/config/plugins/eap-aka-3gpp2.conf
%{strongswan_templates}/config/plugins/eap-aka.conf
@@ -927,6 +928,7 @@
%{strongswan_templates}/config/plugins/led.conf
%{strongswan_templates}/config/plugins/md4.conf
%{strongswan_templates}/config/plugins/md5.conf
+%{strongswan_templates}/config/plugins/mgf1.conf
%{strongswan_templates}/config/plugins/nonce.conf
%{strongswan_templates}/config/plugins/openssl.conf
%{strongswan_templates}/config/plugins/pem.conf
@@ -966,6 +968,9 @@
%{strongswan_templates}/config/plugins/xcbc.conf
%{strongswan_templates}/config/plugins/curve25519.conf
%{strongswan_templates}/config/plugins/vici.conf
+%if %{with systemd}
+%{strongswan_templates}/config/strongswan.d/charon-systemd.conf
+%endif
%{strongswan_templates}/config/strongswan.d/charon-logging.conf
%{strongswan_templates}/config/strongswan.d/charon.conf
%{strongswan_templates}/config/strongswan.d/imcv.conf
++++++ strongswan-5.6.0.tar.bz2 -> strongswan-5.8.2.tar.bz2 ++++++
++++ 282521 lines of diff (skipped)
++++++ strongswan-rpmlintrc ++++++
### Known warnings:
# - traditional name
addFilter("strongswan.* incoherent-init-script-name ipsec")
# - readme only, triggers full ipsec + ikev1&ikev2 install
addFilter("strongswan.* no-binary")
# - link to init script, covered by service(8)
addFilter("strongswan.* no-manual-page-for-binary rcipsec")
# - no, restating tunnels on update may break the update
addFilter("strongswan.*restart_on_update-postun /etc/init.d/ipsec")
++++++ strongswan_ipsec_service.patch ++++++
--- /var/tmp/diff_new_pack.5Evsvp/_old 2020-01-30 14:51:49.842948106 +0100
+++ /var/tmp/diff_new_pack.5Evsvp/_new 2020-01-30 14:51:49.842948106 +0100
@@ -1,6 +1,6 @@
---- init/systemd/strongswan.service.in
-+++ init/systemd/strongswan.service.in 2012/10/31 15:21:11
-@@ -8,3 +8,4 @@ StandardOutput=syslog
+--- init/systemd-starter/strongswan-starter.service.in
++++ init/systemd-starter/strongswan-starter.service.in
+@@ -9,3 +9,4 @@
[Install]
WantedBy=multi-user.target
1
0
Hello community,
here is the log from the commit of package gnome-software for openSUSE:Leap:15.2 checked in at 2020-01-30 14:50:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/gnome-software (Old)
and /work/SRC/openSUSE:Leap:15.2/.gnome-software.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-software"
Thu Jan 30 14:50:31 2020 rev:72 rq:768412 version:3.34.2
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/gnome-software/gnome-software.changes 2020-01-15 15:04:55.861888533 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.gnome-software.new.26092/gnome-software.changes 2020-01-30 14:51:42.214944049 +0100
@@ -1,0 +2,480 @@
+Wed Jan 29 16:57:40 UTC 2020 - Lubos Kocman <lubos.kocman(a)suse.com>
+
+- Apply polkit workaround also for Leap 15.2
+ bsc#1157928 poo#62762
+
+-------------------------------------------------------------------
+Thu Nov 28 09:48:12 UTC 2019 - Frederic Crozat <fcrozat(a)suse.com>
+
+- Don't start gnome-software at startup and disable its search
+ extension on SLE until bsc#1157928 is fixed properly.
+
+-------------------------------------------------------------------
+Wed Nov 27 10:22:33 UTC 2019 - Yifan Jiang <yfjiang(a)suse.com>
+
+- Rebase gnome-software-launch-gpk-update-viewer-for-updates.patch
+
+-------------------------------------------------------------------
+Mon Nov 25 10:18:26 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.34.2:
+ + Do not show a crazy error when installing packages.
+ + Do not show non-applications in the installed panel.
+ + Download Flatpak updates in the correct installation.
+ + Fix a potential threading crash when using flatpak.
+ + Fix a small memory leaks.
+ + Set the shell extension origin correctly in all cases.
+ + Speed up flatpak loading in some situations.
+ + Updated translations.
+- Drop gnome-software-fwupd-dependency.patch: Fixed upstream.
+
+-------------------------------------------------------------------
+Tue Nov 19 07:10:33 UTC 2019 - Jonathan Kang <songchuan.kang(a)suse.com>
+
+- Add gnome-software-fwupd-dependency.patch: fwupd: Fix compile
+ with old versions of fwupd (bsc#1156960,
+ gh#hughsie/gnome-software!362).
+
+-------------------------------------------------------------------
+Mon Oct 7 16:55:15 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.34.1:
+ + Fix firmware updates where the device needed a manual detach.
+ + Fix installing webapps.
+ + Fix signal blocking for search.
+ + Fix third party repo enabling.
+ + Hide the shortcut buttons for parentally filtered apps.
+ + Make disabled flatpak remote enabling work.
+ + Show snap channels as app alternates.
+ + Show the correct application when clicking from the GNOME Shell
+ menu.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Mon Sep 9 14:34:44 CDT 2019 - mgorse(a)suse.com
+
+- Update to version 3.34.0:
+ + Add a link to the privacy policy in the review dialog.
+ + Add and improve many overview banners.
+ + Add support for download scheduling using Mogwai.
+ + Allow installing locale data automatically.
+ + Allow snaps to be shown by AppStream ID.
+ + Don't apply drop shadow on stock symbolic icons.
+ + Don't install queued apps when the network changes and is
+ metered.
+ + Fix the 'localised in my language' kudo.
+ + Hide addons that are not available in repos.
+ + Localize ESRB content rating strings.
+ + Never show the installation progress bar going backwards.
+ + Notify the user when an application can escape the sandbox.
+ + Refactor screenshots and hide those unavailable when offline.
+ + Select the rating systems selected based by territory.
+ + Use smaller default size for main window when required.
+ + Updated Translations.
+
+-------------------------------------------------------------------
+Thu Jul 11 17:51:39 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.32.4:
+ + Fix an issue that led to some packages with multiple appdata
+ files not correctly showing up on the updates page.
+ + Fix various problems with flatpak branch handling that were
+ causing issues with freedesktop.org runtime updates.
+ + Fix flatpak update versions to correctly show up.
+ + Various other minor bug fixes.
+
+-------------------------------------------------------------------
+Fri Jul 5 09:26:03 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Drop pkgconfig(valgrind) BuildRequires, and pass valgrind=false
+ to meson. Fixes build for arm, and we do not really need valgrind
+ integration.
+
+-------------------------------------------------------------------
+Fri May 24 20:17:42 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.32.3:
+ + Add missing XbSilo locking, hopefully fixing a large number of
+ reported crashes.
+ + Fix a regression that caused the fonts category to go missing.
+ + Show a placeholder on the details page when we don't have the
+ actual icon.
+ + Plug a large memory leak.
+ + Use nicer arrows for version numbers on the updates page.
+ + Fix an issue that led to screenshots not being correctly scaled
+ on hidpi.
+ + flatpak:
+ - Fix several double-uses of GErrors.
+ - Handle failure of a libflatpak function updating permissions.
+ + rpm-ostree: Implement what-provides decompose.
+
+-------------------------------------------------------------------
+Tue May 7 13:15:41 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.32.2:
+ + Avoid showing a review more than once.
+ + Correctly update progress bar when downloading packagekit
+ distro upgrades.
+ + Fix a crash when closing the updates dialog before the content
+ has loaded.
+ + Fix CTRL+F not working right in certains conditions.
+ + Set 022 umask to make sure flatpak system helper process can
+ read the files we've written.
+ + rpm-ostree:
+ - Implement getting the repo list, and enabling and disabling
+ repos.
+ - Implement provides search.
+ - Make layered apps not discoverable in the UI.
+ + Various other minor bug fixes.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Tue Apr 16 09:36:05 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.32.1:
+ + Add drop shadows to app icons.
+ + Various fixes to initial loading screen.
+ + Show a generic icon instead of empty space if we failed to load
+ the app icon.
+ + Update featured banners for Maps and Blender.
+ + Update featured app IDs.
+ + Fix a crash due to missing locking.
+ + Fix missing back button under certain conditions.
+ + Fix loading AppSteam data from .yml.gz files.
+ + Fix an issue that caused flatpak repo to not be correctly shown
+ when it matched an existing packagekit repo name.
+ + Hide the fwupd Vendor repo in the repos dialog.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Tue Mar 12 06:36:31 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.32.0:
+ + trivial: Don't crash when installing a web-app.
+ + Remove reference to obsolete Ubuntu review plugin from README.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Tue Mar 5 22:22:27 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.31.92:
+ + Add two missing description strings for flatpak permissions.
+ + Only show permissions for flatpak apps and not for e.g. fonts.
+ + Fix flatpak permissions to correctly show up for available
+ apps.
+ + Hide various details page items that don't make sense when
+ showing .flatpakrepo files.
+ + Fix an issue that caused descriptions to sometimes not get
+ correctly loaded.
+ + Sort the items in the Source drop down.
+ + Don't show error notifications for background download and
+ refresh errors.
+ + Fix an issue that could cause an explosion of "A restart is
+ required" notifications.
+ + Various flatpak plugin fixes to make it correctly match the
+ data when multiple flatpak repos are available.
+ + Fix the rpm-ostree plugin to correctly convert remote dbus
+ errors.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Mon Feb 25 19:26:49 UTC 2019 - bjorn.lie(a)gmail.com
+
+- Update to version 3.31.90:
+ + Fix showing the installed check mark on tiles.
+ + Fix crashes in the packagekit plugin due to missing locking.
+ + Add back support for appstream data in
+ /var/{cache,lib}/app-info directories that accidentally got
+ left out with the libxmlb rewrite.
+ + Update the featured banner for gnome-chess.
+ + Fix the details page alignment when only one screenshot is
+ shown.
+ + Move the Update button to the right hand side on the details
+ page.
+ + Fix enabling repos when installing codecs through the extras
+ page.
+ + Remove the Sundry folder and sync the apps in the Utilities
+ folder with gnome-menus 3.31.90.
++++ 465 more lines (skipped)
++++ between /work/SRC/openSUSE:Leap:15.2/gnome-software/gnome-software.changes
++++ and /work/SRC/openSUSE:Leap:15.2/.gnome-software.new.26092/gnome-software.changes
Old:
----
gnome-software-3.26.7.tar.xz
New:
----
gnome-software-3.34.2.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-software.spec ++++++
--- /var/tmp/diff_new_pack.xzXD6O/_old 2020-01-30 14:51:42.782944352 +0100
+++ /var/tmp/diff_new_pack.xzXD6O/_new 2020-01-30 14:51:42.782944352 +0100
@@ -1,7 +1,7 @@
#
# spec file for package gnome-software
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,51 +12,52 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%define gs_plugin_api 11
+%define gs_plugin_api 13
Name: gnome-software
-Version: 3.26.7
+Version: 3.34.2
Release: 0
Summary: GNOME Software Store
License: GPL-2.0-or-later
Group: System/GUI/GNOME
-URL: https://wiki.gnome.org/Design/Apps/Software
-Source0: http://download.gnome.org/sources/gnome-software/3.26/%{name}-%{version}.ta…
+URL: https://wiki.gnome.org/Apps/Software
+Source0: https://download.gnome.org/sources/gnome-software/3.34/%{name}-%{version}.t…
+%if 0%{?sle_version}
# PATCH-FIX-OPENSUSE gnome-software-launch-gpk-update-viewer-for-updates.patch bsc#1077332 boo#1090042 sckang(a)suse.com -- Don't launch gnome-software when clicking the updates notification. Launch gpk-update-viewer instead.
Patch0: gnome-software-launch-gpk-update-viewer-for-updates.patch
+%endif 0%{?sle_version}
BuildRequires: gtk-doc
-BuildRequires: intltool >= 0.35.0
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: suse-xsl-stylesheets
-BuildRequires: pkgconfig(appstream-glib) >= 0.7.0
-BuildRequires: pkgconfig(flatpak) >= 0.8.0
-BuildRequires: pkgconfig(fwupd) >= 0.9.7
-BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.31.5
-BuildRequires: pkgconfig(gio-unix-2.0) >= 2.46.0
-BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.17.92
+BuildRequires: pkgconfig(appstream-glib) >= 0.7.3
+BuildRequires: pkgconfig(flatpak) >= 0.6.12
+BuildRequires: pkgconfig(fwupd) >= 1.0.3
+BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.32.0
+BuildRequires: pkgconfig(gio-unix-2.0)
+BuildRequires: pkgconfig(gmodule-2.0)
+BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.18.0
+BuildRequires: pkgconfig(goa-1.0)
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.11.5
-BuildRequires: pkgconfig(gtk+-3.0) >= 3.18.2
-BuildRequires: pkgconfig(gtkspell3-3.0)
+BuildRequires: pkgconfig(gspell-1)
+BuildRequires: pkgconfig(gtk+-3.0) >= 3.20.0
BuildRequires: pkgconfig(gudev-1.0)
-BuildRequires: pkgconfig(json-glib-1.0) >= 1.1.1
+BuildRequires: pkgconfig(json-glib-1.0) >= 1.2.0
BuildRequires: pkgconfig(libsecret-1)
-BuildRequires: pkgconfig(libsoup-2.4) >= 2.51.92
-BuildRequires: pkgconfig(libxslt)
+BuildRequires: pkgconfig(libsoup-2.4) >= 2.52.0
BuildRequires: pkgconfig(packagekit-glib2) >= 1.1.0
BuildRequires: pkgconfig(polkit-gobject-1)
-BuildRequires: pkgconfig(rpm)
BuildRequires: pkgconfig(sqlite3)
-BuildRequires: pkgconfig(valgrind)
-Requires: iso-codes
-Requires: libzypp-plugin-appdata
+BuildRequires: pkgconfig(xmlb) >= 0.1.7
# boo#1090042
Requires: fwupd
-Recommends: %{name}-lang
+Requires: iso-codes
+Requires: libzypp-plugin-appdata
+Recommends: flatpak
%description
AppStore like management of Applications for your GNOME Desktop.
@@ -73,29 +74,40 @@
%lang_package
%prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
%build
%meson \
- -D enable-ubuntu-reviews=false \
- -D enable-ubuntuone=false \
- -D enable-tests=false \
- -D enable-fwupd=true \
- -D enable-gtkspell=true \
+ -Dtests=false \
+ -Dvalgrind=false \
%{nil}
%meson_build
%install
%meson_install
-
-# Test shipping gnome-software-local-file in GN
-# Currently not shipped, as this is not yet functional (boo#941862)
-rm %{buildroot}%{_datadir}/applications/gnome-software-local-file.desktop
%find_lang %{name}
+# Remove any piece of doc that ends up in non-standard locations and use the doc macro instead
+rm %{buildroot}%{_datadir}/doc/%{name}/README.md
+
+%if 0%{?sle_version} == 150200
+#needed for both Leap and SLE
+#workaround until bsc#1157928 is resolved, otherwise SLES users get authentication popup all the time
+cat << EOF >> %{buildroot}%{_sysconfdir}/xdg/autostart/gnome-software-service.desktop
+Hidden=true
+EOF
+
+cat << EOF > %{buildroot}%{_datadir}/glib-2.0/schemas/00_org.gnome.software.gschema.override
+#workaround until bsc#1157928 is resolved, otherwise SLES users get authentication popup all the time
+[org.gnome.desktop.search-providers]
+disabled=["org.gnome.Software.desktop"]
+EOF
+
+%endif
+
%files
%license COPYING
+%doc NEWS README.md
%{_bindir}/%{name}
%{_bindir}/%{name}-editor
%{_datadir}/%{name}/
@@ -108,19 +120,18 @@
%{_datadir}/metainfo/org.gnome.Software.Plugin.Flatpak.metainfo.xml
%{_datadir}/metainfo/org.gnome.Software.Plugin.Fwupd.metainfo.xml
%{_datadir}/metainfo/org.gnome.Software.Plugin.Odrs.metainfo.xml
-%{_datadir}/metainfo/org.gnome.Software.Plugin.Steam.metainfo.xml
-# Test shipping gnome-software-local-file in GN
-# Currently not shipped, as this is not yet functional (boo#941862)
-#{_datadir}/applications/gnome-software-local-file.desktop
+%{_datadir}/applications/gnome-software-local-file.desktop
%{_datadir}/applications/org.gnome.Software.desktop
%{_datadir}/dbus-1/services/org.gnome.Software.service
%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service
%{_datadir}/glib-2.0/schemas/org.gnome.software.gschema.xml
+%if 0%{?sle_version} == 150200
+%{_datadir}/glib-2.0/schemas/00_org.gnome.software.gschema.override
+%endif
%dir %{_datadir}/gnome-shell
%dir %{_datadir}/gnome-shell/search-providers
%{_datadir}/gnome-shell/search-providers/org.gnome.Software-search-provider.ini
-%{_datadir}/icons/hicolor/*/apps/org.gnome.Software*
-%{_datadir}/icons/hicolor/scalable/apps/software-installed-symbolic.svg
+%{_datadir}/icons/hicolor/*/*/*.svg
%dir %{_libdir}/gs-plugins-%{gs_plugin_api}
%{_libdir}/gs-plugins-%{gs_plugin_api}/*.so
#{_libexecdir}/gnome-software-service
@@ -132,21 +143,20 @@
%{_datadir}/applications/org.gnome.Software.Editor.desktop
%files devel
+%doc AUTHORS MAINTAINERS
%dir %{_includedir}/%{name}
%{_datadir}/gtk-doc/html/%{name}/
%dir %{_datadir}/doc/gnome-software
-%{_datadir}/doc/gnome-software/README
%{_includedir}/%{name}/gnome-software.h
%{_includedir}/%{name}/gs-app-list.h
%{_includedir}/%{name}/gs-app.h
-%{_includedir}/%{name}/gs-auth.h
%{_includedir}/%{name}/gs-category.h
+%{_includedir}/%{name}/gs-metered.h
%{_includedir}/%{name}/gs-os-release.h
%{_includedir}/%{name}/gs-plugin-vfuncs.h
%{_includedir}/%{name}/gs-plugin.h
%{_includedir}/%{name}/gs-plugin-event.h
%{_includedir}/%{name}/gs-plugin-types.h
-%{_includedir}/%{name}/gs-price.h
%{_includedir}/%{name}/gs-utils.h
%{_libdir}/pkgconfig/gnome-software.pc
++++++ gnome-software-3.26.7.tar.xz -> gnome-software-3.34.2.tar.xz ++++++
++++ 350286 lines of diff (skipped)
++++++ gnome-software-launch-gpk-update-viewer-for-updates.patch ++++++
--- /var/tmp/diff_new_pack.xzXD6O/_old 2020-01-30 14:51:44.274945145 +0100
+++ /var/tmp/diff_new_pack.xzXD6O/_new 2020-01-30 14:51:44.278945147 +0100
@@ -1,16 +1,17 @@
-Index: gnome-software-3.26.7/src/gs-application.c
+Index: gnome-software-3.34.2/src/gs-application.c
===================================================================
---- gnome-software-3.26.7.orig/src/gs-application.c
-+++ gnome-software-3.26.7/src/gs-application.c
-@@ -492,18 +492,29 @@ set_mode_activated (GSimpleAction *actio
+--- gnome-software-3.34.2.orig/src/gs-application.c
++++ gnome-software-3.34.2/src/gs-application.c
+@@ -511,20 +511,34 @@ set_mode_activated (GSimpleAction *actio
GsApplication *app = GS_APPLICATION (data);
const gchar *mode;
-- initialize_ui_and_present_window (app, NULL);
+- gs_application_present_window (app, NULL);
+-
+- gs_shell_reset_state (app->shell);
-
mode = g_variant_get_string (parameter, NULL);
if (g_strcmp0 (mode, "updates") == 0) {
-- gs_shell_set_mode (app->shell, GS_SHELL_MODE_UPDATES);
+ gboolean ret;
+ GError *error = NULL;
+
@@ -21,17 +22,22 @@
+ error->message);
+ g_error_free (error);
+ }
+ gs_shell_set_mode (app->shell, GS_SHELL_MODE_UPDATES);
} else if (g_strcmp0 (mode, "installed") == 0) {
-+ initialize_ui_and_present_window (app, NULL);
++ gs_application_present_window (app, NULL);
++ gs_shell_reset_state (app->shell);
gs_shell_set_mode (app->shell, GS_SHELL_MODE_INSTALLED);
} else if (g_strcmp0 (mode, "moderate") == 0) {
-+ initialize_ui_and_present_window (app, NULL);
++ gs_application_present_window (app, NULL);
++ gs_shell_reset_state (app->shell);
gs_shell_set_mode (app->shell, GS_SHELL_MODE_MODERATE);
} else if (g_strcmp0 (mode, "overview") == 0) {
-+ initialize_ui_and_present_window (app, NULL);
++ gs_application_present_window (app, NULL);
++ gs_shell_reset_state (app->shell);
gs_shell_set_mode (app->shell, GS_SHELL_MODE_OVERVIEW);
} else if (g_strcmp0 (mode, "updated") == 0) {
-+ initialize_ui_and_present_window (app, NULL);
++ gs_application_present_window (app, NULL);
++ gs_shell_reset_state (app->shell);
gs_shell_set_mode (app->shell, GS_SHELL_MODE_UPDATES);
gs_shell_show_installed_updates (app->shell);
} else {
1
0
Hello community,
here is the log from the commit of package flatpak for openSUSE:Leap:15.2 checked in at 2020-01-30 14:50:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/flatpak (Old)
and /work/SRC/openSUSE:Leap:15.2/.flatpak.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "flatpak"
Thu Jan 30 14:50:31 2020 rev:38 rq:766111 version:1.6.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/flatpak/flatpak.changes 2020-01-15 14:55:16.421583535 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.flatpak.new.26092/flatpak.changes 2020-01-30 14:51:40.794943294 +0100
@@ -2 +2 @@
-Thu Mar 28 16:28:17 UTC 2019 - Antonio Larrosa <alarrosa(a)suse.com>
+Tue Jan 14 11:23:06 UTC 2020 - Antonio Larrosa <alarrosa(a)suse.com>
@@ -4,3 +4,162 @@
-- Add upstream patch to fix a sandbox bypass using the TIOCSTI ioctl
- (boo#1130637, CVE-2019-10063, gh#flatpak/flatpak#2782)
- * 0001-Only-compare-the-lowest-32-ioctl-arg-bits-for-TIOCSTI.patch
+- Update dependencies required by flatpak 1.6.0 .
+- Require xdg-dbus-proxy instead of building the (outdated)
+ builtin version.
+
+-------------------------------------------------------------------
+Mon Dec 30 10:00:24 UTC 2019 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- Change %_prefix/lib to %_libexecdir: Makefile installs the file
+ explicitly into libexecdir. Let's be ready in case this path is
+ going to change.
+
+-------------------------------------------------------------------
+Fri Dec 27 10:23:14 UTC 2019 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- Co-own /usr/lib/systemd/user-environment-generators. We don't
+ want to forcibly pull in systemd into the buildroot just to own
+ this directory.
+
+-------------------------------------------------------------------
+Fri Dec 20 22:44:39 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 1.6.0:
+ + This is the first stable release in the 1.6 series, main
+ changes since 1.4 is the support for protected content and
+ improvements in the self-sandboxing support.
+ + There is one change in the support for OCI remotes, we now only
+ support the use of labels, not annotations, as labels work with
+ more registries. This means pre-existing OCI flatpak registries
+ (like fedora) may need some changes.
+ + New permissions --socket=cups for direct cups access.
+ + Fix some leaks.
+ + Fix reporting of progress with latest version of ostree.
+ + New no-interaction flag for authenticators.
+ + Support for auto-installing authenticators from a flatpak
+ remote.
+ + Warn less about unset XDG_DATA_DIRS.
+ + Don't poll for updates in the portal when on a metered
+ connection.
+- Modernize spec with current macros.
+
+-------------------------------------------------------------------
+Mon Nov 25 16:59:29 UTC 2019 - Frederic Crozat <fcrozat(a)suse.com>
+
+- Package empty /etc/flatpak/remotes.d.
+
+-------------------------------------------------------------------
+Wed Nov 20 12:53:08 UTC 2019 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- Add pkgconfig(libsystemd) BuildRequires (boo#1157126).
+- Drop systemd_requires: strictly speaking, we do not require
+ systemd.
+
+-------------------------------------------------------------------
+Mon Oct 21 19:10:42 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 1.4.3:
+ + Fix crash in revokefs.
+ + Handle 'versions' extension key (in addition to 'version') when
+ checking for local extensions, which was causing us to
+ uninstall some actually used extensions with uninstall
+ --unused.
+ + The 'required-flatpak' metadata key now supports listing
+ multiple versions to support backported features.
+ + Fix crash with older versions of polkit.
+ + Fix installation of bundles.
+ + Fix crash on deploy error.
+ + Support building bundles of apps installed from a remote.
+ + OCI: Fix handling of locally cached icons.
+ + Fix crash when listing unconfigured remotes.
+ + Ignore differences in trailing slashes for repo uris.
+
+-------------------------------------------------------------------
+Mon Jul 8 12:53:30 UTC 2019 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- Add system-user-flatpak.conf: generate a flatpak user for the
+ system helper (boo#1137537).
+
+-------------------------------------------------------------------
+Wed Jul 3 08:27:20 UTC 2019 - Antonio Larrosa <alarrosa(a)suse.com>
+
+- Update to version 1.4.2:
+ * Support extra_data in extensions.
+ * Handle double slashes ("//") in XDG_DATA_DIRS.
+ * Fix detection of local related refs.
+
+-------------------------------------------------------------------
+Thu Jun 14 09:33:16 UTC 2019 - Antonio Larrosa <alarrosa(a)suse.com>
+
+- Add a _dbusconfigdir variable in the spec file so we install the
+ flatpak-system-helper config file in a location actually read by
+ dbus, which didn't support having config files in /usr/share
+ until 1.9.18 (first introduced in SLE15).
+- Remove the systemd environment generator if building with
+ systemd < 233 which doesn't support environment generators.
+- Rename the libflapak-doc.xml file which has a typo in the name
+ upstream.
+- BuildRequire libgpgme-devel, not libqgpgme-devel which is not
+ really needed.
+
+-------------------------------------------------------------------
+Thu Jun 13 23:13:29 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 1.4.1:
+ + There was an accidental ABI break in libflatpak in 1.4.0
+ compared to the 1.2.x ABI which caused crashes in apps like
+ gnome-software.
+ + This has been fixed in this release so it is now ABI compatible
+ with 1.2.x, but NOT compatible with 1.4.0. It is recommended
+ that all distributions that shipped 1.4.0 update to 1.4.1 and
+ rebuild all dependencies of libflatpak.
+ + Make ABI compatible with 1.2.x.
+ + Fix some potential crashes.
+ + Fix some corner case where it was impossible to remove a
+ remote.
+ + Restore support for file: uris in the RuntimeRepo key in
+ flatpakref files.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Wed May 29 07:14:13 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 1.4.0:
+ + This is the new stable series, ending the 1.3.x series. The
+ major changes since the 1.2.x is the improved I/O use for
+ system-installed applications, and the new format for
+ pre-configured remotes.
+
+-------------------------------------------------------------------
+Mon May 13 07:45:05 UTC 2019 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- Replace systemd-gtk BuildRequires with pkgconfig(systemd): make
+ the build cheaper by not having to wait for the 'real' systemd
+ package to have built, but allow to use systemd-mini. The change
+ in the stack causing this was polkit dropping its hard dep on
+ systemd.
+
+-------------------------------------------------------------------
+Sat May 11 20:53:45 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Add systemd-gtk BuildRequires: Needed now after changes elsewhere
+ in the stack.
+
+-------------------------------------------------------------------
+Wed Apr 24 09:45:40 UTC 2019 - Martin Liška <mliska(a)suse.cz>
+
+- Disable LTO (boo#1133124).
+
+-------------------------------------------------------------------
+Thu Mar 28 13:05:50 UTC 2019 - Andrei Dziahel <develop7(a)develop7.info>
+
+- Update to verson 1.2.4 (CVE-2019-10063):
+ + It has been discovered that the previous fix for CVE-2017-5226,
+ which uses seccomp to prevent sandboxed apps from using the
+ (dangerous) TIOCSTI ioctl was only incomplete on 64bit arches.
+ This is now fixed (boo#1130637, gh#flatpak/flatpak#2782).
+ + seccomp: Only compare the low 32bit of the TIOCSTI ioctl args.
+ + Support multiple nvidia cards on the machine
+ + Fix support for systems where XDG_RUNTIME_DIR is /var/run which
+ is a symlink like gentoo.
+ + Fix potential crash when updating apps.
+ + flatpak list --arch now works correctly again.
+ + Updated translations.
Old:
----
0001-Only-compare-the-lowest-32-ioctl-arg-bits-for-TIOCSTI.patch
flatpak-1.2.3.tar.xz
New:
----
flatpak-1.6.0.tar.xz
system-user-flatpak.conf
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ flatpak.spec ++++++
--- /var/tmp/diff_new_pack.1xkcMq/_old 2020-01-30 14:51:41.250943537 +0100
+++ /var/tmp/diff_new_pack.1xkcMq/_new 2020-01-30 14:51:41.254943538 +0100
@@ -1,7 +1,7 @@
#
# spec file for package flatpak
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,27 +16,43 @@
#
+# dbus only used config files in /etc until 1.9.18
+%if %{pkg_vcmp dbus-1 < 1.9.18}
+%define _dbusconfigdir %{_sysconfdir}/dbus-1/system.d
+%else
+%define _dbusconfigdir %{_datadir}/dbus-1/system.d
+%endif
+
+# systemd only supports environment generators since version 233
+%if %{pkg_vcmp systemd < 233}
+%define support_environment_generators 0
+%else
+%define support_environment_generators 1
+%endif
+
%define libname libflatpak0
Name: flatpak
-Version: 1.2.3
+Version: 1.6.0
Release: 0
Summary: OSTree based application bundles management
License: LGPL-2.1-or-later
Group: System/Packages
URL: https://flatpak.github.io/
-Source: %{name}-%{version}.tar.xz
+Source0: %{name}-%{version}.tar.xz
+Source1: system-user-flatpak.conf
Patch0: polkit_rules_usability.patch
-Patch1: 0001-Only-compare-the-lowest-32-ioctl-arg-bits-for-TIOCSTI.patch
BuildRequires: bison
-BuildRequires: bubblewrap >= 0.2.1
+BuildRequires: bubblewrap >= 0.4.0
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gtk-doc
BuildRequires: intltool >= 0.35.0
BuildRequires: libcap-devel
BuildRequires: libdwarf-devel
-BuildRequires: libqgpgme-devel >= 1.1.8
+BuildRequires: libgpgme-devel >= 1.1.8
BuildRequires: libtool
BuildRequires: pkgconfig
+BuildRequires: sysuser-tools
+BuildRequires: xdg-dbus-proxy >= 0.1.0
BuildRequires: xsltproc
BuildRequires: pkgconfig(appstream-glib)
BuildRequires: pkgconfig(dconf)
@@ -51,24 +67,36 @@
BuildRequires: pkgconfig(libelf) >= 0.8.12
BuildRequires: pkgconfig(libseccomp)
BuildRequires: pkgconfig(libsoup-2.4)
-BuildRequires: pkgconfig(ostree-1) >= 2018.7
+BuildRequires: pkgconfig(libsystemd)
+BuildRequires: pkgconfig(ostree-1) >= 2018.9
BuildRequires: pkgconfig(polkit-gobject-1)
+BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(xau)
Requires: %{libname} = %{version}
-Requires: bubblewrap >= 0.2.1
-Requires: ostree >= 2018.7
+Requires: bubblewrap >= 0.4.0
+Requires: ostree >= 2018.9
+Requires: xdg-dbus-proxy >= 0.1.0
Requires: xdg-desktop-portal >= 0.10
+Requires: user(flatpak)
Recommends: %{name}-lang = %{version}
# Remove after openSUSE Leap 42 is out of scope
Provides: xdg-app = %{version}
Obsoletes: xdg-app < %{version}
-%{?systemd_requires}
%description
flatpak is a system for building, distributing and running sandboxed desktop
applications on Linux. See https://wiki.gnome.org/Projects/SandboxedApps for
more information.
+%package -n system-user-flatpak
+Summary: System user for the flatpak system helper
+Group: System/Base
+%sysusers_requires
+
+%description -n system-user-flatpak
+System user for the flatpak system helper.
+
+
%package -n %{libname}
Summary: OSTree based application bundle management library
Group: System/Libraries
@@ -114,12 +142,11 @@
%lang_package
%prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
+%autosetup -p1
sed -i -e '1s,#!%{_bindir}/env python3,#!%{_bindir}/python3,' scripts/flatpak-*
%build
+%define _lto_cflags %{nil}
NOCONFIGURE=1 ./autogen.sh
%configure \
--disable-silent-rules \
@@ -127,8 +154,11 @@
--disable-document-portal \
--with-system-bubblewrap \
--with-priv-mode=none \
- --with-dbus-config-dir=%{_datadir}/dbus-1/system.d
-make %{?_smp_mflags}
+ --with-dbus-config-dir=%{_dbusconfigdir} \
+ --with-system-dbus-proxy=%{_bindir}/xdg-dbus-proxy \
+ %{nil}
+%make_build
+%sysusers_generate_pre %{SOURCE1} system-user-flatpak
%install
%make_install
@@ -142,8 +172,19 @@
# w/o password entry.
mv %{buildroot}/%{_datadir}/polkit-1/rules.d/{,60-}org.freedesktop.Flatpak.rules
+mkdir -p %{buildroot}%{_sysusersdir}
+install -m 644 %{SOURCE1} %{buildroot}%{_sysusersdir}/system-user-flatpak.conf
+
+%if !%{support_environment_generators}
+rm -Rf %{buildroot}%{_libexecdir}/systemd/user-environment-generators/
+%endif
+
+mkdir -p %{buildroot}%{_sysconfdir}/flatpak/remotes.d
+
%find_lang %{name}
+%pre -n system-user-flatpak -f system-user-flatpak.pre
+
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%pre
@@ -163,11 +204,11 @@
%{_bindir}/flatpak
%{_bindir}/flatpak-bisect
%{_bindir}/flatpak-coredumpctl
-%{_libexecdir}/flatpak-dbus-proxy
%{_libexecdir}/flatpak-portal
%{_libexecdir}/flatpak-session-helper
%{_libexecdir}/flatpak-system-helper
%{_libexecdir}/flatpak-validate-icon
+%{_libexecdir}/revokefs-fuse
%{_datadir}/bash-completion/completions/flatpak
# # Own dirs so we don't have to depend on dbus for building.
%dir %{_datadir}/dbus-1
@@ -178,7 +219,7 @@
%{_datadir}/dbus-1/services/org.freedesktop.Flatpak.service
%{_datadir}/dbus-1/services/org.freedesktop.portal.Flatpak.service
%{_datadir}/dbus-1/system-services/org.freedesktop.Flatpak.SystemHelper.service
-%{_datadir}/dbus-1/system.d/org.freedesktop.Flatpak.SystemHelper.conf
+%{_dbusconfigdir}/org.freedesktop.Flatpak.SystemHelper.conf
# policykit rules
%{_datadir}/polkit-1/actions/org.freedesktop.Flatpak.policy
%{_datadir}/polkit-1/rules.d/60-org.freedesktop.Flatpak.rules
@@ -190,6 +231,7 @@
%{_mandir}/man5/flatpak-remote.5%{ext_man}
%{_datadir}/%{name}/
%config %{_sysconfdir}/profile.d/flatpak.sh
+%{_sysconfdir}/flatpak
# Own dirs so we don't have to depend on gdm for building.
%dir %{_datadir}/gdm/
%dir %{_datadir}/gdm/env.d/
@@ -199,7 +241,17 @@
%{_userunitdir}/flatpak-session-helper.service
%{_userunitdir}/flatpak-portal.service
%ghost %dir %{_localstatedir}/lib/flatpak
+%if %{support_environment_generators}
+%dir %{_libexecdir}/systemd/user-environment-generators
%{_libexecdir}/systemd/user-environment-generators/60-flatpak
+%endif
+%{_libexecdir}/flatpak-oci-authenticator
+%{_userunitdir}/flatpak-oci-authenticator.service
+%{_datadir}/dbus-1/interfaces/org.freedesktop.Flatpak.Authenticator.xml
+%{_datadir}/dbus-1/services/org.flatpak.Authenticator.Oci.service
+
+%files -n system-user-flatpak
+%{_sysusersdir}/system-user-flatpak.conf
%files -n %{libname}
%{_libdir}/libflatpak.so.*
++++++ _service ++++++
--- /var/tmp/diff_new_pack.1xkcMq/_old 2020-01-30 14:51:41.274943549 +0100
+++ /var/tmp/diff_new_pack.1xkcMq/_new 2020-01-30 14:51:41.274943549 +0100
@@ -1,10 +1,10 @@
+<?xml version="1.0"?>
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/flatpak/flatpak.git</param>
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param>
- <param name="changesgenerate">enable</param>
- <param name="revision">refs/tags/1.2.3</param>
+ <param name="revision">refs/tags/1.6.0</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.1xkcMq/_old 2020-01-30 14:51:41.294943560 +0100
+++ /var/tmp/diff_new_pack.1xkcMq/_new 2020-01-30 14:51:41.294943560 +0100
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/flatpak/flatpak.git</param>
- <param name="changesrevision">428c7bf8566d1cdb9f5eafccde1a19a41aeab144</param></service></servicedata>
\ No newline at end of file
+ <param name="changesrevision">f70978b4ad892cca6837153a3a1f7bc33ac347e8</param></service></servicedata>
++++++ flatpak-1.2.3.tar.xz -> flatpak-1.6.0.tar.xz ++++++
++++ 134547 lines of diff (skipped)
++++++ system-user-flatpak.conf ++++++
# Type Name ID GECOS [HOME]
u flatpak - "User for flatpak system helper"
1
0
Hello community,
here is the log from the commit of package libosinfo for openSUSE:Leap:15.2 checked in at 2020-01-30 14:50:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/libosinfo (Old)
and /work/SRC/openSUSE:Leap:15.2/.libosinfo.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libosinfo"
Thu Jan 30 14:50:29 2020 rev:15 rq:764382 version:1.7.1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/libosinfo/libosinfo.changes 2020-01-15 15:22:30.642479012 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.libosinfo.new.26092/libosinfo.changes 2020-01-30 14:51:39.594942656 +0100
@@ -1,0 +2,36 @@
+Wed Jan 8 08:47:59 MST 2020 - carnold(a)suse.com
+
+- Drop ids.tar.bz2 in favor of using hwdata. (boo#1159838)
+
+-------------------------------------------------------------------
+Fri Dec 27 09:30:02 UTC 2019 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- BuildRequire and Require hwdata: usb.ids and pci.ids are shipped
+ and maintained by this package. Prior to version 1.7.x, libosinfo
+ shipped own, outdated copies (boo#1159838).
+
+-------------------------------------------------------------------
+Wed Dec 4 08:04:03 MST 2019 - carnold(a)suse.com
+
+- Update to version 1.7.1
+ Changes in this release include:
+ * Fix usage of versioned symbols
+ * MinGW spec file fixes and improvements
+ * Fix pci.ids and usb.ids installation
+
+-------------------------------------------------------------------
+Mon Dec 2 10:25:06 MST 2019 - carnold(a)suse.com
+
+- Update to version 1.7.0
+ Changes in this release include:
+ * Add API to expose a device driver "priority"
+ * Improve media detection when using "volume-size" to distinguish medias
+ * General improvements on OsinfoList APIs to avoid unsafe access
+ * Minor POD fixes
+ * Switch to meson build system
+ * Add API to expose "firmware" support on OsinfoOS
+ * Drop "env" type support from osinfo-detect
+ * Print the architecture of the detected tree / media on osinfo-detect
+ * Add API to create an OsinfoTree from a treeinfo file
+
+-------------------------------------------------------------------
@@ -274,2 +310,2 @@
- add-tumbleweed-support.patch with
- add-sle12sp1-support.patch with
+ add-tumbleweed-support.patch
+ add-sle12sp1-support.patch
@@ -774 +809,0 @@
-
Old:
----
ids.tar.bz2
libosinfo-1.6.0.tar.gz
New:
----
libosinfo-1.7.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libosinfo.spec ++++++
--- /var/tmp/diff_new_pack.8kT7tY/_old 2020-01-30 14:51:40.206942981 +0100
+++ /var/tmp/diff_new_pack.8kT7tY/_new 2020-01-30 14:51:40.210942984 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libosinfo
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands.
#
# All modifications and additions to the file contributed by third parties
@@ -20,15 +20,17 @@
%define with_lang 1
Name: libosinfo
-Version: 1.6.0
+Version: 1.7.1
Release: 0
Summary: Operating system and hypervisor information management library
License: LGPL-2.1-or-later AND GPL-2.0-or-later
Group: Development/Libraries/C and C++
Url: https://releases.pagure.org/libosinfo/
-Source0: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.gz
-Source1: ids.tar.bz2
+Source0: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz
+BuildRequires: gtk-doc
+BuildRequires: hwdata
BuildRequires: libcurl-devel
+BuildRequires: meson
BuildRequires: vala
BuildRequires: pkgconfig(check)
BuildRequires: pkgconfig(gio-2.0)
@@ -52,6 +54,8 @@
Summary: Operating system and hypervisor information management library
Group: System/Libraries
Requires: %{name} >= %{version}
+# for usb.ids and pci.ids
+Requires: hwdata
%description -n libosinfo-1_0-0
libosinfo is a library that allows virtualization provisioning tools to
@@ -85,15 +89,17 @@
%lang_package
%endif
%prep
-%setup -q -a 1
+%setup -q
%build
-%configure \
- --disable-static --enable-vala=yes
-make %{?_smp_mflags}
+%meson \
+ -Denable-gtk-doc=true \
+ -Denable-tests=true \
+ -Denable-introspection=enabled \
+ -Denable-vala=enabled
%install
-%make_install
+%meson_install
find %{buildroot} -type f -name "*.la" -delete -print
%if %{with_lang}
%find_lang %{name} %{?no_lang_C}
@@ -109,7 +115,6 @@
%{_bindir}/osinfo-detect
%{_bindir}/osinfo-install-script
%{_bindir}/osinfo-query
-%{_datadir}/%{name}/
%{_mandir}/man1/osinfo-detect.1%{?ext_man}
%{_mandir}/man1/osinfo-install-script.1%{?ext_man}
%{_mandir}/man1/osinfo-query.1%{?ext_man}
@@ -129,8 +134,10 @@
%{_libdir}/pkgconfig/%{name}-1.0.pc
%{_libdir}/libosinfo-1.0.so
%{_datadir}/gir-1.0/Libosinfo-1.0.gir
-%dir %{_datadir}/vala/
-%dir %{_datadir}/vala/vapi/
+
+%dir %{_datadir}/vala
+%dir %{_datadir}/vala/vapi
+%{_datadir}/vala/vapi/libosinfo-1.0.deps
%{_datadir}/vala/vapi/libosinfo-1.0.vapi
%if %{with_lang}
1
0
Hello community,
here is the log from the commit of package bubblewrap for openSUSE:Leap:15.2 checked in at 2020-01-30 14:50:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/bubblewrap (Old)
and /work/SRC/openSUSE:Leap:15.2/.bubblewrap.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bubblewrap"
Thu Jan 30 14:50:30 2020 rev:15 rq:766110 version:0.4.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/bubblewrap/bubblewrap.changes 2020-01-15 14:49:03.721365534 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.bubblewrap.new.26092/bubblewrap.changes 2020-01-30 14:51:40.350943058 +0100
@@ -1,0 +2,37 @@
+Fri Dec 20 22:59:52 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 0.4.0:
+ + The biggest feature in this release is the support for joining
+ existing user and pid namespaces. This doesn't work in the
+ setuid mode (at the moment).
+ + Other changes:
+ - Stores namespace info in status json.
+ - In setuid mode pid 1 is now marked dumpable.
+ - Now builds with musl libc.
+
+-------------------------------------------------------------------
+Fri Jun 7 14:38:21 UTC 2019 - Antonio Larrosa <alarrosa(a)suse.com>
+
+- Use /bin/bash instead of /usr/bin/bash in SLE12
+
+-------------------------------------------------------------------
+Sat Jun 1 15:08:49 UTC 2019 - Sebastian Wagner <sebix+novell.com(a)sebix.at>
+
+- Update to version 0.3.3:
+ - This release is the same as 0.3.2 but the version number in configure.ac
+ was accidentally still set to 0.3.1
+- Update to version 0.3.2:
+ - fixes boo#1136958 / CVE-2019-12439
+ This release fixes a mostly theoretical security issue in unusual/broken
+ setups where `$XDG_RUNTIME_DIR` is unset.
+ There are some other smaller fixes, as well as an addition to the JSON
+ API that allows reading the inner process exit code, separately from
+ the `bwrap` exit code.
+ - Print "Out of memory" on stderr, not stdout
+ - bwrap: add option json-status-fd to show child exit code
+ - bwrap: Report COMMAND exit code in json-status-fd
+ - man page: Describe --chdir, not nonexistent --cwd
+ - Don't create our own temporary mount point for pivot_root
+ - Make lockdata long enough on 32-bit with 64-bit file pointers.
+
+-------------------------------------------------------------------
Old:
----
v0.3.1.tar.gz
New:
----
bubblewrap-0.4.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ bubblewrap.spec ++++++
--- /var/tmp/diff_new_pack.TGLQE3/_old 2020-01-30 14:51:40.590943186 +0100
+++ /var/tmp/diff_new_pack.TGLQE3/_new 2020-01-30 14:51:40.594943187 +0100
@@ -1,7 +1,7 @@
#
# spec file for package bubblewrap
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,16 +17,13 @@
Name: bubblewrap
-Version: 0.3.1
+Version: 0.4.0
Release: 0
Summary: Core execution tool for unprivileged containers
License: LGPL-2.0-or-later
Group: Productivity/Security
-Url: https://github.com/projectatomic/bubblewrap
-Source: https://github.com/projectatomic/bubblewrap/archive/v%{version}.tar.gz
-# Does not have README.md and autogen.sh included -> unusable
-# Source0: https://github.com/projectatomic/bubblewrap/releases/download/v%%{version}/…
-# We always run autogen.sh
+URL: https://github.com/projectatomic/bubblewrap
+Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: docbook-xsl-stylesheets
@@ -44,9 +41,14 @@
user namespaces.
%prep
-%autosetup -n %{name}-%{version}
+%autosetup -p1 -n %{name}-%{version}
sed -i '1d' completions/bash/bwrap
+%if 0%{?suse_version} < 1500
+sed -i '1s,/usr/bin/env bash,/bin/bash,' demos/bubblewrap-shell.sh
+sed -i '1s/env //' demos/userns-block-fd.py
+%else
sed -i '1s/env //' demos/bubblewrap-shell.sh demos/userns-block-fd.py
+%endif
%build
env NOCONFIGURE=1 ./autogen.sh
1
0
Hello community,
here is the log from the commit of package breeze-gtk for openSUSE:Leap:15.2 checked in at 2020-01-30 14:50:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/breeze-gtk (Old)
and /work/SRC/openSUSE:Leap:15.2/.breeze-gtk.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "breeze-gtk"
Thu Jan 30 14:50:27 2020 rev:74 rq:763189 version:5.17.5
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/breeze-gtk/breeze-gtk.changes 2020-01-15 14:48:57.309361618 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.breeze-gtk.new.26092/breeze-gtk.changes 2020-01-30 14:51:38.874942273 +0100
@@ -1,0 +2,25 @@
+Tue Jan 7 16:24:34 UTC 2020 - Fabian Vogt <fabian(a)ritter-vogt.de>
+
+- Update to 5.17.5
+ * New bugfix release
+ * For more details please see:
+ * https://www.kde.org/announcements/plasma-5.17.5.php
+- No code changes since 5.17.4
+
+-------------------------------------------------------------------
+Wed Dec 4 08:36:58 UTC 2019 - Fabian Vogt <fabian(a)ritter-vogt.de>
+
+- Update to 5.17.4
+ * New bugfix release
+ * For more details please see:
+ * https://www.kde.org/announcements/plasma-5.17.4.php
+- Changes since 5.17.3:
+ * [GTK3] Fix invalid colour name in treeview (kde#414391)
+
+-------------------------------------------------------------------
+Sat Nov 16 17:25:57 UTC 2019 - Fabian Vogt <fabian(a)ritter-vogt.de>
+
+- Add patch to enable checkbox recoloring again, fixed in librsvg:
+ * 0001-Revert-GTK3-Revert-checkbox-recolouring.patch
+
+-------------------------------------------------------------------
Old:
----
breeze-gtk-5.17.3.tar.xz
breeze-gtk-5.17.3.tar.xz.sig
New:
----
0001-Revert-GTK3-Revert-checkbox-recolouring.patch
breeze-gtk-5.17.5.tar.xz
breeze-gtk-5.17.5.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ breeze-gtk.spec ++++++
--- /var/tmp/diff_new_pack.joQ0h8/_old 2020-01-30 14:51:39.186942439 +0100
+++ /var/tmp/diff_new_pack.joQ0h8/_new 2020-01-30 14:51:39.186942439 +0100
@@ -19,7 +19,7 @@
%define _name breeze
Name: breeze-gtk
-Version: 5.17.3
+Version: 5.17.5
Release: 0
Summary: GTK+ theme matching KDE's Breeze
License: LGPL-2.1-only
@@ -30,6 +30,8 @@
Source1: https://download.kde.org/stable/plasma/%{version}/breeze-gtk-%{version}.tar…
Source2: plasma.keyring
%endif
+# PATCH-FIX-UPSTREAM (in master)
+Patch1: 0001-Revert-GTK3-Revert-checkbox-recolouring.patch
BuildRequires: breeze5-style
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules
++++++ 0001-Revert-GTK3-Revert-checkbox-recolouring.patch ++++++
>From 6c70cac5e4d6566eded5893e34ac356e29deaff6 Mon Sep 17 00:00:00 2001
From: Carson Black <uhhadd(a)gmail.com>
Date: Sat, 16 Nov 2019 10:36:29 -0500
Subject: [PATCH] Revert "[GTK3] Revert checkbox recolouring"
Summary:
This reverts commit b1649126c8c6d1af746a8472939fcda40a260095, as an upstream librsvg bug was fixed, allowing checkboxes and radiobuttons to recolour properly.
https://gitlab.gnome.org/GNOME/librsvg/issues/525
Test Plan: See that checkbox recolouring works as expected.
Reviewers: #breeze, #vdg, ngraham
Reviewed By: #breeze, #vdg, ngraham
Subscribers: ngraham, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D25336
---
src/gtk3/widgets/_checkboxes.scss | 92 ++++++++++++-------------------
src/gtk3/widgets/_menus.scss | 29 +++++++---
2 files changed, 55 insertions(+), 66 deletions(-)
diff --git a/src/gtk3/widgets/_checkboxes.scss b/src/gtk3/widgets/_checkboxes.scss
index 3f398ae..b9fa4bd 100644
--- a/src/gtk3/widgets/_checkboxes.scss
+++ b/src/gtk3/widgets/_checkboxes.scss
@@ -3,20 +3,6 @@
/*************************
* Check and Radio items *
*************************/
-@each $s,$as in ('','-unchecked'),
- (':hover', '-unchecked-hover'),
- (':active', '-unchecked-active'),
- (':backdrop', '-unchecked-backdrop'),
- (':checked', '-checked-active'),
- (':checked:hover', '-checked-hover'),
- (':checked:active', '-checked-active'),
- (':backdrop:checked', '-checked-backdrop') {
- .view.content-view.check#{$s}:not(list) {
- -gtk-icon-shadow: none;
- -gtk-icon-source: -gtk-scaled(url("../assets/check-selectionmode#{$as}.png"), url("../assets/check-selectionmode#{$as}(a)2.png"));
- background-color: transparent;
- }
-}
checkbutton.text-button, radiobutton.text-button {
// this is for a nice focus on check and radios text
@@ -32,53 +18,43 @@ checkbutton.text-button, radiobutton.text-button {
}
}
-@each $a in ('check','radio') {
+check, radio {
+ margin: 0 4px;
- #{$a} {
- margin: 0 4px;
+ &:only-child { margin: 0; }
- &:only-child { margin: 0; }
+ min-height: 18px;
+ min-width: 18px;
+ //border: none;
+ animation: none;
+ background-color: transparent;
+ -gtk-icon-palette: error gtk("@theme_button_decoration_focus"), success gtk("@borders"), warning gtk("@theme_button_background_normal");
+ -gtk-icon-shadow: 1px 1px rgba(35,38,41,0.2);
- min-height: 18px;
- min-width: 18px;
- //border: none;
- animation: none;
- background-color: transparent;
- -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-unchecked.png"), url("../assets/#{$a}-unchecked(a)2.png"));
+ &:hover {
+ -gtk-icon-palette: error gtk("@theme_button_decoration_focus"), success gtk("@theme_button_decoration_focus"), warning gtk("@theme_button_background_normal");
+ }
+ &:disabled {
+ -gtk-icon-palette: error gtk("@theme_button_decoration_focus_insensitive"), success gtk("@insensitive_borders"), warning gtk("@theme_button_background_insensitive");
+ }
- @each $s,$as in ('hover','-hover'),
- ('active','-active'),
- ('disabled','-insensitive'),
- ('backdrop','-backdrop'),
- ('backdrop:disabled','-backdrop-insensitive') {
- &:#{$s} { -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-unchecked#{$as}.png"), url("../assets/#{$a}-unchecked#{$as}(a)2.png")); }
- &:checked {
- -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-checked-active.png"), url("../assets/#{$a}-checked-active(a)2.png"));
- &:#{$s} { -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-checked#{$as}.png"), url("../assets/#{$a}-checked#{$as}(a)2.png")); }
- }
- &:indeterminate {
- -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-mixed-active.png"), url("../assets/#{$a}-mixed-active(a)2.png"));
- &:#{$s} { -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-mixed#{$as}.png"), url("../assets/#{$a}-mixed#{$as}(a)2.png")); }
- }
+ menu menuitem & {
+ margin: 0; // this is a workaround for a menu check/radio size allocation issue
+ min-height: 18px;
+ min-width: 18px;
+ background-color: transparent;
+ box-shadow: none;
+ -gtk-icon-shadow: none;
+ animation: none;
}
-
- menu menuitem & {
- margin: 0; // this is a workaround for a menu check/radio size allocation issue
- min-height: 18px;
- min-width: 18px;
- background-color: transparent;
- box-shadow: none;
- -gtk-icon-shadow: none;
- animation: none;
- &:hover {
- -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-unchecked.png"), url("../assets/#{$a}-unchecked(a)2.png"));
- }
- &:checked:hover {
- -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-checked-active.png"), url("../assets/#{$a}-checked-active(a)2.png"));
- }
- &:indeterminate:hover {
- -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-mixed-active.png"), url("../assets/#{$a}-mixed-active(a)2.png"));
- }
- }
+}
+@each $type in ('check', 'radio') {
+ #{$type} {
+ -gtk-icon-source: -gtk-recolor(url("../assets/breeze-#{$type}-unchecked-symbolic.svg"));
+ @each $state in ('checked', 'indeterminate') {
+ &:#{$state} {
+ -gtk-icon-source: -gtk-recolor(url("../assets/breeze-#{$type}-#{$state}-symbolic.svg"));
+ }
+ }
}
-}
\ No newline at end of file
+}
diff --git a/src/gtk3/widgets/_menus.scss b/src/gtk3/widgets/_menus.scss
index c241eab..7f6c40e 100644
--- a/src/gtk3/widgets/_menus.scss
+++ b/src/gtk3/widgets/_menus.scss
@@ -205,14 +205,27 @@ modelbutton.flat,
@extend %undecorated_button;
color: gtk("@theme_unfocused_fg_color");
}
- check:hover {-gtk-icon-source: -gtk-scaled(url("../assets/check-unchecked.png"), url("../assets/check-unchecked(a)2.png"));}
- radio:hover {-gtk-icon-source: -gtk-scaled(url("../assets/radio-unchecked.png"), url("../assets/radio-unchecked(a)2.png"));}
-
- check:checked:hover {-gtk-icon-source: -gtk-scaled(url("../assets/check-checked-active.png"), url("../assets/check-checked-active(a)2.png"));}
- radio:checked:hover {-gtk-icon-source: -gtk-scaled(url("../assets/radio-checked-active.png"), url("../assets/radio-checked-active(a)2.png"));}
-
- check:indeterminate:hover {-gtk-icon-source: -gtk-scaled(url("../assets/check-mixed.png"), url("../assets/check-mixed(a)2.png"));}
- radio:indeterminate:hover {-gtk-icon-source: -gtk-scaled(url("../assets/radio-mixed.png"), url("../assets/radio-mixed(a)2.png"));}
+ check, radio {
+ -gtk-icon-palette: error gtk("@theme_button_decoration_focus"), success gtk("@borders"), warning gtk("@theme_button_background_normal");
+ -gtk-icon-shadow: 1px 1px rgba(35,38,41,0.2);
+
+ &:hover {
+ -gtk-icon-palette: error gtk("@theme_button_decoration_focus"), success gtk("@theme_button_decoration_focus"), warning gtk("@theme_button_background_normal");
+ }
+ &:disabled {
+ -gtk-icon-palette: error gtk("@theme_button_decoration_focus_insensitive"), success gtk("@insensitive_borders"), warning gtk("@theme_button_background_insensitive");
+ }
+ }
+ @each $type in ('check', 'radio') {
+ #{$type} {
+ -gtk-icon-source: -gtk-recolor(url("../assets/breeze-#{$type}-unchecked-symbolic.svg"));
+ @each $state in ('checked', 'indeterminate') {
+ &:#{$state} {
+ -gtk-icon-source: -gtk-recolor(url("../assets/breeze-#{$type}-#{$state}-symbolic.svg"));
+ }
+ }
+ }
+ }
// FIXME: remove the following when the checks/radios rewrite lands
check:last-child,
--
2.23.0
++++++ breeze-gtk-5.17.3.tar.xz -> breeze-gtk-5.17.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/breeze-gtk-5.17.3/CMakeLists.txt new/breeze-gtk-5.17.5/CMakeLists.txt
--- old/breeze-gtk-5.17.3/CMakeLists.txt 2019-11-12 11:10:16.000000000 +0100
+++ new/breeze-gtk-5.17.5/CMakeLists.txt 2020-01-07 16:18:22.000000000 +0100
@@ -1,5 +1,5 @@
project(breeze-gtk)
-set(PROJECT_VERSION "5.17.3")
+set(PROJECT_VERSION "5.17.5")
set(PROJECT_VERSION_MAJOR 5)
cmake_minimum_required(VERSION 2.8.12)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/breeze-gtk-5.17.3/src/gtk3/widgets/_treeview.scss new/breeze-gtk-5.17.5/src/gtk3/widgets/_treeview.scss
--- old/breeze-gtk-5.17.3/src/gtk3/widgets/_treeview.scss 2019-11-12 11:10:16.000000000 +0100
+++ new/breeze-gtk-5.17.5/src/gtk3/widgets/_treeview.scss 2020-01-07 16:18:22.000000000 +0100
@@ -90,7 +90,7 @@
min-width: 16px;
min-height: 16px;
-gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
- color: gtk("@theme_base_fg_color");
+ color: gtk("@theme_fg_color");
&:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-start-symbolic'); };
&:hover { color: gtk("@theme_button_decoration_hover"); }
&:selected { color: gtk("@theme_selected_fg_color"); }
1
0
Hello community,
here is the log from the commit of package sysprof for openSUSE:Leap:15.2 checked in at 2020-01-30 14:50:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/sysprof (Old)
and /work/SRC/openSUSE:Leap:15.2/.sysprof.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sysprof"
Thu Jan 30 14:50:26 2020 rev:22 rq:761891 version:3.34.1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/sysprof/sysprof.changes 2020-01-15 16:04:59.627975494 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.sysprof.new.26092/sysprof.changes 2020-01-30 14:51:37.638941615 +0100
@@ -1,0 +2,261 @@
+Tue Nov 19 12:12:49 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Add sysprof-libsysprof-ui-avoid-use-of-env.patch: libsysprof-ui:
+ avoid use of environ for -Werror=shadow.
+
+-------------------------------------------------------------------
+Mon Oct 7 20:19:14 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.34.1:
+ + Process search fixes.
+
+-------------------------------------------------------------------
+Tue Sep 10 06:14:12 CDT 2019 - mgorse(a)suse.com
+
+- Update to version 3.34.0:
+ + Help fixes.
+ + Build and test fixes.
+ + Updated translations.
+- Require meson >= 0.50.0.
+
+-------------------------------------------------------------------
+Thu Sep 5 20:13:37 NZST 2019 - luke(a)ljones.dev
+
+- Update to version 3.33.92:
+ + Check for GLib 2.61.3 or newer for features used when removing
+ deprecated API usage from GLib.
+ + Require meson 0.50
+ + Updated translations.
+
+-------------------------------------------------------------------
+Thu Aug 15 09:33:26 CEST 2019 - bjorn.lie(a)gmail.com
+
+- Update to version 3.33.90:
+ + Tweak CSS styling a bit.
+ + Hide RAPL rows if no counters were discovered.
+ + Fix --no-battery in sysprof-cli.
+ + Improve parsing of /proc/mounts and /proc/pid/mountinfo.
+ + Improve support for using libsysprof from Flatpak.
+ + Symbol directories are removed from public ABI and consumers
+ should now add directories to SysprofElfSymbolResolver
+ directly.
+- Changes from version 3.33.4:
+ + Build system fixes and improved backports.
+ + New network, disk, battery, and energy sources.
+ + Additional options for sysprof-cli including "syprof-cli
+ --command" support.
+ + i18n is now properly initialized at startup.
+ + Improved styling.
+ + A new "duplex" graph type for read/write type visuals.
+- Changes from version 3.33.3:
+ + This release of Sysprof contains the largest amount of work
+ since we revived the project a few years ago. We have revamped
+ and minimized the ABI of libsysprof-ui considerably. As port of
+ the ABI update, symbols have been changed from Sp to Sysprof to
+ reduce chances of collisions.
+ + With these changes comes a soname bump and upgrade of the D-Bus
+ API provided by the package. Some work has been taken to
+ implement older versions of the sysprofd API so that older
+ clients may continue to work.
+ + Various build system improvements.
+ + A new libsysprof-capture-3.a capture library has been provided
+ to allow application developers to capture data and merge into
+ the profiler stream.
+ + The recording and viewing API has been redesigned and improved.
+ + Sysprof has been backported to support GTK 3.22 and GLib 2.50.
+ + Support for passing file-descriptors has been added to allow
+ profiling integration with GNOME Shell, GJS, and GTK profilers.
+ + New API to allow integration with external tooling that spawns
+ applications is provided so that environment and arguments may
+ be modified.
+ + A new re-record feature has been added.
+ + The capture format can now store log messages, metadata, and
+ file content.
+ + A new org.gnome.Sysprof3 daemon has been added, which is
+ written using GDBus instead of libsystemd. This may improve
+ portability to some distributions.
+ + The portability of Sysprof to non-Linux systems has been
+ improved, however many recording features are still not
+ available on non-Linux platforms.
+ + A new org.gnome.Sysprof3.Profiler XML D-Bus interface is
+ provided for tooling that wants to export Sysprof content via
+ D-Bus.
+ + Various new capture sources have been provided.
+ + sysprofd also implements a compat org.gnome.Sysprof2 D-Bus
+ end-point for older clients.
+ + Updated translations.
+- Add pkgconfig(glib-2.0) and pkgconfig(libdazzle-1.0)
+ BuildRequires: New dependencies.
+
+-------------------------------------------------------------------
+Fri Aug 2 08:23:32 UTC 2019 - Martin Liška <mliska(a)suse.cz>
+
+- Use FAT LTO objects in order to provide proper static library.
+
+-------------------------------------------------------------------
+Mon May 13 07:46:35 UTC 2019 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- Replace systemd-gtk BuildRequires with pkgconfig(systemd): make
+ the build cheaper by not having to wait for the 'real' systemd
+ package to have built, but allow to use systemd-mini. The change
+ in the stack causing this was polkit dropping its hard dep on
+ systemd.
+
+-------------------------------------------------------------------
+Sat May 11 20:12:28 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Add systemd-gtk BuildRequires: Now needed due to changes
+ elsewhere in the stack.
+
+-------------------------------------------------------------------
+Wed Mar 13 08:33:13 UTC 2019 - Bjørn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 3.32.0:
+ + Updated translations.
+
+-------------------------------------------------------------------
+Tue Feb 19 22:24:12 UTC 2019 - bjorn.lie(a)gmail.com
+
+- Update to version 3.31.91:
+ + Handle cancellation during profiler startup more gracefully.
+
+-------------------------------------------------------------------
+Thu Feb 14 22:32:17 UTC 2019 - bjorn.lie(a)gmail.com
+
+- Update to version 3.31.90:
+ + A new memory source for basic memory statistics. This is meant
+ for overview only, not precise details.
+ + Fix a small memory leak.
+ + Allow disabling memory/cpu sources from sysprof-cli.
+ + CSS styling updates.
+ + Updated icon for GNOME 3.32 icon initiative.
+ + The line visualizer can auto-discover Y axis range.
+ + Build system improvements.
+ + Updated translations.
+- Update URL to https://wiki.gnome.org/Apps/Sysprof.
+
+-------------------------------------------------------------------
+Thu Jan 3 22:00:14 UTC 2019 - bjorn.lie(a)gmail.com
+
+- Update to version 3.31.1:
+ + Remove app-menu in favor of window-menu, following GNOME design
+ guidelines for 3.32.
+ + Fixes for i18n/l10n.
+ + Build fixes to avoid use of non-portable __WORDSIZE.
+ + Updated translations.
+- Add meson_test macro in check section, run tests.
+
+-------------------------------------------------------------------
+Fri Nov 2 18:24:25 UTC 2018 - bjorn.lie(a)gmail.com
+
+- Update to version 3.30.2:
+ + The profiler menu button more properly handles changes to the
+ toplevel window.
+ + Fixes for i18n/l10n intialization.
+
+-------------------------------------------------------------------
+Wed Sep 26 12:03:56 UTC 2018 - bjorn.lie(a)gmail.com
+
+- Update to version 3.30.1:
+ + Various compilation fixes for alternative platforms, compilers,
+ and toolchains.
+ + Backport model filter fixes from libdazzle.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Wed Sep 12 20:17:04 UTC 2018 - antoine.belvire(a)opensuse.org
+
+- Update to version 3.30.0:
+ + Fix incorrect free func for GPtrArray.
+ + Various build system improvements.
+ + ENABLE_POLKIT is now repsected in the kallsyms support.
+ + suggested-action fixes for CSS.
+ + Updated translations.
+- Drop sysprof-fix-incorrect-free-func.patch (fixed upstream).
+- Remove lang package from recommended packages as it already
+ supplements main package (same effect, it's redundant).
+
+-------------------------------------------------------------------
+Thu Jun 21 00:42:44 UTC 2018 - luc14n0(a)linuxmail.org
+
+- Update to version 3.29.3:
+ + Experimental tracking of various drm events (vblank and
+ CRTC/MSC).
+ + Drawing code now uses double instead of float for additional
+ precision.
+ + CLOCK_MONOTONIC is now the preferred clock.
+ + A new capture type of "mark" has been added to the capture
+ format. It supports an event name with a duration >= 0.
+ + Various counters are automatically detected and displayed when
+ opening a capture file.
+ + A new in-tree tool "sysprof-cat" which can join multiple
+ capture files together gracefully.
+ + Fix a number of situations where cpu/pid were crossed.
+ + Updated translations.
+- Drop explicit gettext BuildRequires: meson doesn't look for it.
+
+-------------------------------------------------------------------
++++ 64 more lines (skipped)
++++ between /work/SRC/openSUSE:Leap:15.2/sysprof/sysprof.changes
++++ and /work/SRC/openSUSE:Leap:15.2/.sysprof.new.26092/sysprof.changes
Old:
----
sysprof-3.26.1.tar.xz
New:
----
sysprof-3.34.1.tar.xz
sysprof-libsysprof-ui-avoid-use-of-env.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sysprof.spec ++++++
--- /var/tmp/diff_new_pack.DrDb1B/_old 2020-01-30 14:51:37.890941749 +0100
+++ /var/tmp/diff_new_pack.DrDb1B/_new 2020-01-30 14:51:37.894941752 +0100
@@ -1,7 +1,7 @@
#
# spec file for package sysprof
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC.
# Copyright (c) 2016 Bjørn Lie, Bryne, Norway.
#
# All modifications and additions to the file contributed by third parties
@@ -13,34 +13,39 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+%define sover 3
+
Name: sysprof
-Version: 3.26.1
+Version: 3.34.1
Release: 0
Summary: A system-wide Linux profiler
-License: GPL-3.0+
+License: GPL-3.0-or-later AND LGPL-2.1-or-later
Group: Development/Tools/Debuggers
-Url: http://www.sysprof.com
-Source0: http://download.gnome.org/sources/sysprof/3.26/%{name}-%{version}.tar.xz
-BuildRequires: binutils-devel
+URL: https://wiki.gnome.org/Apps/Sysprof
+Source0: http://download.gnome.org/sources/sysprof/3.34/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM sysprof-libsysprof-ui-avoid-use-of-env.patch -- Avoid use of env
+Patch0: sysprof-libsysprof-ui-avoid-use-of-env.patch
+
BuildRequires: gcc-c++
-BuildRequires: gettext
-BuildRequires: gobject-introspection-devel
+BuildRequires: hicolor-icon-theme
BuildRequires: itstool
-BuildRequires: libxml2-tools
+BuildRequires: meson >= 0.50.0
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
-BuildRequires: pkgconfig(gio-2.0) >= 2.44.0
-BuildRequires: pkgconfig(gio-unix-2.0) >= 2.44.0
-BuildRequires: pkgconfig(gtk+-3.0) >= 3.21.5
-BuildRequires: pkgconfig(libsystemd)
-BuildRequires: pkgconfig(polkit-gobject-1)
+BuildRequires: pkgconfig(gio-2.0) >= 2.50.0
+BuildRequires: pkgconfig(gio-unix-2.0) >= 2.50.0
+BuildRequires: pkgconfig(glib-2.0) >= 2.61.3
+BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
+BuildRequires: pkgconfig(libdazzle-1.0) >= 3.30.0
+BuildRequires: pkgconfig(libsystemd) >= 222
+BuildRequires: pkgconfig(polkit-gobject-1) >= 0.105
+BuildRequires: pkgconfig(systemd)
Requires: hicolor-icon-theme
-Recommends: %{name}-lang
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%{?systemd_requires}
%description
Sysprof is a sampling CPU profiler for Linux that collects accurate,
@@ -56,68 +61,88 @@
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
+%package capture-devel-static
+Summary: Library to read and write syspref's capture format
+Group: Development/Tools/Debuggers
+
+%description capture-devel-static
+This static library allows external tooling to read and write the
+syspref's capture format.
+
%lang_package
%prep
-%setup -q
+%autosetup -p1
%build
-%configure --disable-static --disable-Werror
-make %{?_smp_mflags}
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
+%meson
+%meson_build
%install
-%make_install DESTDIR=%{buildroot} %{?_smp_mflags}
-find %{buildroot} -type f -name "*.la" -delete -print
+%meson_install
%find_lang %{name} %{?no_lang_C}
-%suse_update_desktop_file org.gnome.Sysprof2 Profiling
+%suse_update_desktop_file org.gnome.Sysprof%{sover} Profiling
+
+%check
+### FIXME ### Temp disabled during 3.34 devel period
+#%%meson_test
%pre
+%service_add_pre sysprof%{sover}.service
%service_add_pre sysprof2.service
%preun
+%service_del_preun sysprof%{sover}.service
%service_del_preun sysprof2.service
%post
/sbin/ldconfig
-%desktop_database_post
-%icon_theme_cache_post
+%service_add_post sysprof%{sover}.service
%service_add_post sysprof2.service
%postun
/sbin/ldconfig
-%desktop_database_postun
-%icon_theme_cache_postun
+%service_del_postun sysprof%{sover}.service
%service_del_postun sysprof2.service
%files
-%defattr(-,root,root)
-%doc README COPYING NEWS TODO AUTHORS
+%license COPYING
+%doc NEWS README.md
%{_bindir}/sysprof
%{_bindir}/sysprof-cli
-%{_libdir}/libsysprof-2.so
-%{_libdir}/libsysprof-ui-2.so
-%dir %{_libexecdir}/sysprof
-%{_libexecdir}/sysprof/sysprofd
-%{_datadir}/appdata/org.gnome.Sysprof2.appdata.xml
%{_datadir}/applications/*.desktop
+%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof2.xml
+%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof%{sover}.Profiler.xml
+%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof%{sover}.Service.xml
%dir %{_datadir}/dbus-1/system.d
%{_datadir}/dbus-1/system.d/org.gnome.Sysprof2.conf
+%{_datadir}/dbus-1/system.d/org.gnome.Sysprof%{sover}.conf
%{_datadir}/dbus-1/system-services/org.gnome.Sysprof2.service
-%{_datadir}/glib-2.0/schemas/org.gnome.sysprof2.gschema.xml
+%{_datadir}/dbus-1/system-services/org.gnome.Sysprof%{sover}.service
+%{_datadir}/glib-2.0/schemas/org.gnome.sysprof%{sover}.gschema.xml
%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/metainfo/org.gnome.Sysprof%{sover}.appdata.xml
%{_datadir}/mime/packages/sysprof-mime.xml
-%{_datadir}/polkit-1/actions/org.gnome.sysprof2.policy
+%{_datadir}/polkit-1/actions/org.gnome.sysprof%{sover}.policy
+%{_libdir}/libsysprof-%{sover}.so
+%{_libdir}/libsysprof-ui-%{sover}.so
+%{_libexecdir}/sysprofd
%{_unitdir}/sysprof2.service
+%{_unitdir}/sysprof%{sover}.service
%dir %{_datadir}/help/C/sysprof
-%{_datadir}/help/C/sysprof/*
+%doc %{_datadir}/help/C/sysprof/*
%files devel
-%defattr(-,root,root)
-%{_includedir}/sysprof-2/
-%{_libdir}/pkgconfig/sysprof-2.pc
-%{_libdir}/pkgconfig/sysprof-ui-2.pc
+%doc AUTHORS TODO
+%{_includedir}/sysprof-%{sover}/
+%{_libdir}/pkgconfig/sysprof-%{sover}.pc
+%{_libdir}/pkgconfig/sysprof-ui-%{sover}.pc
+
+%files capture-devel-static
+%{_libdir}/libsysprof-capture-%{sover}.a
+%{_libdir}/pkgconfig/sysprof-capture-%{sover}.pc
%files lang -f %{name}.lang
-%defattr(-,root,root)
%changelog
++++++ sysprof-3.26.1.tar.xz -> sysprof-3.34.1.tar.xz ++++++
++++ 183473 lines of diff (skipped)
++++++ sysprof-libsysprof-ui-avoid-use-of-env.patch ++++++
>From a6e3b4ac74ddd856553cc96f3e6c620dc2cabf52 Mon Sep 17 00:00:00 2001
From: Christian Hergert <chergert(a)redhat.com>
Date: Mon, 21 Oct 2019 11:35:42 -0700
Subject: [PATCH] libsysprof-ui: avoid use of environ for -Werror=shadow
Fixes #18
---
src/libsysprof-ui/sysprof-profiler-assistant.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/libsysprof-ui/sysprof-profiler-assistant.c b/src/libsysprof-ui/sysprof-profiler-assistant.c
index 22e3e24..c7fcf77 100644
--- a/src/libsysprof-ui/sysprof-profiler-assistant.c
+++ b/src/libsysprof-ui/sysprof-profiler-assistant.c
@@ -235,7 +235,7 @@ sysprof_profiler_assistant_record_clicked_cb (SysprofProfilerAssistant *self,
{
g_auto(GStrv) argv = NULL;
g_auto(GStrv) env = NULL;
- SysprofEnviron *environ;
+ SysprofEnviron *environ_;
const gchar *command;
gint argc;
@@ -245,8 +245,8 @@ sysprof_profiler_assistant_record_clicked_cb (SysprofProfilerAssistant *self,
sysprof_profiler_set_spawn (profiler, TRUE);
sysprof_profiler_set_spawn_argv (profiler, (const gchar * const *)argv);
- environ = sysprof_environ_editor_get_environ (self->environ_editor);
- env = sysprof_environ_get_environ (environ);
+ environ_ = sysprof_environ_editor_get_environ (self->environ_editor);
+ env = sysprof_environ_get_environ (environ_);
sysprof_profiler_set_spawn_env (profiler, (const gchar * const *)env);
sysprof_profiler_set_spawn_inherit_environ (profiler,
@@ -405,7 +405,7 @@ sysprof_profiler_assistant_class_init (SysprofProfilerAssistantClass *klass)
static void
sysprof_profiler_assistant_init (SysprofProfilerAssistant *self)
{
- g_autoptr(SysprofEnviron) environ = sysprof_environ_new ();
+ g_autoptr(SysprofEnviron) environ_ = sysprof_environ_new ();
gtk_widget_init_template (GTK_WIDGET (self));
@@ -445,7 +445,7 @@ sysprof_profiler_assistant_init (SysprofProfilerAssistant *self)
self,
G_CONNECT_SWAPPED);
- sysprof_environ_editor_set_environ (self->environ_editor, environ);
+ sysprof_environ_editor_set_environ (self->environ_editor, environ_);
}
void
--
2.22.0
1
0