Project

General

Profile

« Previous | Next » 

Revision f22260ec

Added by Eric Helms about 4 years ago

Update ignores and docs for SCL template

View differences:

gem2rpm/scl.spec.erb
root = `git rev-parse --show-toplevel`.strip
SCL_PREFIXES = JSON.load(File.read(File.join(root, 'scl_prefixes.json')))
LICENSES = JSON.load(File.read(File.join(root, 'licenses.json')))
config.rules[:doc] << /\/?CHANGES/
config.rules[:ignore] << 'Guardfile'
config.rules[:ignore] << '.document'
config.rules[:ignore] << 'Appraisals'
config.rules[:ignore] << 'gemfiles'
-%>
%{?scl:%scl_package rubygem-%{gem_name}}
%{!?scl:%global pkg_name %{name}}

Also available in: Unified diff