From 9d4e41030ba87a36a0649e92133eb7e846778406c123e882250c8c108061b176 Mon Sep 17 00:00:00 2001 From: Stephan Kleine Date: Wed, 30 Sep 2009 19:33:39 +0000 Subject: [PATCH] Updated to 1.37 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=7 --- cppcheck-1.32.tar.bz2 | 3 --- ...k-Makefile-1.31.patch => cppcheck-1.37-OptFlags.patch | 6 +++--- cppcheck-1.37.tar.bz2 | 3 +++ cppcheck.changes | 5 +++++ cppcheck.spec | 9 ++++----- 5 files changed, 15 insertions(+), 11 deletions(-) delete mode 100644 cppcheck-1.32.tar.bz2 rename cppcheck-Makefile-1.31.patch => cppcheck-1.37-OptFlags.patch (51%) create mode 100644 cppcheck-1.37.tar.bz2 diff --git a/cppcheck-1.32.tar.bz2 b/cppcheck-1.32.tar.bz2 deleted file mode 100644 index 8c4f0c2..0000000 --- a/cppcheck-1.32.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:362f7c77afa17fd11b6547c8f30ecd26f1413973767ff064e1388357f148f19d -size 113243 diff --git a/cppcheck-Makefile-1.31.patch b/cppcheck-1.37-OptFlags.patch similarity index 51% rename from cppcheck-Makefile-1.31.patch rename to cppcheck-1.37-OptFlags.patch index 085254f..c76d035 100644 --- a/cppcheck-Makefile-1.31.patch +++ b/cppcheck-1.37-OptFlags.patch @@ -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 diff --git a/cppcheck-1.37.tar.bz2 b/cppcheck-1.37.tar.bz2 new file mode 100644 index 0000000..be3d94a --- /dev/null +++ b/cppcheck-1.37.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0e9221c1e60a290ae9871d3ee627fdf8dc6f13b10277622ccf1a9898a4d727d +size 372740 diff --git a/cppcheck.changes b/cppcheck.changes index dfa4a28..b27e84e 100644 --- a/cppcheck.changes +++ b/cppcheck.changes @@ -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 diff --git a/cppcheck.spec b/cppcheck.spec index 25236e1..cf9b4bc 100644 --- a/cppcheck.spec +++ b/cppcheck.spec @@ -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