Accepting request 407336 from devel:tools:building
- Small spec file cleanup - Disable testsuite as it is not reliable in OBS OBS-URL: https://build.opensuse.org/request/show/407336 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ccache?expand=0&rev=35
This commit is contained in:
commit
b6a4148477
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 8 18:05:38 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Small spec file cleanup
|
||||
- Disable testsuite as it is not reliable in OBS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 28 07:17:22 UTC 2016 - idonmez@suse.com
|
||||
|
||||
|
15
ccache.spec
15
ccache.spec
@ -28,7 +28,7 @@ Source1: http://samba.org/ftp/%{name}/%{name}-%{version}.tar.xz.asc
|
||||
Source2: %{name}.keyring
|
||||
BuildRequires: xz
|
||||
BuildRequires: zlib-devel
|
||||
Provides: distcc:/usr/bin/ccache
|
||||
Provides: distcc:%{_bindir}/ccache
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -44,7 +44,7 @@ again. Supported languages are C, C++, Objective-C and Objective-C++.
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} %{?_smp_mflags}
|
||||
%make_install
|
||||
|
||||
# create the compat symlinks into /usr/libdir/ccache
|
||||
mkdir -p %{buildroot}/%{_libdir}/%{name}
|
||||
@ -52,20 +52,11 @@ 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
|
||||
# (https://bugzilla.samba.org/show_bug.cgi?id=11109)
|
||||
# We disable the full test-suite on x86-64 too because
|
||||
# "readonly" testsuite takes forever on OBS.
|
||||
make quicktest %{?_smp_mflags}
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS.* GPL-3.0.txt LICENSE.* MANUAL.* NEWS.* README.*
|
||||
%doc %{_mandir}/man1/%{name}.1%{ext_man}
|
||||
%{_bindir}/%{name}
|
||||
%{_libdir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1%{ext_man}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user