SHA256
1
0
forked from pool/cppcheck
Stephan Kleine 2009-09-30 19:33:39 +00:00 committed by Git OBS Bridge
parent bccf093322
commit 9d4e41030b
5 changed files with 15 additions and 11 deletions

View File

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

View File

@ -1,9 +1,9 @@
Index: Makefile
===================================================================
--- Makefile.orig 2009-04-12 19:54:15.000000000 +0200
+++ Makefile 2009-04-15 10:38:48.000000000 +0200
--- Makefile.orig 2009-09-22 21:25:26.000000000 +0200
+++ Makefile 2009-09-30 21:18:15.000000000 +0200
@@ -1,4 +1,4 @@
-CXXFLAGS=-Wall -Wextra -pedantic -g
-CXXFLAGS=-Wall -Wextra -pedantic -O2 -DNDEBUG
+CXXFLAGS=${RPM_OPT_FLAGS}
CXX=g++
BIN=${DESTDIR}/usr/bin

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

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 30 19:21:51 UTC 2009 - bitshuffler #suse@irc.freenode.org
- Updated to 1.37
-------------------------------------------------------------------
Sat May 16 03:32:31 CEST 2009 - bitshuffler #suse@irc.freenode.org

View File

@ -1,15 +1,13 @@
# norootforbuild
%define jobs $(( `/usr/bin/getconf _NPROCESSORS_ONLN` + 1 ))
Name: cppcheck
Version: 1.32
Version: 1.37
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.31.patch
Patch0: cppcheck-1.37-OptFlags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
Summary: A tool for static C/C++ code analysis
@ -34,7 +32,7 @@ This program tries to detect bugs that your C/C++ compiler don't see. Cppcheck i
%prep
%setup -q
%patch
%patch0
%build
%__make %{?jobs:-j%jobs}
@ -50,4 +48,5 @@ test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS Changelog
%{_bindir}/cppcheck