[cscppc] update to latest upstream (1.1.2)

Kamil Dudka kdudka at fedoraproject.org
Fri Sep 19 10:35:20 UTC 2014


commit 35b9fd0177c102b706486d74ff38ca9235bd0f37
Author: Kamil Dudka <kdudka at redhat.com>
Date:   Fri Sep 19 12:32:06 2014 +0200

    update to latest upstream (1.1.2)

 cscppc.spec |   20 ++++++++++++++------
 sources     |    2 +-
 2 files changed, 15 insertions(+), 7 deletions(-)
---
diff --git a/cscppc.spec b/cscppc.spec
index 357eacc..6b3febf 100644
--- a/cscppc.spec
+++ b/cscppc.spec
@@ -1,5 +1,5 @@
 Name:       cscppc
-Version:    1.1.0
+Version:    1.1.2
 Release:    1%{?dist}
 Summary:    A compiler wrapper that runs cppcheck in background
 
@@ -27,6 +27,7 @@ background fully transparently.
 
 %package -n csclng
 Summary: A compiler wrapper that runs Clang in background
+Conflicts: csmock-plugin-clang < 1.5.0
 
 %description -n csclng
 This package contains the csclng compiler wrapper that runs the Clang analyzer
@@ -50,19 +51,22 @@ install -m0755 -d \
     "$RPM_BUILD_ROOT%{_libdir}/csclng"         \
     "$RPM_BUILD_ROOT%{_mandir}/man1"
 
-install -p -m0755 %{name} csclng "$RPM_BUILD_ROOT%{_bindir}"
+install -p -m0755 %{name} csclng csclng++ "$RPM_BUILD_ROOT%{_bindir}"
 install -p -m0644 %{name}.1 csclng.1 "$RPM_BUILD_ROOT%{_mandir}/man1"
 install -p -m0644 default.supp "$RPM_BUILD_ROOT%{_datadir}/cscppc"
 
-for i in c++ cc g++ gcc \
-    %{_arch}-redhat-linux-c++ \
-    %{_arch}-redhat-linux-g++ \
-    %{_arch}-redhat-linux-gcc
+for i in cc gcc %{_arch}-redhat-linux-gcc
 do
     ln -s ../../bin/cscppc "$RPM_BUILD_ROOT%{_libdir}/cscppc/$i"
     ln -s ../../bin/csclng "$RPM_BUILD_ROOT%{_libdir}/csclng/$i"
 done
 
+for i in c++ g++ %{_arch}-redhat-linux-c++ %{_arch}-redhat-linux-g++
+do
+    ln -s ../../bin/cscppc   "$RPM_BUILD_ROOT%{_libdir}/cscppc/$i"
+    ln -s ../../bin/csclng++ "$RPM_BUILD_ROOT%{_libdir}/csclng/$i"
+done
+
 %files
 %{_bindir}/cscppc
 %{_datadir}/cscppc
@@ -72,11 +76,15 @@ done
 
 %files -n csclng
 %{_bindir}/csclng
+%{_bindir}/csclng++
 %{_libdir}/csclng
 %{_mandir}/man1/csclng.1*
 %doc COPYING README
 
 %changelog
+* Fri Sep 19 2014 Kamil Dudka <kdudka at redhat.com> 1.1.2-1
+- update to latest upstream
+
 * Wed Aug 20 2014 Kamil Dudka <kdudka at redhat.com> 1.1.0-1
 - update to latest upstream (introduces the csclng subpackage)
 
diff --git a/sources b/sources
index abf04f3..25ed895 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-df638fa30c4ab45ab1fe172928e87a34  cscppc-1.1.0.tar.xz
+59efbe6b2711ce7db93ab6a587dd4861  cscppc-1.1.2.tar.xz


More information about the scm-commits mailing list