[cscppc/f21] update to latest upstream (1.1.0)
Kamil Dudka
kdudka at fedoraproject.org
Wed Sep 3 12:36:00 UTC 2014
commit 8db6d237c255cd8a58e805739bac09497115997d
Author: Kamil Dudka <kdudka at redhat.com>
Date: Wed Aug 20 17:02:03 2014 +0200
update to latest upstream (1.1.0)
Introduces the csclng subpackage.
cscppc.spec | 32 +++++++++++++++++++++++++-------
sources | 2 +-
2 files changed, 26 insertions(+), 8 deletions(-)
---
diff --git a/cscppc.spec b/cscppc.spec
index e8b6ca4..08c1803 100644
--- a/cscppc.spec
+++ b/cscppc.spec
@@ -1,12 +1,12 @@
Name: cscppc
-Version: 1.0.4
-Release: 2%{?dist}
+Version: 1.1.0
+Release: 1%{?dist}
Summary: A compiler wrapper that runs cppcheck in background
Group: Development/Tools
License: GPLv3+
-URL: http://git.fedorahosted.org/cgit/%{name}.git
-Source0: http://git.fedorahosted.org/cgit/%{name}.git/snapshot/%{name}-%{version}.tar.xz
+URL: https://git.fedorahosted.org/cgit/%{name}.git
+Source0: https://git.fedorahosted.org/cgit/%{name}.git/snapshot/%{name}-%{version}.tar.xz
BuildRequires: asciidoc
@@ -25,12 +25,19 @@ Requires: cppcheck >= 1.58
This package contains the cscppc compiler wrapper that runs cppcheck in
background fully transparently.
+%package -n csclng
+Summary: A compiler wrapper that runs Clang in background
+
+%description -n csclng
+This package contains the csclng compiler wrapper that runs the Clang analyzer
+in background fully transparently.
+
%prep
%setup -q
%build
make %{?_smp_mflags} \
- CFLAGS="$RPM_OPT_FLAGS -DPATH_TO_WRAP='\"%{_libdir}/cscppc\"'" \
+ CFLAGS="$RPM_OPT_FLAGS -DPATH_TO_CSCPPC='\"%{_libdir}/cscppc\"' -DPATH_TO_CSCLNG='\"%{_libdir}/csclng\"'" \
LDFLAGS="$RPM_OPT_FLAGS -static -pthread"
%install
@@ -40,10 +47,11 @@ install -m0755 -d \
"$RPM_BUILD_ROOT%{_datadir}/cscppc" \
"$RPM_BUILD_ROOT%{_libdir}" \
"$RPM_BUILD_ROOT%{_libdir}/cscppc" \
+ "$RPM_BUILD_ROOT%{_libdir}/csclng" \
"$RPM_BUILD_ROOT%{_mandir}/man1"
-install -p -m0755 %{name} "$RPM_BUILD_ROOT%{_bindir}"
-install -p -m0644 %{name}.1 "$RPM_BUILD_ROOT%{_mandir}/man1"
+install -p -m0755 %{name} 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 \
@@ -52,6 +60,7 @@ for i in c++ cc g++ 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
%files
@@ -61,7 +70,16 @@ done
%{_mandir}/man1/%{name}.1*
%doc COPYING README
+%files -n csclng
+%{_bindir}/csclng
+%{_libdir}/csclng
+%{_mandir}/man1/csclng.1*
+%doc COPYING README
+
%changelog
+* Wed Sep 03 2014 Kamil Dudka <kdudka at redhat.com> 1.1.0-1
+- update to latest upstream (introduces the csclng subpackage)
+
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
diff --git a/sources b/sources
index 4e5c50e..abf04f3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f1931a5411de19092d4766b892a02a72 cscppc-1.0.4.tar.xz
+df638fa30c4ab45ab1fe172928e87a34 cscppc-1.1.0.tar.xz
More information about the scm-commits
mailing list