]> git.pld-linux.org Git - packages/chef.git/commitdiff
do not package /etc/chef/chef.rb auto/th/chef-11.16.4-1
authorElan Ruusamäe <glen@delfi.ee>
Tue, 23 Dec 2014 12:58:11 +0000 (14:58 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 23 Dec 2014 12:58:11 +0000 (14:58 +0200)
not sure what uses it and adds confusion as chef-client uses /etc/chef/client.rb

chef.spec

index e644e736c292d8f6358f63ea1e3fce4673222966..28fb8fdbe5e8b39247cb77d3f171f364e02e094e 100644 (file)
--- a/chef.spec
+++ b/chef.spec
@@ -12,7 +12,6 @@ License:      Apache v2.0
 Group:         Networking/Admin
 Source0:       http://rubygems.org/downloads/%{name}-%{version}.gem
 # Source0-md5: 084038481d60dc6311284e3a4ab22a2d
-Source1:       %{name}.rb
 Source2:       %{name}.tmpfiles
 Source3:       https://raw.github.com/stevendanna/knife-hacks/master/shell/knife_completion.sh
 # Source3-md5: a4c1e41370be8088a59ddb3b2e7ea397
@@ -139,7 +138,6 @@ cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
 cp -a distro/common/man/* $RPM_BUILD_ROOT%{_mandir}
 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/README.md
 
-cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/chef.rb
 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
 
 install -d $RPM_BUILD_ROOT%{bash_compdir}
@@ -152,7 +150,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.md CONTRIBUTING.md
 %dir %{_sysconfdir}/%{name}
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/chef.rb
 %attr(755,root,root) %{_bindir}/chef-apply
 %attr(755,root,root) %{_bindir}/chef-client
 %attr(755,root,root) %{_bindir}/chef-service-manager
This page took 0.076486 seconds and 4 git commands to generate.