]> git.pld-linux.org Git - packages/fam.git/commitdiff
- if it possible map %%{__cc} to %%{__cxx} in the same way as in mozilla.spec.
authorkloczek <kloczek@pld-linux.org>
Tue, 21 May 2002 09:31:10 +0000 (09:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fam.spec -> 1.10

fam.spec

index 2122233b2300401f75ab65dff8802bbeb8a93714..f4173e4aae04423971762221a9a68496f21c1f4e 100644 (file)
--- a/fam.spec
+++ b/fam.spec
@@ -24,7 +24,10 @@ Requires:    inetdaemon
 Requires:      portmap
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                __cxx           %{__cc}
+%define                _gcc_ver        %(%{__cc} -dumpversion | cut -b 1)
+%if %{_gcc_ver} == 2
+%define                __cxx           "%{__cc}"
+%endif
 
 %description
 fam, the File Alteration Monitor, provides a daemon and an API which
This page took 0.068849 seconds and 4 git commands to generate.