From 442db9bbc746e0966de4351c155e843b6917c4a9 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Nov 09 2017 13:22:41 +0000 Subject: do installation under prober directories (/usr) Signed-off-by: Igor Gnatenko --- 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