Update to 1.53.
This commit is contained in:
parent
0241ca4525
commit
495001661a
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ cppcheck-1.44.tar.bz2
|
|||||||
/cppcheck-1.50.tar.bz2
|
/cppcheck-1.50.tar.bz2
|
||||||
/cppcheck-1.51.tar.bz2
|
/cppcheck-1.51.tar.bz2
|
||||||
/cppcheck-1.52.tar.bz2
|
/cppcheck-1.52.tar.bz2
|
||||||
|
/cppcheck-1.53.tar.bz2
|
||||||
|
@ -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 {
|
|
@ -1,13 +1,11 @@
|
|||||||
Name: cppcheck
|
Name: cppcheck
|
||||||
Version: 1.52
|
Version: 1.53
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Tool for static C/C++ code analysis
|
Summary: Tool for static C/C++ code analysis
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://cppcheck.wiki.sourceforge.net/
|
URL: http://cppcheck.wiki.sourceforge.net/
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
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)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
BuildRequires: pcre-devel
|
BuildRequires: pcre-devel
|
||||||
@ -25,7 +23,6 @@ errors in the code (i.e. have zero false positives).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .include
|
|
||||||
|
|
||||||
# Make sure bundled tinyxml is not used
|
# Make sure bundled tinyxml is not used
|
||||||
rm -r externals/tinyxml
|
rm -r externals/tinyxml
|
||||||
@ -58,6 +55,9 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man1/cppcheck.1*
|
%{_mandir}/man1/cppcheck.1*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jan 05 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.52-2
|
||||||
- Add missing includes (fix FTBFS in rawhide).
|
- Add missing includes (fix FTBFS in rawhide).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user