packaging_rake_tasks 1.4.11 → 1.4.12

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
  SHA256:
3
- metadata.gz: d02ef0977f43dd5efd93ebe2b4ec40a61415ac8012413478a326917fcab8182e
4
- data.tar.gz: d05332e52a13152900bf4300a920ce989212ff47c283b62b67b67dd9bc663337
3
+ metadata.gz: 21fc4c918f4cd24e55fe122412f6b066cb8fb66b1c84772e83d925af1e90f5b9
4
+ data.tar.gz: 122ea8f7be3eefe6fb7435f05fae84d2f7e1072293ed4fca0af08a08f44f46a3
5
5
  SHA512:
6
- metadata.gz: e66cf2ab83c82d3f1e70af85a5ead91bb9eafcc81e8f08efa314e71a8c3f37346f6806bcd69f2de969f54b9e0b4d5d9d142c8d88450d1c221c0c0a0ebb89c01f
7
- data.tar.gz: 160211ee2b33de61e5817c5162b5bbbfedb48999fd41be8d3d0117106e217dccd368eeacc993f6487ddbeae85955118fa71f705130cb85f9f2e80f4e85ac6cc7
6
+ metadata.gz: 407ca2694fdcf64bfd7be9e01f627d003ed5f7f56265f093407022cd3b7063d6fc75e6467fe304af08e5bda098958a4ab736962f4f3a69a38e154e5970a88482
7
+ data.tar.gz: 534d101ab268287dba9b3df19847e7130dd80d13250251baa8747238cc44539a3453c1bb469244be8c1583679c05698225986881b8cb97afe60be9ad33cf6116
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.11
1
+ 1.4.12
@@ -54,7 +54,8 @@ namespace :build_dependencies do
54
54
  if escaped_list.empty?
55
55
  puts "Nothing to install, *.spec file not found or no build dependencies defined"
56
56
  else
57
- cmd = "sudo zypper install #{escaped_list}"
57
+ sudo = Process.euid.zero? ? "" : "sudo"
58
+ cmd = "#{sudo} zypper install #{escaped_list}"
58
59
  sh(cmd)
59
60
  end
60
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: packaging_rake_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.11
4
+ version: 1.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Reidinger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2020-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -66,7 +66,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []
69
- rubygems_version: 3.1.2
69
+ rubyforge_project:
70
+ rubygems_version: 2.7.6.2
70
71
  signing_key:
71
72
  specification_version: 4
72
73
  summary: Rake tasks providing tasks to package project in git and integration with