Sha256: 989e81c5fae0467d8251b2f3ded03440a89f163ef66a780d3ddad55b8d8a003e
Contents?: true
Size: 1.48 KB
Versions: 2
Compression:
Stored size: 1.48 KB
Contents
# Disable any shell actions, replace them with simply 'true' %define __spec_prep_post true %define __spec_prep_pre true %define __spec_build_post true %define __spec_build_pre true %define __spec_install_post true %define __spec_install_pre true %define __spec_clean_post true %define __spec_clean_pre true # Use SHA256 checksums for all files %define _binary_filedigest_algorithm 8 %define _binary_payload <%= compression %> # Metadata Name: <%= name %> Version: <%= version %> Release: <%= iteration %><%= dist_tag ? dist_tag : '' %> Summary: <%= description.split("\n").first.empty? ? "_" : description.split("\n").first %> AutoReqProv: no BuildRoot: %buildroot Prefix: / Group: <%= category %> License: <%= license %> Vendor: <%= vendor %> URL: <%= homepage %> Packager: <%= maintainer %> <% dependencies.each do |name| -%> Requires: <%= name %> <% end -%> <% conflicts.each do |name| -%> Conflicts: <%= name %> <% end -%> <% replaces.each do |name| -%> Obsoletes: <%= name %> <%- end -%> <% # RPM rejects descriptions with blank lines (even between content) -%> %description <%= description.gsub(/^\s*$/, " .") %> %prep # noop %build # noop %install # noop %clean # noop <% scripts.each do |name, contents| -%> %<%= name %> <%= contents %> <% end -%> %files %defattr(-,<%= user %>,<%= group %>,-) <% # Output config files and then regular files -%> <% config_files.each do |file| -%> %config(noreplace) <%= file %> <% end -%> <% # List all files -%> <% files.each do |file| -%> <%= file %> <% end -%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
omnibus-8.2.2 | resources/rpm/spec.erb |
omnibus-8.1.15 | resources/rpm/spec.erb |