Hello community,

here is the log from the commit of package hplip for openSUSE:Factory checked 
in at 2014-05-08 12:38:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hplip (Old)
 and      /work/SRC/openSUSE:Factory/.hplip.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hplip"

Changes:
--------
--- /work/SRC/openSUSE:Factory/hplip/hplip.changes      2014-04-23 
20:36:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.hplip.new/hplip.changes 2014-05-08 
12:38:22.000000000 +0200
@@ -1,0 +2,17 @@
+Wed May  7 13:49:16 CEST 2014 - [email protected]
+
+- Moved the hpcupsfax filter to the hplip-hpijs sub-package
+  because the HP-Fax*hpcups PPDs in the hplip-hpijs sub-package
+  that use that filter work technically correct when only the
+  hplip-hpijs RPM is installed regardless that in practice
+  queues with a HP-Fax*hpcups PPD usually use the hpfax backend
+  Python script that belongs to the hplip main-package because
+  it imports HPLIP Python modules.
+- Moved the hpps filter to the hplip main-package because the PPDs
+  for various printers that use that filter do not work when only
+  the hplip-hpijs RPM is installed because the hpps Python script
+  imports HPLIP Python modules from the hplip main-package.
+  Accordingly moved the PPDs that use the hpps filter
+  to the hplip main-package (bnc#876690).
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hplip.spec ++++++
--- /var/tmp/diff_new_pack.ltk4kv/_old  2014-05-08 12:38:23.000000000 +0200
+++ /var/tmp/diff_new_pack.ltk4kv/_new  2014-05-08 12:38:23.000000000 +0200
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           hplip
 BuildRequires:  cups
 BuildRequires:  cups-devel
@@ -499,6 +500,21 @@
 do grep -E -v '^\*UIConstraints:|^\*NonUIConstraints:|^\*cupsFilter:' $p | 
cupstestppd - || true
    gzip $p
 done
+echo "Moving PPDs that use the hpps filter to 
/usr/share/cups/model/manufacturer-PPDs/hplip-hpps..."
+# PPDs for various printers that use the hpps filter
+# must be moved to the hplip main-package because
+# the /usr/lib/cups/filter/hpps Python script imports
+# various HPLIP modules from the hplip main-package
+# so that the hpps filter belongs to the hplip main-package
+# (see https://bugzilla.novell.com/show_bug.cgi?id=876690).
+# Accordingly the PPDs that use the hpps filter must be moved
+# to the hplip main-package which is implemented by moving them
+# to a new directory /usr/share/cups/model/manufacturer-PPDs/hplip-hpps
+# that is listed in the files list of the hplip main-package:
+install -d %{buildroot}%{_datadir}/cups/model/manufacturer-PPDs/%{name}-hpps
+for p in *.ppd.gz
+do zgrep -q '^\*cupsFilter:.*hpps' $p && mv $p ../%{name}-hpps
+done
 echo "End of general tests and adjustments for all PPDs."
 # Switch back to the usual build log messages:
 set -x
@@ -538,7 +554,7 @@
 # and even in current openSUSE versions fdupes links across sub-package 
boundaries,
 # compare https://bugzilla.novell.com/show_bug.cgi?id=784869
 # so that fdupes can only run for specific directories where linking files is 
safe:
-%fdupes -s %{buildroot}/%{_datadir}/hplip/data/images
+%fdupes -s %{buildroot}%{_datadir}/hplip/data/images
 
 %post
 %if 0%{?suse_version} >= 1140
@@ -664,7 +680,11 @@
 %dir /usr/lib/cups/backend
 /usr/lib/cups/backend/hpfax
 %dir /usr/lib/cups/filter
-/usr/lib/cups/filter/hpcupsfax
+/usr/lib/cups/filter/hpps
+%dir %{_datadir}/cups
+%dir %{_datadir}/cups/model
+%dir %{_datadir}/cups/model/manufacturer-PPDs
+%{_datadir}/cups/model/manufacturer-PPDs/%{name}-hpps/
 %doc %{_defaultdocdir}/%{name}/
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/hplip/
@@ -685,7 +705,7 @@
 %dir /usr/lib/cups/filter
 /usr/lib/cups/filter/foomatic-rip-hplip
 /usr/lib/cups/filter/hpcups
-/usr/lib/cups/filter/hpps
+/usr/lib/cups/filter/hpcupsfax
 /usr/lib/cups/filter/pstotiff
 %dir %{_datadir}/cups
 %dir %{_datadir}/cups/model




-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to