Changeset ef50593 in rtems for contrib/rtemsrpms/rtems.spec.in


Ignore:
Timestamp:
Aug 22, 2006, 11:41:51 AM (14 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
e5e88aa
Parents:
5428a43e
Message:

Change the rpm to use the version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/rtemsrpms/rtems.spec.in

    r5428a43e ref50593  
    2020%define rpmprefix       @RPMPREFIX@
    2121%define rtems_pkgvers   @RTEMS_RELEASE@
    22 %define rtems_version   %{expand:%(echo @RTEMS_RELEASE@ | sed -e 's,-.*,,')}
    23 %define rtems_rpmvers   %{expand:%(echo @RTEMS_API@ | tr - _ )}
     22%define rtems_version   %{expand:%(echo @RTEMS_VERSION@ | sed -e 's,-.*,,')}
     23%define rtems_rpmvers   %{expand:%(echo @RTEMS_VERSION@ | tr - _ )}
    2424
    2525%define rtems_bsp       @RTEMS_BSP@
     
    4444BuildRequires:  %{rpmprefix}%{rtems_target}-gcc
    4545
    46 Source0:        ftp://ftp.rtems.org/pub/rtems/%{rtems_api}/rtems-%{rtems_api}-%{rtems_pkgvers}.tar.bz2
     46Source0:        ftp://ftp.rtems.org/pub/rtems/%{rtems_api}/rtems-%{rtems_api}-%{rtems_version}.tar.bz2
    4747%{?_without_sources:NoSource:   0}
    4848
     
    6565  cd build
    6666  bps=""
    67   ../rtems-%{rtems_api}/configure \
     67  ../rtems-%{rtems_version}/configure \
    6868    --prefix=%{_prefix} \
    6969    --target=%rtems_target \
     
    103103%defattr(-,root,root)
    104104
     105# broken on the avr
    105106%config %{_prefix}/lib/pkgconfig
    106107%config %{_prefix}/make
Note: See TracChangeset for help on using the changeset viewer.