diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2016-10-07 08:53:39 +0100 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2016-10-07 08:53:50 +0100 |
commit | 4a6ee3e1e958e489a35a1cf9d6b7ce2c906ba148 (patch) | |
tree | cacd715a24e75abeee50fb9dfda43dd409cf4474 | |
parent | 3578156b3daa0e542afc3890a7cda29a670bedca (diff) |
Use autoconf tools in spec file
Instead of manually building/installing use configure and make install.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r-- | latency.spec.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/latency.spec.in b/latency.spec.in index ea61010..199ae14 100644 --- a/latency.spec.in +++ b/latency.spec.in @@ -18,12 +18,11 @@ latency and low bandwidth. %setup -q %build -make %{?_smp_mflags} +%configure +%make_build %install -mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 $RPM_BUILD_ROOT/%{_bindir} -cp latency.1 $RPM_BUILD_ROOT%{_mandir}/man1/latency.1 -cp latency $RPM_BUILD_ROOT/%{_bindir}/latency +%make_install %files %defattr(-,root,root,-) |