simp-rake-helpers 5.1.1 → 5.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6c9c2b8099baa181ccd48e2287fef9477cba67c
4
- data.tar.gz: fe7750369f91fc2040e21803b93e189e319db201
3
+ metadata.gz: d260fd31b63df8bf7e860e9f841a441c88c11b5a
4
+ data.tar.gz: c0ad88da3bfb756e50ee0bd9b53e9ec82d99fae6
5
5
  SHA512:
6
- metadata.gz: 3567fc6482bf7ff049f5481f78940db4bdd7141d923e19176dd550e666d6d1acec2113ae4d2c133af7d16f998fc8644f70189aa97625976183d6610c79c27b63
7
- data.tar.gz: bf4fa43ca55717cdcfb1eb6414661b852184cdff16340c1d4191b8e93b548baa01adaac12be1eec7fdab9a88dffdec46ec1488148dee92032d71373eb306acd5
6
+ metadata.gz: 778fee0c5eb4827b7e5f7351033101e59d83995bdd4d2356f9aab642f9b4a31f953f77e4d97d7703bd4c4329129de9360f08da722710fbb2ec3f1ec4ce8ab2ec
7
+ data.tar.gz: f62ca1fa679d08c7facb89023fbae5eec50e711621a001710dd09bc669a472109676ef74ce691382edfbc24c09e6b346ac644106bc1d9aec0dd5ad2916c29d76
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 5.1.2 / 2017-10-06
2
+ * Fixed 'Obsoletes' in the RPM spec files
3
+
1
4
  ### 5.1.1 / 2017-10-04
2
5
  * Renamed 'RHEL' to 'RedHat' in the 'unpack' task for compatibility with the
3
6
  rest of the new code base
@@ -60,7 +60,7 @@ module Simp::Rake::Build::RpmDeps
60
60
  if Gem::Version.new(module_version) >
61
61
  Gem::Version.new(version.split('-').first)
62
62
 
63
- rpm_metadata_content << "Obsoletes: #{pkg} > #{version}"
63
+ rpm_metadata_content << "Obsoletes: #{pkg} >= #{version}"
64
64
  else
65
65
  puts "Ignoring 'obsoletes' for #{pkg}: module version" +
66
66
  " #{module_version} from metadata.json is not >" +
@@ -2,5 +2,5 @@ module Simp; end
2
2
  module Simp::Rake; end
3
3
 
4
4
  class Simp::Rake::Helpers
5
- VERSION = '5.1.1'
5
+ VERSION = '5.1.2'
6
6
  end
@@ -62,7 +62,7 @@ describe 'Simp::Rake::Build::RpmDeps#generate_rpm_meta_files' do
62
62
  requires_file = File.join(mod_dir, 'build', 'rpm_metadata', 'requires')
63
63
  expect(File.exist?(requires_file)).to be true
64
64
  expected = <<EOM
65
- Obsoletes: pupmod-oldowner-changed_name_mod > 2.5.0-2016.1
65
+ Obsoletes: pupmod-oldowner-changed_name_mod >= 2.5.0-2016.1
66
66
  Requires: pupmod-foo1-bar1 = 1.0.0
67
67
  Requires: pupmod-foo2-bar2 > 2.0.0
68
68
  Requires: pupmod-foo3-bar3 < 3.0.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simp-rake-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.1
4
+ version: 5.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Tessmer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-10-04 00:00:00.000000000 Z
12
+ date: 2017-10-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler