Accepting request 308677 from devel:tools:building

1

OBS-URL: https://build.opensuse.org/request/show/308677
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ccache?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2015-05-26 10:35:54 +00:00 committed by Git OBS Bridge
commit 411b277d53
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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