rpms/ccache/devel ccache.sh.in,1.3,1.4 ccache.spec,1.28,1.29

Ville Skyttä scop at fedoraproject.org
Fri Jun 4 19:57:27 UTC 2010


Author: scop

Update of /cvs/pkgs/rpms/ccache/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv23689

Modified Files:
	ccache.sh.in ccache.spec 
Log Message:
* Fri Jun  4 2010 Ville Skyttä <ville.skytta at iki.fi> - 3.0-0.2.pre1
- Reintroduce minor profile.d script performance improvements.



Index: ccache.sh.in
===================================================================
RCS file: /cvs/pkgs/rpms/ccache/devel/ccache.sh.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- ccache.sh.in	1 Mar 2010 22:38:44 -0000	1.3
+++ ccache.sh.in	4 Jun 2010 19:57:26 -0000	1.4
@@ -1,9 +1,10 @@
 # Use ccache by default.  Users who don't want that can set the CCACHE_DISABLE
 # environment variable in their personal profile.
 
-if ! echo "$PATH" | grep -Eq '(^|:)@LIBDIR@/ccache($|:)' ; then
-    PATH="@LIBDIR@/ccache:$PATH"
-fi
+case ":$PATH:" in
+    *:@LIBDIR@/ccache:*) ;;
+    *) PATH="@LIBDIR@/ccache:$PATH" ;;
+esac
 
 # If @CACHEDIR@ is writable, use a shared cache there.  Users who don't
 # want that even if they have that write permission can set the CCACHE_DIR


Index: ccache.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ccache/devel/ccache.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -p -r1.28 -r1.29
--- ccache.spec	13 May 2010 18:57:13 -0000	1.28
+++ ccache.spec	4 Jun 2010 19:57:27 -0000	1.29
@@ -6,7 +6,7 @@
 
 Name:           ccache
 Version:        3.0
-Release:        0.1.pre1%{?dist}
+Release:        0.2.pre1%{?dist}
 Summary:        C/C++ compiler cache
 
 Group:          Development/Tools
@@ -103,6 +103,9 @@ done
 
 
 %changelog
+* Fri Jun  4 2010 Ville Skyttä <ville.skytta at iki.fi> - 3.0-0.2.pre1
+- Reintroduce minor profile.d script performance improvements.
+
 * Thu May 13 2010 Ville Skyttä <ville.skytta at iki.fi> - 3.0-0.1.pre1
 - Update to 3.0pre1 (#591040), license changed to GPLv3+.
 



More information about the scm-commits mailing list