Adding remove_file options to yaml so we can add files to be removed from packages
(cherry picked from commit b7803a3633)
This commit is contained in:
@@ -34,4 +34,7 @@ keystone:
|
||||
# metadata about them, so that re-examination before
|
||||
# uploading does not have to occur
|
||||
image_cache_dir: "/usr/share/anvil/glance/images"
|
||||
|
||||
# Used by install section in the specfile
|
||||
remove_file: /bin/rm -rf %{buildroot}/usr/bin/glance
|
||||
...
|
||||
|
||||
@@ -121,6 +121,9 @@ $build.action
|
||||
#if $build.has_key('install_how')
|
||||
$build.install_how
|
||||
#end if
|
||||
#if $build.has_key('remove_file')
|
||||
$build.remove_file
|
||||
#end if
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
Reference in New Issue
Block a user