source: rtems/contrib/crossrpms/gdb/install.add @ 4cf3275

4.8
Last change on this file since 4cf3275 was bf33c69e, checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/25/08 at 07:26:09

Add _bindir to PATH.

  • Property mode set to 100644
File size: 697 bytes
Line 
1%install
2%if "%{_prefix}" != "/usr"
3  export PATH="%{_bindir}:${PATH}"
4%endif
5  rm -rf $RPM_BUILD_ROOT
6
7  cd build
8  make DESTDIR=$RPM_BUILD_ROOT install
9
10%if %build_infos
11  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
12  touch $RPM_BUILD_ROOT%{_infodir}/dir
13
14# These come from other packages
15  rm -rf $RPM_BUILD_ROOT%{_infodir}/bfd*
16  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure*
17  rm -rf $RPM_BUILD_ROOT%{_infodir}/standards*
18%else
19# Conflict with a native gdb's infos
20  rm -rf $RPM_BUILD_ROOT%{_infodir}
21%endif
22
23# We don't ship host files
24  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
25
26# host library, installed to a bogus directory
27  rm -f ${RPM_BUILD_ROOT}%{_libdir}/lib@tool_target@-sim.a
28
29  cd ..
30
Note: See TracBrowser for help on using the repository browser.