]> git.pld-linux.org Git - packages/colorgcc.git/commitdiff
- +x for profile
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 13 Feb 2005 15:06:10 +0000 (15:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- using __cc/__cxx here isn't good idea (they can be whole commands)

Changed files:
    colorgcc.spec -> 1.30

colorgcc.spec

index 2e675c8f2c280679d7d20ee191f6b249f8b5fda4..c6f651b7a1140be5455595fcb7d93cb1538b7d71 100644 (file)
@@ -18,7 +18,7 @@ BuildRequires:        perl-devel >= 1:5.6
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define        _libdir %{_prefix}/%{_lib}/%{name}
+%define                _libdir         %{_prefix}/%{_lib}/%{name}
 
 %description
 colorgcc is a Perl wrapper that colorizes the output of the gcc/g++
@@ -58,7 +58,7 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},/etc/profile.d}
 
 install colorgcc $RPM_BUILD_ROOT%{_bindir}
 
-for cc in cc c++ g++ gcc %{__cc} %{__cxx}; do
+for cc in cc c++ g++ gcc %{_target_cpu}-pld-linux-gcc %{_target_cpu}-pld-linux-g++; do
        ln -s ../../bin/colorgcc $RPM_BUILD_ROOT%{_libdir}/$cc
 done
 
@@ -75,6 +75,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files wrapper
 %defattr(644,root,root,755)
-/etc/profile.d/%{name}.sh
+%attr(755,root,root) /etc/profile.d/%{name}.sh
 %dir %{_libdir}
 %attr(755,root,root) %{_libdir}/*
This page took 0.079848 seconds and 4 git commands to generate.