Stephan Kleine
2009-09-30 19:33:39 +00:00
committed by Git OBS Bridge
parent bccf093322
commit 9d4e41030b
5 changed files with 15 additions and 11 deletions

View File

@@ -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