diff --git a/cppcheck-1.43-OptFlags.patch b/cppcheck-1.43-OptFlags.patch deleted file mode 100644 index c48bd3a..0000000 --- a/cppcheck-1.43-OptFlags.patch +++ /dev/null @@ -1,10 +0,0 @@ -Index: Makefile -=================================================================== ---- Makefile.orig 2010-05-08 15:37:19.000000000 +0200 -+++ Makefile 2010-06-01 23:06:48.496942411 +0200 -@@ -1,4 +1,4 @@ --CXXFLAGS=-O2 -DNDEBUG -Wall -+CXXFLAGS=${RPM_OPT_FLAGS} - CXX=g++ - BIN=${DESTDIR}/usr/bin - diff --git a/cppcheck-1.44.tar.bz2 b/cppcheck-1.44.tar.bz2 deleted file mode 100644 index 3130a27..0000000 --- a/cppcheck-1.44.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:def48679f66f5909d063375431d4a924f12fcf9348d116b962da2b936a6aa4c6 -size 574457 diff --git a/cppcheck-1.45.tar.bz2 b/cppcheck-1.45.tar.bz2 new file mode 100644 index 0000000..ac434de --- /dev/null +++ b/cppcheck-1.45.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:371ffee020d6e28583b424643452509518f01153ac8f95a80273a04803b64109 +size 630091 diff --git a/cppcheck.changes b/cppcheck.changes index c63cb07..03892cf 100644 --- a/cppcheck.changes +++ b/cppcheck.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Oct 3 22:58:13 UTC 2010 - adam@mizerski.pl + +- update to 1.45 + ------------------------------------------------------------------- Sun Aug 22 17:03:39 UTC 2010 - mrdocs@opensuse.org diff --git a/cppcheck.spec b/cppcheck.spec index 474bd1b..68f3b0b 100644 --- a/cppcheck.spec +++ b/cppcheck.spec @@ -1,13 +1,12 @@ # norootforbuild Name: cppcheck -Version: 1.44 +Version: 1.45 Release: 0 License: GNU GPL v3 or later Group: Development/Languages/C and C++ Url: http://cppcheck.wiki.sourceforge.net/ Source: http://downloads.sourceforge.net/cppcheck/cppcheck-%{version}.tar.bz2 -Patch0: cppcheck-1.43-OptFlags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ BuildRequires: libqt4-devel @@ -30,23 +29,21 @@ This program tries to detect bugs that your C/C++ compiler don't see. Cppcheck i * Unsigned division. The result will be wrong. * Unusual pointer arithmetic - %prep %setup -q -%patch0 %build -%__make %{_smp_mflags} +CXXFLAGS="-DNDEBUG %optflags" %__make %{_smp_mflags} cd gui qmake %__make %{_smp_mflags} %check %__make %{_smp_mflags} test -%__install -Dm 0755 gui/gui %{buildroot}%{_bindir}/cppcheck-gui %install %makeinstall +%__install -Dm 0755 gui/cppcheck-gui %{buildroot}%{_bindir}/cppcheck-gui %clean test "%{buildroot}" != "/" && %__rm -rf %{buildroot}