https://bugzilla.redhat.com/show_bug.cgi?id=1047031

            Bug ID: 1047031
           Summary: fontpackages-devel macro %_font_pkg adds obsolete
                    %defattr
           Product: Fedora
           Version: 20
         Component: fontpackages
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected],
                    [email protected], [email protected],
                    [email protected]
   External Bug ID: Red Hat Bugzilla 909794



Description of problem:

$ rpmbuild --eval %_font_pkg

%post -n -fonts  
if [ -x /usr/bin/fc-cache ]; then 
    /usr/bin/fc-cache /usr/share/fonts/%{name} || : 
fi 


%postun -n -fonts   
if [ $1 -eq 0 -a -x /usr/bin/fc-cache ] ; then 
    /usr/bin/fc-cache /usr/share/fonts/%{name} || : 
fi


%files -n -fonts  
%defattr(0644,root,root,0755) 

%dir /usr/share/fonts/%{name} 

This causes a warning from fedora-review and is against current policy.
[x]: Each %files section contains %defattr if rpm < 4.4
     Note: %defattr present but not needed


Version-Release number of selected component (if applicable):
fontpackages-devel-1.44-9.fc20.noarch

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=bsUZBAjeKa&a=cc_unsubscribe
_______________________________________________
fonts-bugs mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs
http://fonts.fedoraproject.org/

Reply via email to