[packages/chef/chef-14] update plist patch
glen
glen at pld-linux.org
Tue Jul 17 11:43:10 CEST 2018
commit 858c7ed922e5b0692d34e7b655cb88ee49e6f117
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Tue Jul 17 11:32:06 2018 +0300
update plist patch
chef.spec | 2 +-
optional-plist.patch | 19 +++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/chef.spec b/chef.spec
index 46c0b80..7d1c012 100644
--- a/chef.spec
+++ b/chef.spec
@@ -8,7 +8,7 @@
Summary: A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure
Name: chef
Version: 14.1.36
-Release: 0.2
+Release: 0.3
License: Apache v2.0
Group: Networking/Admin
Source0: https://github.com/chef/chef/archive/v%{version}/%{name}-%{version}.tar.gz
diff --git a/optional-plist.patch b/optional-plist.patch
index a348365..dc02eb6 100644
--- a/optional-plist.patch
+++ b/optional-plist.patch
@@ -32,3 +32,22 @@
Plist::Emit.save_plist(user_info, user_plist_file)
run_plutil("convert", "binary1", user_plist_file)
end
+--- chef-14.1.36/lib/chef/provider/launchd.rb~ 2018-06-04 22:47:04.000000000 +0300
++++ chef-14.1.36/lib/chef/provider/launchd.rb 2018-07-16 17:04:37.751739371 +0300
+@@ -20,7 +20,6 @@
+ require "chef/resource/file"
+ require "chef/resource/cookbook_file"
+ require "chef/resource/macosx_service"
+-require "plist"
+ require "forwardable"
+
+ class Chef
+@@ -173,6 +172,8 @@
+ end
+
+ def content
++ require "plist"
++
+ plist_hash = new_resource.plist_hash || gen_hash
+ Plist::Emit.dump(plist_hash) unless plist_hash.nil?
+ end
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/chef.git/commitdiff/3e14fa30b2a15d2c8f6657019bee89a37d6e062b
More information about the pld-cvs-commit
mailing list