Changeset 36 for trunk


Ignore:
Timestamp:
Sep 29, 2005, 3:20:10 AM (14 years ago)
Author:
bcornec
Message:

SPEC tagging done during rpm build not on the master

Location:
trunk/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/mkrpm

    r34 r36  
    3434    mkdir -p ${TOPDIR}/SOURCES
    3535    tar cvfhz ${TOPDIR}/SOURCES/mindi-${MINDI_VER}.tgz mindi-${MINDI_VER}
    36     cp mindi-${MINDI_VER}/mindi.spec ${TOPDIR}/SPECS/mindi.spec
     36    sed "s/^Release:..*/Release:    ${rev}/" mindi-${MINDI_VER}/mindi.spec > ${TOPDIR}/SPECS/mindi.spec
    3737    rm -f ${TMP}/mindi-*-root
    3838    pkg="$pkg ${TOPDIR}/RPMS/${ARCH}/mindi-${MINDI_VER}-${rev}.${ARCH}.rpm"
     
    5353    cd ..
    5454    tar cvfhz ${TOPDIR}/SOURCES/mondo-${MONDO_VER}.tgz mondo-${MONDO_VER}
    55     cp mondo-${MONDO_VER}/mondo.spec ${TOPDIR}/SPECS/mondo.spec
     55    sed "s/^Release:..*/Release:    ${rev}/" mondo-${MONDO_VER}/mondo.spec > ${TOPDIR}/SPECS/mondo.spec
    5656    rm -f ${TMP}/mondo-*-root
    5757    pkg="$pkg ${TOPDIR}/RPMS/${ARCH}/mondo-${MONDO_VER}-${rev}.${ARCH}.rpm"
  • trunk/tools/mksvnversion

    r33 r36  
    2828
    2929#
    30 # Patches the file needing that release reference
    31 #
    32 perl -pi -e "s/^Release:.*$/Release:    ${rel}" $TOOLHOME/../*/*spec
    33 
    34 #
    3530# return the release
    3631#
Note: See TracChangeset for help on using the changeset viewer.