From 6aae9c8b24c2496d245c4c0d4071b0e9559249c168f707277d17771028817084 Mon Sep 17 00:00:00 2001 From: Stephan Kleine Date: Wed, 15 Apr 2009 09:02:34 +0000 Subject: [PATCH] Updated to 1.31 OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=5 --- cppcheck-1.30.tar.bz2 | 3 --- cppcheck-1.31.tar.bz2 | 3 +++ cppcheck-Makefile-1.30.patch | 8 -------- cppcheck-Makefile-1.31.patch | 10 ++++++++++ cppcheck.spec | 8 +++++--- 5 files changed, 18 insertions(+), 14 deletions(-) delete mode 100644 cppcheck-1.30.tar.bz2 create mode 100644 cppcheck-1.31.tar.bz2 delete mode 100644 cppcheck-Makefile-1.30.patch create mode 100644 cppcheck-Makefile-1.31.patch diff --git a/cppcheck-1.30.tar.bz2 b/cppcheck-1.30.tar.bz2 deleted file mode 100644 index c3d4e65..0000000 --- a/cppcheck-1.30.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86cd2bd3b96a600fe87016f7c8bcf30d239d02f0f5b4efd40025c87665f5aed5 -size 100524 diff --git a/cppcheck-1.31.tar.bz2 b/cppcheck-1.31.tar.bz2 new file mode 100644 index 0000000..64dd0e1 --- /dev/null +++ b/cppcheck-1.31.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40861e2dbbd9760000eda73058196dba021353d2eaaff50a7d9fa6d0b2f17563 +size 107894 diff --git a/cppcheck-Makefile-1.30.patch b/cppcheck-Makefile-1.30.patch deleted file mode 100644 index ce73f42..0000000 --- a/cppcheck-Makefile-1.30.patch +++ /dev/null @@ -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 - diff --git a/cppcheck-Makefile-1.31.patch b/cppcheck-Makefile-1.31.patch new file mode 100644 index 0000000..085254f --- /dev/null +++ b/cppcheck-Makefile-1.31.patch @@ -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 + diff --git a/cppcheck.spec b/cppcheck.spec index bb2e793..4eda394 100644 --- a/cppcheck.spec +++ b/cppcheck.spec @@ -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