Bug 1564919

Summary: Restraint rpm specfile sets attributes on symlinks
Product: [Retired] Restraint Reporter: Matt Tyson 🤬 <mtyson>
Component: generalAssignee: Matt Tyson 🤬 <mtyson>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: asavkov, bpeck, dcallagh, mtyson, rjoost
Target Milestone: 0.1.35   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-24 23:49:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matt Tyson 🤬 2018-04-08 22:55:37 UTC
Sufficiently new versions of rpmbuild generate the following warnings when building an RPM for restraint

warning: Explicit %attr() mode not applicable to symlink: bin/rhts_sync_set
warning: Explicit %attr() mode not applicable to symlink: bin/rhts_sync_block
warning: Explicit %attr() mode not applicable to symlink: bin/rhts_environment.sh
warning: Explicit %attr() mode not applicable to symlink: bin/rhts-reboot
warning: Explicit %attr() mode not applicable to symlink: bin/rhts-submit-log
warning: Explicit %attr() mode not applicable to symlink: bin/rhts_submit_log
warning: Explicit %attr() mode not applicable to symlink: bin/rhts-backup
warning: Explicit %attr() mode not applicable to symlink: bin/rhts-restore
warning: Explicit %attr() mode not applicable to symlink: bin/rhts-recipe-sync-set
warning: Explicit %attr() mode not applicable to symlink: bin/rhts_recipe_sync_set
warning: Explicit %attr() mode not applicable to symlink: bin/rhts-recipe-sync-block
warning: Explicit %attr() mode not applicable to symlink: bin/rhts_recipe_sync_block
warning: Explicit %attr() mode not applicable to symlink: bin/rhts-abort



The %attr() tags need to be taken off the symlink files in the restraint specfile.