SPECS: x3270.spec - make it work when %{__cc} contains spaces

glen glen at pld-linux.org
Wed Nov 1 23:46:46 CET 2006


Author: glen                         Date: Wed Nov  1 22:46:46 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- make it work when %{__cc} contains spaces

---- Files affected:
SPECS:
   x3270.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/x3270.spec
diff -u SPECS/x3270.spec:1.24 SPECS/x3270.spec:1.25
--- SPECS/x3270.spec:1.24	Mon May 15 11:05:24 2006
+++ SPECS/x3270.spec	Wed Nov  1 23:46:40 2006
@@ -17,10 +17,11 @@
 Source0:	http://x3270.bgp.nu/download/%{name}-%{fversion}.tgz
 # Source0-md5:	b90409b190380489f75fea231e8af2d8
 Source1:	%{name}.desktop
+Patch0:	%{name}-cc.patch
 URL:		http://x3270.bgp.nu/
-BuildRequires:	automake
 BuildRequires:	XFree86
 BuildRequires:	XFree86-devel
+BuildRequires:	automake
 Requires(post,postun):	/usr/X11R6/bin/mkfontdir
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -67,6 +68,7 @@
 
 %prep
 %setup -q -n %{name}-%{mversion}
+%patch0 -p1
 
 %build
 cp -f /usr/share/automake/config.sub .
@@ -78,7 +80,7 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_appdefsdir},%{_desktopdir},%{_mandir}/man5}
 
-%{__make} install install.man \
+%{__make} -j1 install install.man \
 	BINDIR=%{_bindir} \
 	MANDIR=%{_mandir} \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -100,7 +102,6 @@
 
 %files
 %defattr(644,root,root,755)
-#%doc Docs/*
 %attr(755,root,root) %{_bindir}/x3270
 %attr(755,root,root) %{_bindir}/x3270if
 %attr(755,root,root) %{_bindir}/pr3287
@@ -109,7 +110,6 @@
 %{_desktopdir}/%{name}.desktop
 %{_appdefsdir}/X3270
 %{_fontsdir}/misc/3270*.pcf.gz
-#%{_mandir}/man1/x3270.1*
 %{_mandir}/man?/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -118,6 +118,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2006/11/01 22:46:40  glen
+- make it work when %{__cc} contains spaces
+
 Revision 1.24  2006/05/15 09:05:24  ankry
 - fix zh_CN
 
@@ -169,16 +172,16 @@
   Group field using gettext).
 
 Revision 1.8  2002/01/18 02:15:26  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.7  2001/12/20 12:53:14  qboosh
 - adapterized, pl description
 
 Revision 1.6  2001/05/03 01:14:06  qboosh
-- adapterized and made spec %%debug ready or added using %%rpm*flags macros
+- adapterized and made spec %debug ready or added using %rpm*flags macros
 
 Revision 1.5  2000/06/09 07:24:04  kloczek
-- added using %%{__make} macro.
+- added using %{__make} macro.
 
 Revision 1.4  2000/04/10 17:06:18  baggins
 - more spelling fixes
@@ -198,23 +201,4 @@
 - FHS 2.0
 
 Revision 1.1  1999/08/19 20:07:27  baggins
-almost raw
-
-* Sun Mar 21 1999 Cristian Gafton <gafton at redhat.com>
-- auto rebuild in the new build environment (release 7)
-
-* Tue Jan 12 1999 Jeff Johnson <jbj at redhat.com>
-- ibm_hosts needed %config (#788)
-
-* Fri Aug  7 1998 Jeff Johnson <jbj at redhat.com>
-- build root
-
-* Fri May 01 1998 Prospector System <bugs at redhat.com>
-- translations modified for de, fr, tr
-
-* Wed Oct 22 1997 Marc Ewing <marc at redhat.com>
-- new version
-- added wmconfig entry
-
-* Mon Jul 21 1997 Erik Troan <ewt at redhat.com>
-- built against glibc
+- almost raw
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/x3270.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list