Bug 1058631 - ManagePRM generate Broken %defattr
Summary: ManagePRM generate Broken %defattr
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cmake-fedora
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ding-Yi Chen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-28 08:26 UTC by Ding-Yi Chen
Modified: 2014-02-10 03:23 UTC (History)
7 users (show)

Fixed In Version: cmake-fedora-1.2.7-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of: 1054937
Environment:
Last Closed: 2014-02-10 03:23:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1054937 0 unspecified CLOSED Broken %defattr in ibus-chewing 2021-02-22 00:41:40 UTC

Internal Links: 1054937

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.


Note You need to log in before you can comment on or make changes to this bug.