source: rtems/contrib/crossrpms/cpukit/install.add @ 206cc90f

4.104.114.84.9
Last change on this file since 206cc90f was 206cc90f, checked in by Ralf Corsepius <ralf.corsepius@…>, on May 11, 2007 at 3:04:06 AM

Add PATH if prefix != /usr

  • Property mode set to 100644
File size: 246 bytes
Line 
1%install
2  rm -rf $RPM_BUILD_ROOT
3%if "%{_prefix}" != "/usr"
4  export PATH="%{_bindir}:${PATH}"
5%endif
6  cd build
7  make DESTDIR=$RPM_BUILD_ROOT install
8  cd ..
9
10  rm -rf $RPM_BUILD_ROOT%{_prefix}/share/man
11  rm -rf $RPM_BUILD_ROOT%{_prefix}/bin
Note: See TracBrowser for help on using the repository browser.