]> git.pld-linux.org Git - packages/fpm.git/blob - config-attrs.patch
- release 2 (by relup.sh)
[packages/fpm.git] / config-attrs.patch
1 use pld style config noreplace attributes
2
3 https://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.096983 seconds and 3 git commands to generate.