- Provide the /var/lib/hp directory that is required in particular
by hp-plugin (see https://bugs.launchpad.net/hplip/+bug/1018303) in the hplip-hpijs package to be on the safe side because hplip-hpijs is the minimal (printing-only) way to use HPLIP. OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=53
This commit is contained in:
parent
f3eac31e93
commit
ac1f00a7e9
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 28 12:00:28 CEST 2012 - jsmeix@suse.de
|
||||
|
||||
- Provide the /var/lib/hp directory that is required in particular
|
||||
by hp-plugin (see https://bugs.launchpad.net/hplip/+bug/1018303)
|
||||
in the hplip-hpijs package to be on the safe side because
|
||||
hplip-hpijs is the minimal (printing-only) way to use HPLIP.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 25 15:56:54 UTC 2012 - mail@philipp-wagner.com
|
||||
|
||||
|
20
hplip.spec
20
hplip.spec
@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: hplip
|
||||
# BuildRequires foomatic-filters to avoid /usr/lib/rpm/brp-symlink ERROR:
|
||||
# link target doesn't exist (neither in build root nor in installed system):
|
||||
@ -74,6 +73,10 @@ Patch10: fix-uninitialized-variables.diff
|
||||
# Patch11 fix_gcc44_glib.diff is obsolete since version 3.9.6b because it is fixed in the source.
|
||||
# Patch12 hplip-3.9.8-CVE-2010-4267.patch fixes a remote buffer overflow in hpmud/pml.c:
|
||||
Patch12: hplip-3.9.8-CVE-2010-4267.patch
|
||||
# Fix validation errors about no return values for non-void functions.
|
||||
# An upstream bug report is open at
|
||||
# https://bugs.launchpad.net/hplip/+bug/1017496
|
||||
Patch13: fix-no-return-in-nonvoid-function.diff
|
||||
# Source100... is for special Suse sources:
|
||||
# Source100 is the primary source for the suse_update_desktop_file stuff.
|
||||
# It is found automatically in $RPM_SOURCE_DIR by 'suse_update_desktop_file -i hplip':
|
||||
@ -106,10 +109,6 @@ Patch101: change-udev-rules.diff
|
||||
# this is done in the files section via attr(0774,root,lp)
|
||||
# where mode 0774 matches to what is set in Makefile.am:
|
||||
Patch102: no-chgrp_lp_hplip_Logdir.diff
|
||||
# Fix validation errors about no return values for non-void functions.
|
||||
# An upstream bug report is open at
|
||||
# https://bugs.launchpad.net/hplip/+bug/1017496
|
||||
Patch103: fix-no-return-in-nonvoid-function.diff
|
||||
# Install into this non-root directory (required when norootforbuild is used):
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
PreReq: coreutils
|
||||
@ -315,6 +314,9 @@ with the scan drivers in HPLIP for standard HP all-in-one printers.
|
||||
# Patch12 hplip-3.9.8-CVE-2010-4267.patch
|
||||
# fixes a remote buffer overflow in hpmud/pml.c:
|
||||
%patch12
|
||||
# Patch13 fix-no-return-in-nonvoid-function.diff
|
||||
# fixes no-return-in-nonvoid-function errors
|
||||
%patch13
|
||||
# Patch101 change-udev-rules.diff
|
||||
# changes the udev rules files 55-hpmud.rules and 56-hpmud_support.rules:
|
||||
%patch101
|
||||
@ -323,9 +325,6 @@ with the scan drivers in HPLIP for standard HP all-in-one printers.
|
||||
# this is done in the files section via attr(0774,root,lp)
|
||||
# where mode 0774 matches to what is set in Makefile.am:
|
||||
%patch102
|
||||
# Patch103 fix-no-return-in-nonvoid-function.diff
|
||||
# fixes no-return-in-nonvoid-function errors
|
||||
%patch103
|
||||
|
||||
%build
|
||||
# If AUTOMAKE='automake --foreign' is not set, autoreconf (in fact automake)
|
||||
@ -640,7 +639,10 @@ exit 0
|
||||
%dir %{_datadir}/cups/model/manufacturer-PPDs
|
||||
%{_datadir}/cups/model/manufacturer-PPDs/%{name}/
|
||||
%{_datadir}/%{name}/data/models/models.dat
|
||||
%dir %attr(0774,root,lp) %{_var}/log/hp
|
||||
# Use fixed "/var/log/hp" because this is hardcoded in the HPLIP sources:
|
||||
%dir %attr(0774,root,lp) /var/log/hp
|
||||
# Use fixed "/var/lib/hp" because this is hardcoded in the HPLIP sources:
|
||||
%dir /var/lib/hp
|
||||
|
||||
%files sane
|
||||
%defattr(-, root, root)
|
||||
|
Loading…
x
Reference in New Issue
Block a user