Browse Source

rebuild with new tool chain

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8244 ec354946-7b23-47d6-9f5a-488ba84defc7
yasumichi 10 years ago
parent
commit
fc1014c33c
1 changed files with 14 additions and 2 deletions
  1. 14 2
      c/cccc/cccc-vl.spec

+ 14 - 2
c/cccc/cccc-vl.spec

@@ -1,6 +1,6 @@
 Name:		cccc
 Version:	3.1.4
-Release:	1%{_dist_release}
+Release:	2%{_dist_release}
 Summary:	C and C++ Code Counter
 Group:		Development/Tools
 License:	GPL
@@ -13,6 +13,8 @@ Packager: 	yasumichi
 Source:		http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 
+Patch0:		correct-modification.patch
+
 %description
 This is a new version of the program CCCC (C and C++ Code Counter).  This 
 program exists to analyze and report measurements on source code in C, C++
@@ -21,9 +23,11 @@ versions are presently not supported.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-./build_posixgcc.sh
+make pccts
+make cccc
 
 %install
 rm -fr %{buildroot}
@@ -31,6 +35,9 @@ rm -fr %{buildroot}
 cd install
 %{__make} INSTDIR=%{buildroot}%{_bindir} MKDIR='mkdir -p' -f install.mak install_cccc
 
+%check
+make test
+
 %clean
 rm -rf %{buildroot}
 
@@ -40,6 +47,11 @@ rm -rf %{buildroot}
 %{_bindir}/%{name}
 
 %changelog
+* Sat Feb 08 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.4-2
+- rebuild with new tool chain
+- add Patch0
+- devide check script
+
 * Fri Jul 20 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> -1
 - Initial build for Vine Linux