Martin Pluskal 2016-09-11 08:01:53 +00:00 committed by Git OBS Bridge
parent caf3ac227f
commit 4e0fced85b
2 changed files with 6 additions and 5 deletions

View File

@ -70,7 +70,7 @@ Sun Sep 11 07:42:26 UTC 2016 - mpluskal@suse.com
* Bail out on too hard compiler option -P. * Bail out on too hard compiler option -P.
* Fixed clang test suite when running on Linux. * Fixed clang test suite when running on Linux.
* Fixed build and test for MinGW32 and Windows. * 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 Fri Aug 26 13:27:20 UTC 2016 - tchvatal@suse.com

View File

@ -29,12 +29,12 @@ Source2: %{name}.keyring
BuildRequires: xz BuildRequires: xz
BuildRequires: zlib-devel BuildRequires: zlib-devel
Provides: distcc:%{_bindir}/ccache Provides: distcc:%{_bindir}/ccache
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
ccache is a compiler cache. It speeds up recompilation by caching the result of ccache is a compiler cache. It speeds up recompilation by caching the
previous compilations and detecting when the same compilation is being done result of previous compilations and detecting when the same compilation is
again. Supported languages are C, C++, Objective-C and Objective-C++. being done again. Supported languages are C, C++, Objective-C and
Objective-C++.
%prep %prep
%setup -q %setup -q
@ -51,6 +51,7 @@ mkdir -p %{buildroot}/%{_libdir}/%{name}
cd %{buildroot}/%{_libdir}/%{name} cd %{buildroot}/%{_libdir}/%{name}
ln -sf ../../bin/%{name} gcc ln -sf ../../bin/%{name} gcc
ln -sf ../../bin/%{name} g++ ln -sf ../../bin/%{name} g++
ln -sf ../../bin/%{name} gcc-objc
ln -sf ../../bin/%{name} gfortran ln -sf ../../bin/%{name} gfortran
# do the same for clang # do the same for clang
ln -sf ../../bin/%{name} clang ln -sf ../../bin/%{name} clang