On Sat, 10 Jan 2015 12:06:10 -0600, Bruno Wolff III wrote:

> In this particular case some stuff gets added depending on whether or 
> not the build process finds all of the fonts that are needed. I wanted 
> this to fail during build if any were not found,

%check
[ -f %{buildroot}%{_datadir}/fonts/name/some/file3 ]
[ -f %{buildroot}%{_datadir}/fonts/name/some/file7 ]

%files
%{_datadir}/fonts/name/

is a trick to include an entire tree in %files section and still check
for individual files to be found in %buildroot after %install.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to