summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2011-11-16 21:25:59 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commite9070838117db0688409580d9aa80ab0b7470837 (patch)
treeb3694808861e5212e002b983ad0c4ea985bc9505
parentfd0a7054743650b5af01a84e45e97903f8b54312 (diff)
downloadioping-e9070838117db0688409580d9aa80ab0b7470837.zip
ioping-e9070838117db0688409580d9aa80ab0b7470837.tar.gz
- need -std=c99 to compile on acauto/ac/ioping-0_6-1AC-branch
Changed files: ioping.spec -> 1.2
-rw-r--r--ioping.spec6
1 files changed, 2 insertions, 4 deletions
diff --git a/ioping.spec b/ioping.spec
index f3ca4a6..a34e95e 100644
--- a/ioping.spec
+++ b/ioping.spec
@@ -14,7 +14,6 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
@@ -25,13 +24,12 @@ opóźnienia w sieci.
%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
@@ -41,5 +39,5 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ioping
%{_mandir}/man1/ioping.1*
-%attr(755,root,root) %{_bindir}/*