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
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