]> git.pld-linux.org Git - packages/fpm.git/blame - config-attrs.patch
- release 2 (by relup.sh)
[packages/fpm.git] / config-attrs.patch
CommitLineData
c978479a
ER
1use pld style config noreplace attributes
2
3https://github.com/bernd/fpm-cookery/issues/71#issuecomment-134127418
4
5--- fpm-1.4.0/templates/rpm.erb~ 2015-08-24 14:06:26.000000000 +0300
6+++ fpm-1.4.0/templates/rpm.erb 2015-08-24 14:07:00.841529419 +0300
7@@ -238,7 +238,7 @@
8 %defattr(<%= attributes[:rpm_defattrfile] %>,<%= attributes[:rpm_user] || "root" %>,<%= attributes[:rpm_group] || "root" %>,<%= attributes[:rpm_defattrdir] %>)
9 <%# Output config files and then regular files. -%>
10 <% config_files.each do |path| -%>
11-%config(noreplace) <%= rpm_file_entry(path) %>
12+%config(noreplace) %verify(not md5 mtime size) <%= rpm_file_entry(path) %>
13 <% end -%>
14 <%# list directories %>
15 <% directories.each do |path| -%>
This page took 0.078279 seconds and 4 git commands to generate.