SHA256
1
0
forked from pool/cppcheck
Stephan Kleine 2009-04-15 09:02:34 +00:00 committed by Git OBS Bridge
parent 9c767da857
commit 6aae9c8b24
5 changed files with 18 additions and 14 deletions

View File

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

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

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

View File

@ -1,8 +0,0 @@
--- 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

@ -0,0 +1,10 @@
Index: Makefile
===================================================================
--- Makefile.orig 2009-04-12 19:54:15.000000000 +0200
+++ Makefile 2009-04-15 10:38:48.000000000 +0200
@@ -1,4 +1,4 @@
-CXXFLAGS=-Wall -Wextra -pedantic -g
+CXXFLAGS=${RPM_OPT_FLAGS}
CXX=g++
BIN=${DESTDIR}/usr/bin

View File

@ -3,13 +3,13 @@
%define jobs $(( `/usr/bin/getconf _NPROCESSORS_ONLN` + 1 ))
Name: cppcheck
Version: 1.30
Version: 1.31
Release: 1.0
License: GNU GPL v3
Group: Development/Languages/C and C++
Url: http://cppcheck.wiki.sourceforge.net/
Source: http://downloads.sourceforge.net/cppcheck/cppcheck-%{version}.tar.bz2
Patch: cppcheck-Makefile-1.30.patch
Patch: cppcheck-Makefile-1.31.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
Summary: A tool for static C/C++ code analysis
@ -34,7 +34,7 @@ This program tries to detect bugs that your C/C++ compiler don't see. Cppcheck i
%prep
%setup -q
%patch -p1
%patch
%build
%__make %{?jobs:-j%jobs}
@ -53,6 +53,8 @@ test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
%{_bindir}/cppcheck
%changelog
* Wed Apr 15 2009 bitshuffler #suse@irc.freenode.org
- Updated to 1.31
* Wed Mar 11 2009 bitshuffler #suse@irc.freenode.org
- Updated to 1.30
* Tue Feb 10 2009 bitshuffler #suse@irc.freenode.org