SPECS: LPRng.spec - fix re-entrant install, make -j1, drop obsolet...

glen glen at pld-linux.org
Thu May 11 20:03:38 CEST 2006


Author: glen                         Date: Thu May 11 18:03:38 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix re-entrant install, make -j1, drop obsolete comment
- rel 2

---- Files affected:
SPECS:
   LPRng.spec (1.121 -> 1.122) 

---- Diffs:

================================================================
Index: SPECS/LPRng.spec
diff -u SPECS/LPRng.spec:1.121 SPECS/LPRng.spec:1.122
--- SPECS/LPRng.spec:1.121	Fri Feb 24 16:20:04 2006
+++ SPECS/LPRng.spec	Thu May 11 20:03:29 2006
@@ -7,7 +7,7 @@
 Summary(zh_CN):	LPRng--´ňÓĄłĚĐň
 Name:		LPRng
 Version:	3.8.28
-Release:	1
+Release:	2
 License:	GPL or Artistic
 Group:		Applications/System
 Source0:	ftp://ftp.lprng.com/pub/LPRng/LPRng/%{name}-%{version}.tgz
@@ -164,6 +164,7 @@
 %patch5 -p1
 
 rm -rf autom4te.cache
+mv  PrintingCookbook/{HTML,PrintingCookbook}
 
 %build
 %{__gettextize}
@@ -185,7 +186,7 @@
 	--with-lpd_perms_path=%{_sysconfdir}/lpd.perms \
 	--with-done_jobs=0
 
-%{__make}
+%{__make} -j1
 %{__make} -C man
 
 %install
@@ -202,14 +203,13 @@
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/lpd
 # yes, overwrite distribution lpd.conf
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/lpd.conf
-echo "default_printer = lp" >>$RPM_BUILD_ROOT%{_sysconfdir}/lpd.conf
+echo "default_printer = lp" >> $RPM_BUILD_ROOT%{_sysconfdir}/lpd.conf
 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/printcap
 install lpd.perms $RPM_BUILD_ROOT%{_sysconfdir}
-# default spool
 
 bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
-mv -f PrintingCookbook/{HTML,PrintingCookbook}
+rm -f $RPM_BUILD_ROOT%{_libdir}/liblpr.{la,a}
 
 %find_lang %{name}
 
@@ -258,6 +258,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.122  2006/05/11 18:03:29  glen
+- fix re-entrant install, make -j1, drop obsolete comment
+- rel 2
+
 Revision 1.121  2006/02/24 15:20:04  glen
 - use %service
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/LPRng.spec?r1=1.121&r2=1.122&f=u



More information about the pld-cvs-commit mailing list