rpms/hplip/F-8 hplip-gzip-n.patch,NONE,1.1 hplip.spec,1.164,1.165

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Fri Jan 18 15:53:46 UTC 2008


Author: twaugh

Update of /cvs/pkgs/rpms/hplip/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12037

Modified Files:
	hplip.spec 
Added Files:
	hplip-gzip-n.patch 
Log Message:
* Fri Jan 18 2008 Tim Waugh <twaugh at redhat.com> 2.7.12-2
- Ship installer directory (bug #428246).
- Avoid multilib conflict (bug #341531).
- The hpijs sub-package requires net-snmp (bug #376641).


hplip-gzip-n.patch:

--- NEW FILE hplip-gzip-n.patch ---
diff -up hplip-2.7.12/Makefile.am.gzip-n hplip-2.7.12/Makefile.am
--- hplip-2.7.12/Makefile.am.gzip-n	2008-01-18 15:42:03.000000000 +0000
+++ hplip-2.7.12/Makefile.am	2008-01-18 15:42:38.000000000 +0000
@@ -420,7 +420,7 @@ if HPLIP_BUILD
 #	   Install fax support. 
 	if [ "$(fax_build)" = "yes" ]; then \
 	   mv $(DESTDIR)$(hpfaxdir)/hpfax.py $(DESTDIR)$(hpfaxdir)/hpfax; \
-	   gzip -f $(DESTDIR)$(faxppddir)/HP-Fax-hplip.ppd; \
+	   gzip -n -f $(DESTDIR)$(faxppddir)/HP-Fax-hplip.ppd; \
 	fi
 endif # if HPLIP_BUILD
 
diff -up hplip-2.7.12/Makefile.in.gzip-n hplip-2.7.12/Makefile.in
--- hplip-2.7.12/Makefile.in.gzip-n	2008-01-18 15:42:44.000000000 +0000
+++ hplip-2.7.12/Makefile.in	2008-01-18 15:43:08.000000000 +0000
@@ -7345,7 +7345,7 @@ install-data-hook: install-foo 
 #	   Install fax support. 
 @HPLIP_BUILD_TRUE@	if [ "$(fax_build)" = "yes" ]; then \
 @HPLIP_BUILD_TRUE@	   mv $(DESTDIR)$(hpfaxdir)/hpfax.py $(DESTDIR)$(hpfaxdir)/hpfax; \
- at HPLIP_BUILD_TRUE@	   gzip -f $(DESTDIR)$(faxppddir)/HP-Fax-hplip.ppd; \
+ at HPLIP_BUILD_TRUE@	   gzip -n -f $(DESTDIR)$(faxppddir)/HP-Fax-hplip.ppd; \
 @HPLIP_BUILD_TRUE@	fi
 
 install-foo:


Index: hplip.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/F-8/hplip.spec,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -r1.164 -r1.165
--- hplip.spec	18 Jan 2008 15:16:12 -0000	1.164
+++ hplip.spec	18 Jan 2008 15:52:52 -0000	1.165
@@ -1,7 +1,7 @@
 Summary: HP Linux Imaging and Printing Project
 Name: hplip
 Version: 2.7.12
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+ and MIT
 Group: System Environment/Daemons
 Conflicts: system-config-printer < 0.6.132
@@ -15,6 +15,7 @@
 Source0: http://kent.dl.sourceforge.net/sourceforge/hplip/%{name}-%{version}.tar.gz
 Source1: hplip.fdi
 Patch1: hplip-desktop.patch
+Patch2: hplip-gzip-n.patch
 Patch3: hplip-quiet.patch
 Patch4: hplip-marker-supply.patch
 Patch5: hplip-libm.patch
@@ -68,6 +69,7 @@
 License: BSD
 Epoch: %{hpijs_epoch}
 Requires: python-reportlab
+Requires: net-snmp
 
 %description -n hpijs
 hpijs is a collection of optimized drivers for HP printers.
@@ -94,6 +96,9 @@
 # Fix desktop file.
 %patch1 -p1 -b .desktop
 
+# Avoid multilib conflict (bug #341531).
+%patch2 -p1 -b .gzip-n
+
 # Quieten hpssd on startup.
 %patch3 -p1 -b .quiet
 
@@ -160,7 +165,7 @@
 # Remove files we don't want to package.
 rm -f %{buildroot}%{_datadir}/hplip/hpaio.desc
 rm -f %{buildroot}%{_datadir}/hplip/hplip-install
-rm -rf %{buildroot}%{_datadir}/hplip/install*
+rm -rf %{buildroot}%{_datadir}/hplip/install.*
 
 %clean
 rm -rf %{buildroot}
@@ -238,6 +243,7 @@
 %{_datadir}/hplip/toolbox.py*
 # Directories
 %{_datadir}/hplip/data/images
+%{_datadir}/hplip/installer
 %{_datadir}/hplip/plugins
 %{_datadir}/hplip/ui
 
@@ -274,6 +280,11 @@
 exit 0
 
 %changelog
+* Fri Jan 18 2008 Tim Waugh <twaugh at redhat.com> 2.7.12-2
+- Ship installer directory (bug #428246).
+- Avoid multilib conflict (bug #341531).
+- The hpijs sub-package requires net-snmp (bug #376641).
+
 * Fri Jan 18 2008 Tim Waugh <twaugh at redhat.com> 2.7.12-1
 - 2.7.12.  No longer need ljdot4 patch.
 




More information about the fedora-extras-commits mailing list