Updated to 1.37
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
bccf093322
commit
9d4e41030b
@@ -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
|
||||
|
Reference in New Issue
Block a user