]> git.pld-linux.org Git - packages/ccache.git/commitdiff
updated to 3.3.3, get rid of all those empty configuration variables
authorTomasz Pala <gotar@pld-linux.org>
Mon, 5 Dec 2016 12:17:45 +0000 (13:17 +0100)
committerTomasz Pala <gotar@pld-linux.org>
Mon, 5 Dec 2016 12:17:45 +0000 (13:17 +0100)
env.d is not a place for storing all available environment variables,
especially when we do not provide some nice 'just-uncomment' values for
them. One can get a list from documentation ...and use /etc/ccache.conf

ccache.spec

index 0506eeedb4b4364659880f8aea1a7ff7ddbb3593..63430ebae0013e12720fb0f6db21d42f59f78056 100644 (file)
@@ -2,12 +2,12 @@ Summary:      Compiler cache
 Summary(pl.UTF-8):     Pamięć podręczna dla kompilatora
 Summary(pt_BR.UTF-8):  Cache para compiladores C/C++
 Name:          ccache
-Version:       3.2.7
+Version:       3.3.3
 Release:       1
 License:       GPL v3
 Group:         Development/Tools
 Source0:       https://www.samba.org/ftp/ccache/%{name}-%{version}.tar.xz
-# Source0-md5: d51bff83f656f6a3a58c7e9117d6d8fc
+# Source0-md5: 6918b36301a0b8ffdc96549f609a4ebc
 URL:           http://ccache.samba.org/
 BuildRequires: automake
 BuildRequires: tar >= 1:1.22
@@ -71,14 +71,6 @@ install -d $RPM_BUILD_ROOT/etc/env.d
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-for X in CCACHE_DIR CCACHE_TEMPDIR CCACHE_LOGFILE CCACHE_PATH CCACHE_CC CCACHE_PREFIX \
-       CCACHE_DISABLE CCACHE_READONLY CCACHE_CPP2 CCACHE_NOSTATS CCACHE_NLEVELS \
-       CCACHE_HARDLINK CCACHE_RECACHE CCACHE_UMASK CCACHE_HASHDIR CCACHE_UNIFY \
-       CCACHE_EXTENSION CCACHE_NOHASH_SIZE_MTIME
-do
-       echo "#${X}=\"\"" > $RPM_BUILD_ROOT/etc/env.d/${X}
-done
-
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},/etc/profile.d}
 for cc in cc c++ g++ gcc %{_target_cpu}-pld-linux-gcc %{_target_cpu}-pld-linux-g++; do
        ln -s ../../bin/%{name} $RPM_BUILD_ROOT%{_libdir}/$cc
@@ -94,7 +86,6 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS.txt MANUAL.txt NEWS.txt README.txt
 %attr(755,root,root) %{_bindir}/ccache
 %{_mandir}/man1/ccache.1.*
-%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/CCACHE_*
 
 %files wrapper
 %defattr(644,root,root,755)
This page took 0.127168 seconds and 4 git commands to generate.