do installation under prober directories (/usr)
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
parent
2d292b6250
commit
442db9bbc7
12
ed.spec
12
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 <ignatenkobrain@fedoraproject.org> - 1.14.2-1
|
||||
|
Loading…
Reference in New Issue
Block a user