]> git.pld-linux.org Git - packages/atop.git/commitdiff
- use %%{__cc} and %%{rpmcflags} macros during compile. atop-1_2-1
authorkloczek <kloczek@pld-linux.org>
Thu, 28 Mar 2002 23:16:16 +0000 (23:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    atop.spec -> 1.3

atop.spec

index 73b3a67ae9b276e54a27ccf6dea1b64e41ba4c43..fa1ea51831bde16e95a9f0976d005e319cc1d004 100644 (file)
--- a/atop.spec
+++ b/atop.spec
@@ -31,14 +31,14 @@ r
 
 %build
 %{__make} \
-       'CFLAGS=-I/usr/include/ncurses/'
+       CC="%{__cc}" \
+       CFLAGS="-I/usr/include/ncurses %{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d  $RPM_BUILD_ROOT{%{_mandir}/man1,%{_bindir}}
 
 install man/* $RPM_BUILD_ROOT%{_mandir}/man1/
-#install 04711 atop $RPM_BUILD_ROOT%{_bindir}/atop
 install atop $RPM_BUILD_ROOT%{_bindir}/atop
 
 gzip -nf9 README
This page took 0.033498 seconds and 4 git commands to generate.