diff options
author | Elan Ruusamäe | 2011-11-16 21:25:59 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | e9070838117db0688409580d9aa80ab0b7470837 (patch) | |
tree | b3694808861e5212e002b983ad0c4ea985bc9505 | |
parent | fd0a7054743650b5af01a84e45e97903f8b54312 (diff) | |
download | ioping-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.spec | 6 |
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}/* |