[Bug 1047031] New: fontpackages-devel macro %_font_pkg adds obsolete %defattr
bugzilla at redhat.com
bugzilla at redhat.com
Sat Dec 28 14:58:22 UTC 2013
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: nicolas.mailhot at laposte.net
Reporter: zbyszek at in.waw.pl
QA Contact: extras-qa at fedoraproject.org
CC: fonts-bugs at lists.fedoraproject.org,
nicolas.mailhot at laposte.net, paul at frixxon.co.uk,
tagoh at redhat.com
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
More information about the fonts-bugs
mailing list