tags:

views:

225

answers:

0

Is it possible to tell an rpmbuild spec file to ignore a file in the files list if it doesn't exist?

Something like:

%files
%{existingfile}
if [ -f %{dtdfile} ]; then
%{dtdfile}
fi