Update to 3.2.4, specfile cleanups
This commit is contained in:
parent
9d29c2c050
commit
63ddc90860
13
ccache.spec
13
ccache.spec
@ -12,17 +12,15 @@
|
||||
%global relccache %(%abs2rel %{_bindir}/ccache %{_libdir}/ccache)
|
||||
|
||||
Name: ccache
|
||||
Version: 3.2.3
|
||||
Version: 3.2.4
|
||||
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}.tar.xz
|
||||
Source1: %{name}.sh.in
|
||||
Source2: %{name}.csh.in
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: zlib-devel >= 1.2.3
|
||||
@ -54,7 +52,7 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%make_install
|
||||
|
||||
install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
||||
install -pm 644 %{name}.sh %{name}.csh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
||||
@ -92,10 +90,6 @@ find $RPM_BUILD_ROOT%{_libdir}/ccache -type l | \
|
||||
make check
|
||||
|
||||
|
||||
%clean
|
||||
rm -fr $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%define ccache_trigger(p:) \
|
||||
%triggerin -- %{-p*}\
|
||||
for n in %* ; do\
|
||||
@ -210,6 +204,9 @@ getent group ccache >/dev/null || groupadd -r ccache || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Oct 9 2015 Ville Skyttä <ville.skytta@iki.fi> - 3.2.4-1
|
||||
- Update to 3.2.4
|
||||
|
||||
* Mon Aug 17 2015 Ville Skyttä <ville.skytta@iki.fi> - 3.2.3-1
|
||||
- Update to 3.2.3, fixes #1227819 and #1247493
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user