Hello community, here is the log from the commit of package cups-filters for openSUSE:Factory checked in at 2015-01-20 18:59:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cups-filters (Old) and /work/SRC/openSUSE:Factory/.cups-filters.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cups-filters" Changes: -------- --- /work/SRC/openSUSE:Factory/cups-filters/cups-filters.changes 2014-08-28 21:04:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cups-filters.new/cups-filters.changes 2015-01-20 18:59:07.000000000 +0100 @@ -1,0 +2,8 @@ +Mon Nov 10 13:39:32 CET 2014 - [email protected] + +- During installation of a whole openSUSE system + cups-filters-ghostscript can be installed before cups + and then there is no /usr/share/cups/mime/ directory + so that it is created if needed (bnc#904652). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cups-filters.spec ++++++ --- /var/tmp/diff_new_pack.aaEZuX/_old 2015-01-20 18:59:08.000000000 +0100 +++ /var/tmp/diff_new_pack.aaEZuX/_new 2015-01-20 18:59:08.000000000 +0100 @@ -357,15 +357,18 @@ # by the new MIME conversion rules from cups-filters. To be on the safe side # do not overwrite an existing /usr/share/cups/mime/cupsfilters.convs file # (e.g. when cups-filters was installed before cups-filters-ghostscript). -# Do nothing when /usr/share/cups/mime/ does not exist (e.g. when CUPS is not installed). if test -e %{_datadir}/cups/mime/cupsfilters.convs then exit 0 fi -if test -d %{_datadir}/cups/mime/ -then echo '# traditional CUPS <= 1.5.4 MIME conversion rules for the gstoraster filter' >%{_datadir}/cups/mime/cupsfilters.convs - echo 'application/vnd.cups-pdf application/vnd.cups-raster 66 gstoraster' >>%{_datadir}/cups/mime/cupsfilters.convs - echo 'application/vnd.cups-postscript application/vnd.cups-raster 100 gstoraster' >>%{_datadir}/cups/mime/cupsfilters.convs -fi +# During installation of a whole openSUSE system +# cups-filters-ghostscript can be installed before cups +# (I think cups-filters-ghostscript should not PreReq cups) +# and then there is no /usr/share/cups/mime/ directory +# so that it is created if needed ("mkdir -p" does nothing if it exists): +mkdir -p %{_datadir}/cups/mime/ +echo '# traditional CUPS <= 1.5.4 MIME conversion rules for the gstoraster filter' >%{_datadir}/cups/mime/cupsfilters.convs +echo 'application/vnd.cups-pdf application/vnd.cups-raster 66 gstoraster' >>%{_datadir}/cups/mime/cupsfilters.convs +echo 'application/vnd.cups-postscript application/vnd.cups-raster 100 gstoraster' >>%{_datadir}/cups/mime/cupsfilters.convs exit 0 %post ghostscript -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
