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(a)laposte.net
Reporter: zbyszek(a)in.waw.pl
QA Contact: extras-qa(a)fedoraproject.org
CC: fonts-bugs(a)lists.fedoraproject.org,
nicolas.mailhot(a)laposte.net, paul(a)frixxon.co.uk,
tagoh(a)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