packages: ioping/ioping.spec - need -std=c99 to compile on ac

glen glen at pld-linux.org
Wed Nov 16 22:26:04 CET 2011


Author: glen                         Date: Wed Nov 16 21:26:04 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- need -std=c99 to compile on ac

---- Files affected:
packages/ioping:
   ioping.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/ioping/ioping.spec
diff -u packages/ioping/ioping.spec:1.1 packages/ioping/ioping.spec:1.2
--- packages/ioping/ioping.spec:1.1	Wed Nov 16 22:10:07 2011
+++ packages/ioping/ioping.spec	Wed Nov 16 22:25:59 2011
@@ -15,7 +15,6 @@
 This tool lets you monitor I/O latency in real time, in a way similar
 to how ping(1) does for network latency.
 
-
 %description -l pl.UTF-8
 To narzędzie pozwala na monitorowania opóźnień I/O w czasie
 rzeczywistym w sposób zbliżony do programu ping(1) mierzącego
@@ -26,13 +25,12 @@
 
 %build
 %{__make} \
-	CFLAGS="%{rpmcflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \
+	CFLAGS="%{rpmcflags} -std=c99 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \
 	LDFLAGS="%{rpmldflags} -lm" \
 	CC="%{__cc}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
 	PREFIX="%{_prefix}" \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -42,8 +40,8 @@
 
 %files
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ioping
 %{_mandir}/man1/ioping.1*
-%attr(755,root,root) %{_bindir}/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -51,6 +49,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/11/16 21:25:59  glen
+- need -std=c99 to compile on ac
+
 Revision 1.1  2011/11/16 21:10:07  adamg
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ioping/ioping.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list