SHA256
1
0
forked from pool/cppcheck
Stephan Kleine 2009-03-13 15:00:36 +00:00 committed by Git OBS Bridge
parent f80a3a5e1a
commit 9c767da857
5 changed files with 17 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b2b314be269a84f9a76cac0f16339d0ea23d158f541226420724ea5bea58501d
size 82406

3
cppcheck-1.30.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86cd2bd3b96a600fe87016f7c8bcf30d239d02f0f5b4efd40025c87665f5aed5
size 100524

View File

@ -1,9 +0,0 @@
diff -Naur cppcheck-1.28.original/Makefile cppcheck-1.28/Makefile
--- cppcheck-1.28.original/Makefile 2009-02-10 19:07:47.000000000 +0100
+++ cppcheck-1.28/Makefile 2009-02-10 19:08:13.000000000 +0100
@@ -1,4 +1,4 @@
-CXXFLAGS=-Wall -Wextra -pedantic -g
+CXXFLAGS=${RPM_OPT_FLAGS}
BIN=${DESTDIR}/usr/bin

View File

@ -0,0 +1,8 @@
--- cppcheck-1.30.original/Makefile 2009-03-12 02:09:13.000000000 +0100
+++ cppcheck-1.30/Makefile 2009-03-12 02:10:06.000000000 +0100
@@ -1,4 +1,4 @@
-CXXFLAGS=-Wall -Wextra -pedantic -g
+CXXFLAGS=${RPM_OPT_FLAGS}
COMPILER=g++
BIN=${DESTDIR}/usr/bin

View File

@ -3,13 +3,13 @@
%define jobs $(( `/usr/bin/getconf _NPROCESSORS_ONLN` + 1 ))
Name: cppcheck
Version: 1.28
Version: 1.30
Release: 1.0
License: GNU GPL v3
Group: Development/Languages/C and C++
Url: http://cppcheck.sourceforge.net/
Source: %{name}-%{version}.tar.bz2
Patch: cppcheck-Makefile-1.28.patch
Url: http://cppcheck.wiki.sourceforge.net/
Source: http://downloads.sourceforge.net/cppcheck/cppcheck-%{version}.tar.bz2
Patch: cppcheck-Makefile-1.30.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
Summary: A tool for static C/C++ code analysis
@ -53,5 +53,7 @@ test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
%{_bindir}/cppcheck
%changelog
* Wed Mar 11 2009 bitshuffler #suse@irc.freenode.org
- Updated to 1.30
* Tue Feb 10 2009 bitshuffler #suse@irc.freenode.org
- Initial RPM