SPECS: libstrlcpy.spec, adapter.awk - gcc -> %{__cc}

glen glen at pld-linux.org
Mon Oct 3 17:57:11 CEST 2005


Author: glen                         Date: Mon Oct  3 15:57:11 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- gcc -> %{__cc}

---- Files affected:
SPECS:
   libstrlcpy.spec (1.4 -> 1.5) , adapter.awk (1.190 -> 1.191) 

---- Diffs:

================================================================
Index: SPECS/libstrlcpy.spec
diff -u SPECS/libstrlcpy.spec:1.4 SPECS/libstrlcpy.spec:1.5
--- SPECS/libstrlcpy.spec:1.4	Mon Oct  3 17:56:03 2005
+++ SPECS/libstrlcpy.spec	Mon Oct  3 17:57:06 2005
@@ -34,9 +34,9 @@
 cp %{SOURCE1} .
 
 %build
-gcc %{rpmcflags} -c strlcpy.c
-gcc %{rpmcflags} -c strlcat.c
-gcc %{rpmldflags} -Wl,-soname,%{soname} -shared strlcpy.o strlcat.o -o %{soname}
+%{__cc} %{rpmcflags} -c strlcpy.c
+%{__cc} %{rpmcflags} -c strlcat.c
+%{__cc} %{rpmldflags} -Wl,-soname,%{soname} -shared strlcpy.o strlcat.o -o %{soname}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -57,6 +57,7 @@
 %attr(755,root,root) %{_libdir}/%{soname}
 
 %files devel
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}.so
 %{_mandir}/man3/*
 
@@ -66,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/10/03 15:57:06  glen
+- gcc -> %{__cc}
+
 Revision 1.4  2005/10/03 15:56:03  glen
 - manual for strlcpy too
 

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.190 SPECS/adapter.awk:1.191
--- SPECS/adapter.awk:1.190	Sun Oct  2 20:22:24 2005
+++ SPECS/adapter.awk	Mon Oct  3 17:57:06 2005
@@ -861,6 +861,7 @@
 
 	gsub("^make$", "%{__make}")
 	gsub("^make ", "%{__make} ")
+	gsub("^gcc ", "%{__cc} ")
 
 	# mandrake specs
 	gsub("^%make$", "%{__make}")
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libstrlcpy.spec?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.190&r2=1.191&f=u




More information about the pld-cvs-commit mailing list