[colorgcc] Allow using "color" prefix as well as "color-" prefix (bz1078180)
Martin Cermak
mcermak at fedoraproject.org
Thu Apr 17 11:40:15 UTC 2014
commit 254c67d8f5a561641502fab188fabddfb49ab82f
Author: Martin Cermak <mcermak at redhat.com>
Date: Thu Apr 17 13:40:00 2014 +0200
Allow using "color" prefix as well as "color-" prefix (bz1078180)
colorgcc.spec | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/colorgcc.spec b/colorgcc.spec
index feb6c0e..6ca81b7 100644
--- a/colorgcc.spec
+++ b/colorgcc.spec
@@ -1,7 +1,7 @@
Summary: Script to colorize the compiler output
Name: colorgcc
Version: 1.3.2
-Release: 10%{?dist}
+Release: 11%{?dist}
License: GPL+
Group: Development/Tools
Url: http://schlueters.de/colorgcc.html
@@ -11,6 +11,7 @@ Source2: README
BuildArch: noarch
Patch0: colorgcc-1.3.2-invocation.patch
Patch1: sampleconfig.patch
+Patch2: colorgcc-1.3.2-bz1078180.patch
Requires: perl
%description
@@ -24,6 +25,7 @@ cp -p %{SOURCE1} ./colorgccrc.sample
cp -p %{SOURCE2} .
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%install
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
@@ -33,6 +35,12 @@ ln -s %{_bindir}/color-gcc $RPM_BUILD_ROOT/%{_bindir}/color-cc
ln -s %{_bindir}/color-gcc $RPM_BUILD_ROOT/%{_bindir}/color-c++
ln -s %{_bindir}/color-gcc $RPM_BUILD_ROOT/%{_bindir}/color-ccache
+ln -s %{_bindir}/color-gcc $RPM_BUILD_ROOT/%{_bindir}/colorgcc
+ln -s %{_bindir}/color-gcc $RPM_BUILD_ROOT/%{_bindir}/colorg++
+ln -s %{_bindir}/color-gcc $RPM_BUILD_ROOT/%{_bindir}/colorcc
+ln -s %{_bindir}/color-gcc $RPM_BUILD_ROOT/%{_bindir}/colorc++
+ln -s %{_bindir}/color-gcc $RPM_BUILD_ROOT/%{_bindir}/colorccache
+
%files
%defattr(-,root,root,-)
%{_bindir}/color-gcc
@@ -40,9 +48,18 @@ ln -s %{_bindir}/color-gcc $RPM_BUILD_ROOT/%{_bindir}/color-ccache
%{_bindir}/color-cc
%{_bindir}/color-c++
%{_bindir}/color-ccache
+
+%{_bindir}/colorgcc
+%{_bindir}/colorg++
+%{_bindir}/colorcc
+%{_bindir}/colorc++
+%{_bindir}/colorccache
%doc README colorgccrc.sample
%changelog
+* Fri Apr 11 2014 Martin Cermak <mcermak at redhat.com> 1.3.2-11
+- Allow using "color" prefix as well as "color-" prefix (bz1078180)
+
* Thu Jan 03 2014 Martin Cermak <mcermak at redhat.com> 1.3.2-10
- Updated README
More information about the scm-commits
mailing list