- Update to 3.0, no-strip patch no longer needed.

This commit is contained in:
Ville Skyttä 2010-07-03 12:02:48 +00:00
commit f4f7bcad76
4 changed files with 8 additions and 29 deletions

View file

@ -1 +1 @@
ccache-3.0pre1.tar.bz2
ccache-3.0.tar.bz2

View file

@ -1,21 +0,0 @@
diff -up ccache-3.0pre1/Makefile.in~ ccache-3.0pre1/Makefile.in
--- ccache-3.0pre1/Makefile.in~ 2010-05-10 23:08:12.000000000 +0300
+++ ccache-3.0pre1/Makefile.in 2010-05-13 20:31:38.000000000 +0300
@@ -13,6 +13,7 @@ CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@ -I.
LDFLAGS = @LDFLAGS@
EXEEXT = @EXEEXT@
+STRIP = strip
libs = @LIBS@ -lm
@@ -47,7 +48,8 @@ ccache.1: manual.xml
.PHONY: install
install: all
$(installcmd) -d $(DESTDIR)$(bindir)
- $(installcmd) -s -m 755 ccache$(EXEEXT) $(DESTDIR)$(bindir)
+ $(installcmd) -m 755 ccache$(EXEEXT) $(DESTDIR)$(bindir)
+ $(STRIP) $(DESTDIR)$(bindir)/ccache$(EXEEXT)
$(installcmd) -d $(DESTDIR)$(mandir)/man1
-$(installcmd) -m 644 $(srcdir)/ccache.1 $(DESTDIR)$(mandir)/man1/

View file

@ -6,17 +6,15 @@
Name: ccache
Version: 3.0
Release: 0.2.pre1%{?dist}
Release: 1%{?dist}
Summary: C/C++ compiler cache
Group: Development/Tools
License: GPLv3+
URL: http://ccache.samba.org/
Source0: http://samba.org/ftp/ccache/%{name}-%{version}pre1.tar.bz2
Source0: http://samba.org/ftp/ccache/%{name}-%{version}.tar.bz2
Source1: %{name}.sh.in
Source2: %{name}.csh.in
# https://bugzilla.samba.org/show_bug.cgi?id=7428
Patch0: %{name}-3.0pre1-strip.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(File::Spec)
@ -34,8 +32,7 @@ being done again. The main focus is to handle the GNU C/C++ compiler
%prep
%setup -q -n %{name}-%{version}pre1
%patch0 -p1
%setup -q
sed -e 's|@LIBDIR@|%{_libdir}|g' -e 's|@CACHEDIR@|%{_var}/cache/ccache|g' \
%{SOURCE1} > %{name}.sh
sed -e 's|@LIBDIR@|%{_libdir}|g' -e 's|@CACHEDIR@|%{_var}/cache/ccache|g' \
@ -103,6 +100,9 @@ done
%changelog
* Sat Jul 3 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.0-1
- Update to 3.0, no-strip patch no longer needed.
* Fri Jun 4 2010 Ville Skyttä <ville.skytta@iki.fi> - 3.0-0.2.pre1
- Reintroduce minor profile.d script performance improvements.

View file

@ -1 +1 @@
8df2b11277f88e91a3d861d06b92a030 ccache-3.0pre1.tar.bz2
213bd7420f913e4c926eeac9cd2dadf6 ccache-3.0.tar.bz2