Update to 1.53.

This commit is contained in:
Jussi Lehtola 2012-02-11 13:18:30 +02:00
parent 0241ca4525
commit 495001661a
4 changed files with 7 additions and 17 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ cppcheck-1.44.tar.bz2
/cppcheck-1.50.tar.bz2
/cppcheck-1.51.tar.bz2
/cppcheck-1.52.tar.bz2
/cppcheck-1.53.tar.bz2

View File

@ -1,11 +0,0 @@
diff -up cppcheck-1.52/test/testfilelister.cpp.orig cppcheck-1.52/test/testfilelister.cpp
--- cppcheck-1.52/test/testfilelister.cpp.orig 2011-12-10 14:00:45.000000000 +0200
+++ cppcheck-1.52/test/testfilelister.cpp 2012-01-05 12:45:09.197377791 +0200
@@ -24,6 +24,7 @@
#ifndef _WIN32
#include <limits.h>
#include <stdlib.h>
+#include <unistd.h>
#endif
class TestFileLister: public TestFixture {

View File

@ -1,13 +1,11 @@
Name: cppcheck
Version: 1.52
Release: 2%{?dist}
Version: 1.53
Release: 1%{?dist}
Summary: Tool for static C/C++ code analysis
Group: Development/Languages
License: GPLv3+
URL: http://cppcheck.wiki.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
# Add missing includes
Patch0: cppcheck-1.52-include.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: pcre-devel
@ -25,7 +23,6 @@ errors in the code (i.e. have zero false positives).
%prep
%setup -q
%patch0 -p1 -b .include
# Make sure bundled tinyxml is not used
rm -r externals/tinyxml
@ -58,6 +55,9 @@ rm -rf %{buildroot}
%{_mandir}/man1/cppcheck.1*
%changelog
* Sat Feb 11 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.53-1
- Update to 1.53.
* Thu Jan 05 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.52-2
- Add missing includes (fix FTBFS in rawhide).

View File

@ -1 +1 @@
ebb9355890057a5145485dd42c18e05e cppcheck-1.52.tar.bz2
18e8df419ba4c577bfb1d099653f8b2a cppcheck-1.53.tar.bz2