]> git.pld-linux.org Git - packages/id3lib.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:
    id3lib.spec -> 1.21

id3lib.spec

index 445e5897a706c54d32cee3112cf0b9699c2dcb2f..0f8cfbe8f8c8a95f8b49f5947676b344f38b658a 100644 (file)
@@ -16,7 +16,10 @@ BuildRequires:       popt-devel
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                __cc            %{__cxx}
+%define                _gcc_ver        %(%{__cc} -dumpversion | cut -b 1)
+%if %{_gcc_ver} == 2
+%define                __cxx           "%{__cc}"
+%endif
 
 %description
 This package provides a software library for manipulating ID3v1 and
This page took 0.089032 seconds and 4 git commands to generate.