diff --git a/ccache.changes b/ccache.changes index f799c0f..a79ccd2 100644 --- a/ccache.changes +++ b/ccache.changes @@ -33,6 +33,12 @@ Fri May 22 07:14:06 UTC 2015 - mpluskal@suse.com * Fixed build error when compiling ccache with recent clang versions. +------------------------------------------------------------------- +Fri May 15 10:08:14 UTC 2015 - mvyskocil@opensuse.org + +- Add the compat symlinks for gcc/g++ to libdir, so prepending + libdir to PATH enabled ccache by default + ------------------------------------------------------------------- Fri Feb 20 18:12:09 UTC 2015 - mpluskal@suse.com diff --git a/ccache.spec b/ccache.spec index bfa1714..ff22f0d 100644 --- a/ccache.spec +++ b/ccache.spec @@ -46,6 +46,12 @@ make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %{?_smp_mflags} +# create the compat symlinks into /usr/libdir/ccache +mkdir -p %{buildroot}/%{_libdir}/%{name} +cd %{buildroot}/%{_libdir}/%{name} +ln -sf ../../bin/%{name} gcc +ln -sf ../../bin/%{name} g++ + %check %ifarch i586 # On i586 use only quick minimal testsuite, full one fails @@ -60,5 +66,6 @@ make quicktest %{?_smp_mflags} %doc AUTHORS.* GPL-3.0.txt LICENSE.* MANUAL.* NEWS.* README.* %doc %{_mandir}/man1/%{name}.1%{ext_man} %{_bindir}/%{name} +%{_libdir}/%{name} %changelog