diff --git a/foomatic.spec b/foomatic.spec index 28622ad..08a2b0e 100644 --- a/foomatic.spec +++ b/foomatic.spec @@ -223,7 +223,7 @@ sed -e 's|^\(.*\) \(.*\)$|s,printer/\1,printer/\2,g;|' \ >> convert-printerids.pl chmod a+x convert-printerids.pl ./convert-printerids.pl %{buildroot}%{_datadir}/foomatic/db/source/{opt,driver}/*.xml -chmod 0644 %{buildroot}%{_datadir}/foomatic/db/source/{opt,driver,printer}/* +find %{buildroot}%{_datadir}/foomatic/db/source/ -type f | xargs chmod 0644 # Use relative, not absolute, symlink for CUPS filter. ln -sf ../../../bin/foomatic-rip %{buildroot}%{_libdir}/cups/filter/foomatic-rip