From 442db9bbc746e0966de4351c155e843b6917c4a9 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 9 Nov 2017 14:22:41 +0100 Subject: [PATCH] do installation under prober directories (/usr) Signed-off-by: Igor Gnatenko --- ed.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ed.spec b/ed.spec index 0fbbcd1..519b455 100644 --- a/ed.spec +++ b/ed.spec @@ -26,13 +26,11 @@ won't use it. rm -f stamp-h.in %build -%configure --exec-prefix=/ +%configure make %{?_smp_mflags} CFLAGS="%{optflags}" %install -mkdir -p %{buildroot}/%{_mandir}/man1 -make install DESTDIR=%{buildroot} \ - bindir=/bin mandir=%{_mandir} +%make_install rm -f %{buildroot}/%{_infodir}/dir* gzip -9qnf %{buildroot}/%{_infodir}/* @@ -50,9 +48,11 @@ fi %files %license COPYING %doc ChangeLog NEWS README TODO AUTHORS -/bin/* +%{_bindir}/ed +%{_bindir}/red +%{_mandir}/man1/ed.1* +%{_mandir}/man1/red.1* %{_infodir}/ed.info.gz -%{_mandir}/*/* %changelog * Thu Nov 09 2017 Igor Gnatenko - 1.14.2-1