]> git.pld-linux.org Git - packages/ccache.git/blobdiff - ccache.spec
better LFS fix
[packages/ccache.git] / ccache.spec
index af84a170073e67425f4dfb744c3898f515d56b75..c64f4c5731ae4f30c20d7daab1b85fc784430da3 100644 (file)
@@ -2,15 +2,16 @@ Summary:      Compiler cache
 Summary(pl.UTF-8):     Przyspieszacz kompilowania
 Summary(pt_BR.UTF-8):  Cache para compiladores C/C++
 Name:          ccache
-Version:       3.1.5
-Release:       1
+Version:       3.1.8
+Release:       2
 License:       GPL v3
 Group:         Development/Tools
 Source0:       http://samba.org/ftp/ccache/%{name}-%{version}.tar.bz2
-# Source0-md5: f652bd20253bb4aa1440ae50bea3c9e3
+# Source0-md5: 0e0f25fb342dcb1196d9c2986a7323cf
 Patch0:                %{name}-nohash_size_mtime.patch
 URL:           http://ccache.samba.org/
 BuildRequires: automake
+BuildRequires: zlib-devel >= 1.2.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _libdir         %{_prefix}/%{_lib}/%{name}
@@ -52,8 +53,12 @@ kompilatora.
 %setup -q
 %patch0 -p1
 
+# Make sure system zlib is used
+%{__rm} -r zlib
+
 %build
 cp -f /usr/share/automake/config.* .
+CPPFLAGS="%{rpmcppflags} -D_FILE_OFFSET_BITS=64"
 %configure
 
 %{__make}
@@ -88,8 +93,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS.txt MANUAL.txt NEWS.txt README.txt
 %attr(755,root,root) %{_bindir}/ccache
-%{_mandir}/man1/ccache*
-%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*
+%{_mandir}/man1/ccache.1.*
+%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/CCACHE_*
 
 %files wrapper
 %defattr(644,root,root,755)
This page took 0.0685 seconds and 4 git commands to generate.