Skip to content

Commit

Permalink
remove execution permission. Cookbooks generally don't need it
Browse files Browse the repository at this point in the history
  • Loading branch information
ljblancoredborder committed Nov 25, 2024
1 parent 2a64ee6 commit 6d82494
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packaging/rpm/cookbook-rb-firewall.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Source0: %{name}-%{version}.tar.gz
%install
mkdir -p %{buildroot}/var/chef/cookbooks/rb-firewall
cp -f -r resources/* %{buildroot}/var/chef/cookbooks/rb-firewall
chmod -R 0755 %{buildroot}/var/chef/cookbooks/rb-firewall
chmod -R 0644 %{buildroot}/var/chef/cookbooks/rb-firewall
install -D -m 0644 README.md %{buildroot}/var/chef/cookbooks/rb-firewall/README.md

%pre
Expand All @@ -37,11 +37,10 @@ case "$1" in
esac

%files
%defattr(0755,root,root)
/var/chef/cookbooks/rb-firewall
%defattr(0644,root,root)
/var/chef/cookbooks/rb-firewall/README.md

/var/chef/cookbooks/rb-firewall
# %defattr(0644,root,root)
# /var/chef/cookbooks/rb-firewall/README.md

%doc

Expand Down

0 comments on commit 6d82494

Please sign in to comment.