diff --git a/ccache.changes b/ccache.changes index 7f0012e..6ded3a9 100644 --- a/ccache.changes +++ b/ccache.changes @@ -70,7 +70,7 @@ Sun Sep 11 07:42:26 UTC 2016 - mpluskal@suse.com * Bail out on too hard compiler option -P. * Fixed clang test suite when running on Linux. * Fixed build and test for MinGW32 and Windows. -- Add fortran alias +- Add fortran amd objc symlinks ------------------------------------------------------------------- Fri Aug 26 13:27:20 UTC 2016 - tchvatal@suse.com diff --git a/ccache.spec b/ccache.spec index e1bd150..23125a8 100644 --- a/ccache.spec +++ b/ccache.spec @@ -29,12 +29,12 @@ Source2: %{name}.keyring BuildRequires: xz BuildRequires: zlib-devel Provides: distcc:%{_bindir}/ccache -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -ccache is a compiler cache. It speeds up recompilation by caching the result of -previous compilations and detecting when the same compilation is being done -again. Supported languages are C, C++, Objective-C and Objective-C++. +ccache is a compiler cache. It speeds up recompilation by caching the +result of previous compilations and detecting when the same compilation is +being done again. Supported languages are C, C++, Objective-C and +Objective-C++. %prep %setup -q @@ -51,6 +51,7 @@ mkdir -p %{buildroot}/%{_libdir}/%{name} cd %{buildroot}/%{_libdir}/%{name} ln -sf ../../bin/%{name} gcc ln -sf ../../bin/%{name} g++ +ln -sf ../../bin/%{name} gcc-objc ln -sf ../../bin/%{name} gfortran # do the same for clang ln -sf ../../bin/%{name} clang