From 941f938ff2e445b85206f01d6909e61dcb471cbd831824c5a9ac470a851942b7 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 24 Feb 2011 19:41:55 +0000 Subject: [PATCH] Accepting request 61512 from home:adra:branches:devel:tools:building thanks OBS-URL: https://build.opensuse.org/request/show/61512 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ccache?expand=0&rev=13 --- ccache-3.1.3.tar.bz2 | 3 --- ccache-3.1.4.tar.bz2 | 3 +++ ccache.changes | 16 ++++++++++++++++ ccache.spec | 42 +++++++++++++++++++++--------------------- 4 files changed, 40 insertions(+), 24 deletions(-) delete mode 100644 ccache-3.1.3.tar.bz2 create mode 100644 ccache-3.1.4.tar.bz2 diff --git a/ccache-3.1.3.tar.bz2 b/ccache-3.1.3.tar.bz2 deleted file mode 100644 index 709da1b..0000000 --- a/ccache-3.1.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c3aa736e1b4a37d06d0098c05c4dbcc977b791ee51a64f5e1bd78e5aa7baaad7 -size 261539 diff --git a/ccache-3.1.4.tar.bz2 b/ccache-3.1.4.tar.bz2 new file mode 100644 index 0000000..80081ac --- /dev/null +++ b/ccache-3.1.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5288359487c951e7be7af2e60d3b8fc7b9d89252becf51b31ecc415efdae1a1f +size 261391 diff --git a/ccache.changes b/ccache.changes index 39389e3..556c7ab 100644 --- a/ccache.changes +++ b/ccache.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Feb 16 18:19:41 UTC 2011 - asterios.dramis@gmail.com + +- update to ccache-3.1.4 + - Made a work-around for a bug in gzputc() in zlib 1.2.5. + - Corrupt manifest files are now removed so that they won't block direct + mode hits. + - ccache now copes with file systems that don't know about symbolic links. + - The file handle in now correctly closed on write error when trying to + create a cache dir tag. +- Spec file updates: + - Changes based on rpmdevtools templates and spec-cleaner run. + - Updated Summary: and %description. + - Made it compile with external zlib instead of the bundled copy. + - Added also the html files in the %doc section. + ------------------------------------------------------------------- Mon Nov 29 09:56:02 UTC 2010 - puzel@novell.com diff --git a/ccache.spec b/ccache.spec index 36d6c11..72a79c1 100644 --- a/ccache.spec +++ b/ccache.spec @@ -1,7 +1,7 @@ # -# spec file for package ccache (Version 3.1.3) +# spec file for package ccache (Version 3.1.4) # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,24 +17,24 @@ # norootforbuild - Name: ccache -Summary: Compiler Cache -Version: 3.1.3 +Version: 3.1.4 Release: 1 -Group: Development/Languages/C and C++ +Summary: A Fast C/C++ Compiler Cache + License: GPLv3+ -AutoReqProv: on Url: http://ccache.samba.org/ -Source: ccache-%{version}.tar.bz2 -Provides: distcc:/usr/bin/ccache +Group: Development/Languages/C and C++ +Source0: http://samba.org/ftp/ccache/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: zlib-devel +Provides: distcc:/usr/bin/ccache + %description -Ccache is a compiler cache. It acts as a caching preprocessor to C/C++ -compilers, using the -E compiler switch and a hash to detect when a -compilation can be satisfied from cache. This often results in -increased speed for common compilations. +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++. @@ -43,22 +43,22 @@ Authors: Andrew Tridgell %prep -%setup +%setup -q %build %configure -make +make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT install +make install DESTDIR=%{buildroot} + +%clean +rm -rf %{buildroot} %files -%defattr(-,root,root) -%doc LICENSE.txt README.txt NEWS.txt INSTALL.txt MANUAL.txt AUTHORS.txt +%defattr(-,root,root,-) +%doc AUTHORS.* GPL-3.0.txt INSTALL.* LICENSE.* MANUAL.* NEWS.* README.* %doc %{_mandir}/man1/ccache.1* %{_bindir}/ccache -%clean -rm -rf $RPM_BUILD_ROOT - %changelog