Bug 1058631

Summary: ManagePRM generate Broken %defattr
Product: [Fedora] Fedora Reporter: Ding-Yi Chen <dchen>
Component: cmake-fedoraAssignee: Ding-Yi Chen <dchen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: dchen, direwolfross, fabrice, i18n-bugs, loganjerry, relrod, shawn.p.huang
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cmake-fedora-1.2.7-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1054937 Environment:
Last Closed: 2014-02-10 03:23:07 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 Ding-Yi Chen 2014-01-28 08:26:24 UTC
+++ This bug was initially created as a clone of Bug #1054937 +++

Description of problem:
ManageRPM generate broken defattr, consequenctly, 
when installing the latest Rawhide build of ibus-chewing, yum complains that it cannot set the group to "root-", and that it is using "root" instead.  That happens to be the right thing to do, but the cause is a broken %defattr in the spec file, which is missing a comma:

%defattr(-,root,root-)

That should be:

%defattr(-,root,root,-)

or better yet, just remove it entirely, as RPM no longer needs the standard %defattr declaration (as of RPM 4.4.0).

Version-Release number of selected component (if applicable):
ibus-chewing-1.4.5-1.fc21.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install or update to the latest ibus-chewing package.
2.
3.

Actual results:
Yum warns about the group named "root-".

Expected results:
No warnings.

Comment 3 Andrew Ross 2014-02-05 06:05:04 UTC
Saw the fix is in updates-testing. Thanks Ding-Yi.