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