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
|
rm -f stamp-h.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --exec-prefix=/
|
%configure
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
%make_install
|
||||||
make install DESTDIR=%{buildroot} \
|
|
||||||
bindir=/bin mandir=%{_mandir}
|
|
||||||
|
|
||||||
rm -f %{buildroot}/%{_infodir}/dir*
|
rm -f %{buildroot}/%{_infodir}/dir*
|
||||||
gzip -9qnf %{buildroot}/%{_infodir}/*
|
gzip -9qnf %{buildroot}/%{_infodir}/*
|
||||||
@ -50,9 +48,11 @@ fi
|
|||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc ChangeLog NEWS README TODO AUTHORS
|
%doc ChangeLog NEWS README TODO AUTHORS
|
||||||
/bin/*
|
%{_bindir}/ed
|
||||||
|
%{_bindir}/red
|
||||||
|
%{_mandir}/man1/ed.1*
|
||||||
|
%{_mandir}/man1/red.1*
|
||||||
%{_infodir}/ed.info.gz
|
%{_infodir}/ed.info.gz
|
||||||
%{_mandir}/*/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Nov 09 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.14.2-1
|
* Thu Nov 09 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.14.2-1
|
||||||
|
Loading…
Reference in New Issue
Block a user