Re: Unpackaged files checking - oddities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux