diff --git a/deco.spec b/deco.spec index ad7b383..3227b0d 100644 --- a/deco.spec +++ b/deco.spec @@ -52,10 +52,13 @@ and adding support for others requires very little work. %install %makeinstall PREFIX="%{_prefix}" +echo -n > optional-files.lst +[ -e "%{buildroot}%{_bindir}/crename" ] && echo %{_bindir}/crename >> optional-files.lst + %clean %__rm -rf "%{buildroot}" -%files +%files -f optional-files.lst %defattr(-,root,root) %doc COPYING CREDITS NEWS README %{_bindir}/deco