Auto-symlink gcc44(-c++) (#970228) and mingw32-gcc(-c++) compilers.

- Fix bogus dates in %changelog.
- Run test suite during build.
This commit is contained in:
Ville Skyttä 2013-06-04 22:45:45 +03:00
parent 958660d0df
commit 6fde09f1cb

View File

@ -1,12 +1,12 @@
%define compilers gcc g++ cc c++ gcc296 g++296 gcc32 c++32 g++32 gcc34 c++34 g++34 g++-libstdc++-so_7 avr-gcc avr-c++ avr-g++ arm-gp2x-linux-gcc arm-gp2x-linux-c++ arm-gp2x-linux-g++
%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, avr-gcc, avr-gcc-c++, arm-gp2x-linux-gcc, arm-gp2x-linux-gcc-c++
%define compilers gcc g++ cc c++ gcc296 g++296 gcc32 c++32 g++32 gcc34 c++34 g++34 gcc44 c++44 g++44 g++-libstdc++-so_7 avr-gcc avr-c++ avr-g++ arm-gp2x-linux-gcc arm-gp2x-linux-c++ arm-gp2x-linux-g++ i686-pc-mingw32-gcc i686-pc-mingw32-c++ i686-pc-mingw32-g++
%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++, gcc44, gcc44-c++, libstdc++so7-devel, avr-gcc, avr-gcc-c++, arm-gp2x-linux-gcc, arm-gp2x-linux-gcc-c++, mingw32-gcc, mingw32-gcc-c++
%define abs2rel() perl -MFile::Spec -e 'print File::Spec->abs2rel(@ARGV)' %1 %2
%{expand: %%define relccache %(%abs2rel %{_bindir}/ccache %{_libdir}/ccache)}
Name: ccache
Version: 2.4
Release: 20%{?dist}
Release: 21%{?dist}
Summary: C/C++ compiler cache
Group: Development/Tools
@ -66,6 +66,10 @@ done
install -dm 770 $RPM_BUILD_ROOT%{_var}/cache/ccache
%check
make test
%clean
rm -fr $RPM_BUILD_ROOT
@ -102,6 +106,11 @@ done
%changelog
* Tue Jun 4 2013 Ville Skyttä <ville.skytta@iki.fi> - 2.4-21
- Auto-symlink gcc44(-c++) (#970228) and mingw32-gcc(-c++) compilers.
- Fix bogus dates in %%changelog.
- Run test suite during build.
* Sun Jan 8 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.4-20
- Turn on CCACHE_HASHDIR by default (#759592, Jan Kratochvil).
- Replace Requires(trigger*) with plain requires to appease rpmbuild >= 4.9.
@ -172,7 +181,7 @@ done
- Auto-symlink update: add compat-gcc-32 and compat-gcc-32-c++, drop
bunch of no longer relevant compilers.
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.4-2
* Wed Apr 6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.4-2
- rebuilt
* Sun Sep 26 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:2.4-0.fdr.1
@ -207,7 +216,7 @@ done
- Use %%{?_smp_mflags}.
- Other cosmetic specfile tweaks.
* Fri Mar 29 2003 Warren Togami <warren@togami.com> 2.2-0.fdr.5
* Sat Mar 29 2003 Warren Togami <warren@togami.com> 2.2-0.fdr.5
- Epoch: 0
- Remove /usr/lib/ccache/sbin from PATH
@ -258,5 +267,5 @@ done
- Using ccache 2.2.1 sources
- Changed release to redconcepts for consistency
* Wed Oct 22 2002 Samir M. Nassar <rpm.redconcepts.net> 1.9-1.rcn
* Tue Oct 22 2002 Samir M. Nassar <rpm.redconcepts.net> 1.9-1.rcn
- Initial RedConcepts.NET (rcn) build for Red Hat Linux 8.0