Compare commits
10 Commits
Author | SHA1 | Date |
---|---|---|
Jussi Lehtola | 847f7cd216 | |
Jussi Lehtola | aeb7d840c0 | |
Jussi Lehtola | 472f852e0f | |
Jussi Lehtola | 959034055e | |
Jussi Lehtola | 48b5219ece | |
Fedora Release Engineering | c1c241471b | |
Jussi Lehtola | b402901ff4 | |
Jussi Lehtola | 564c7ca171 | |
Jussi Lehtola | 85597d56d6 | |
Jesse Keating | 8bf35f621b |
21
Makefile
21
Makefile
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: cppcheck
|
||||
# $Id: Makefile,v 1.1 2009/04/30 04:57:29 kevin Exp $
|
||||
NAME := cppcheck
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
|
@ -1,5 +1,5 @@
|
|||
Name: cppcheck
|
||||
Version: 1.40
|
||||
Version: 1.48
|
||||
Release: 1%{?dist}
|
||||
Summary: A tool for static C/C++ code analysis
|
||||
Group: Development/Languages
|
||||
|
@ -8,6 +8,8 @@ URL: http://cppcheck.wiki.sourceforge.net/
|
|||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
BuildRequires: pcre-devel
|
||||
|
||||
%description
|
||||
This program tries to detect bugs that your C/C++ compiler don't see.
|
||||
The goal is no false positives.
|
||||
|
@ -22,14 +24,14 @@ various compiler extensions, inline assembly code, etc.
|
|||
%prep
|
||||
%setup -q
|
||||
# Convert text files to UTF-8
|
||||
for file in COPYING readme.txt; do
|
||||
iconv -f ASCII -t utf-8 $file > $file.new && \
|
||||
for file in COPYING readme.txt test/tinyxml/tinystr.cpp test/tinyxml/changes.txt; do
|
||||
iconv -f ISO-8859-15 -t utf-8 $file > $file.new && \
|
||||
touch -r $file $file.new && \
|
||||
mv $file.new $file
|
||||
done
|
||||
|
||||
# Fix end of line encodings
|
||||
for file in readme.txt; do
|
||||
for file in readme.txt test/test.vcproj test/test.vcxproj{,.filters}; do
|
||||
sed -e 's|\r||g' $file > $file.new && \
|
||||
touch -r $file $file.new && \
|
||||
mv $file.new $file
|
||||
|
@ -55,6 +57,33 @@ rm -rf %{buildroot}
|
|||
%{_bindir}/cppcheck
|
||||
|
||||
%changelog
|
||||
* Fri Apr 15 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.48-1
|
||||
- Update to 1.48.
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.47-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Mon Feb 07 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.47-1
|
||||
- Update to 1.47.
|
||||
|
||||
* Thu Dec 30 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.46.1-1
|
||||
- Update to 1.46.1.
|
||||
|
||||
* Wed Dec 15 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.46-1
|
||||
- Update to 1.46.
|
||||
|
||||
* Mon Oct 4 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.45-1
|
||||
- Update to 1.45.
|
||||
|
||||
* Sat Jul 24 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.44-1
|
||||
- Update to 1.44.
|
||||
|
||||
* Sun May 9 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.43-1
|
||||
- Update to 1.43.
|
||||
|
||||
* Wed Mar 10 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.42-1
|
||||
- Update to 1.42.
|
||||
|
||||
* Mon Jan 18 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.40-1
|
||||
- Update to 1.40.
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
cppcheck-1_31-1_fc10:HEAD:cppcheck-1.31-1.fc10.src.rpm:1241070717
|
||||
cppcheck-1_34-1_fc11:HEAD:cppcheck-1.34-1.fc11.src.rpm:1247752109
|
Loading…
Reference in New Issue