From 43358d3c481f0c3fbb26303f9b26c9c05537f7fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 29 Aug 2006 19:56:32 +0000 Subject: [PATCH] - Add auto-symlink support for compat-gcc-34(-c++). - Untabify, escape macros in changelog. --- ccache.spec | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/ccache.spec b/ccache.spec index b0b431d..2f9e575 100644 --- a/ccache.spec +++ b/ccache.spec @@ -1,17 +1,17 @@ %define compilers gcc g++ cc c++ gcc296 g++296 gcc32 c++32 g++32 gcc34 c++34 g++34 g++-libstdc++-so_7 -%define pkgs gcc, gcc-c++, compat-gcc, compat-gcc-c++, compat-gcc-32, compat-gcc-32-c++, gcc34, gcc34-c++, libstdc++so7-devel +%define pkgs gcc, gcc-c++, compat-gcc, compat-gcc-c++, compat-gcc-32, compat-gcc-32-c++, gcc34, gcc34-c++, compat-gcc-34, compat-gcc-34-c++, libstdc++so7-devel -Name: ccache -Version: 2.4 -Release: 5%{?dist} -Summary: C/C++ compiler cache +Name: ccache +Version: 2.4 +Release: 6%{?dist} +Summary: C/C++ compiler cache -Group: Development/Tools -License: GPL -URL: http://ccache.samba.org/ -Source0: http://ccache.samba.org/ftp/ccache/%{name}-%{version}.tar.gz -Patch0: %{name}-html-links.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Group: Development/Tools +License: GPL +URL: http://ccache.samba.org/ +Source0: http://ccache.samba.org/ftp/ccache/%{name}-%{version}.tar.gz +Patch0: %{name}-html-links.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description ccache is a compiler cache. It acts as a caching pre-processor to @@ -78,11 +78,15 @@ done %doc COPYING README web/*.html %config %{_sysconfdir}/profile.d/%{name}.*sh %{_bindir}/ccache -%dir %{_libdir}/ccache +%dir %{_libdir}/ccache/ %{_mandir}/man1/ccache.1* %changelog +* Wed Aug 9 2006 Ville Skyttä - 2.4-6 +- Add auto-symlink support for compat-gcc-34(-c++). +- Untabify, escape macros in changelog. + * Tue May 16 2006 Ville Skyttä - 2.4-5 - Add auto-symlink support for g++-libstdc++-so_7. @@ -138,7 +142,7 @@ done - Add Requires: gcc, gcc-c++ (minimal expectation of compilers) * Fri Mar 28 2003 Warren Togami 2.2-0.fdr.3 -- No longer use %ghost, symlinks always exist +- No longer use %%ghost, symlinks always exist * Thu Mar 27 2003 Warren Togami 2.2-0.fdr.2 - Move symlinks to /usr/lib/ccache/bin @@ -148,7 +152,7 @@ done * Thu Mar 27 2003 Warren Togami 2.2-0.fdr.1 - Move symlinks to /bin since it seems to be at the beginning of PATH of all users before /usr/bin, the location of the real compiler. -- Package symlinks rather than create and remove during %post and %postun +- Package symlinks rather than create and remove during %%post and %%postun * Thu Feb 20 2003 Warren Togami 2.2-4.fedora.1 - Fedora @@ -164,8 +168,8 @@ done - Upgraded to ccache 2.2 * Tue Feb 04 2003 Samir M. Nassar 2.1.1-4.redconcepts -- Using %post to create the soft symlinks -- Using %postun to remove the soft symlinks +- Using %%post to create the soft symlinks +- Using %%postun to remove the soft symlinks - Thanks to Che for the help - Packaged as user