Changeset 50 in MondoRescue for branches/2.04_berlios/tools/mkrpm


Ignore:
Timestamp:
Oct 8, 2005, 12:43:16 AM (14 years ago)
Author:
bcornec
Message:

mindi.spec sharable between distributions (natively OK for mdk/mdv)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.04_berlios/tools/mkrpm

    r36 r50  
    3434    mkdir -p ${TOPDIR}/SOURCES
    3535    tar cvfhz ${TOPDIR}/SOURCES/mindi-${MINDI_VER}.tgz mindi-${MINDI_VER}
    36     sed "s/^Release:..*/Release:    ${rev}/" mindi-${MINDI_VER}/mindi.spec > ${TOPDIR}/SPECS/mindi.spec
     36    tar cvfhj ${TOPDIR}/SOURCES/mindi-${MINDI_VER}.tar.bz2 mindi-${MINDI_VER}
     37    sed "s/^%define mrel..*/%define mrel    ${rev}/" mindi-${MINDI_VER}/mindi.spec > ${TOPDIR}/SPECS/mindi.spec
    3738    rm -f ${TMP}/mindi-*-root
    3839    pkg="$pkg ${TOPDIR}/RPMS/${ARCH}/mindi-${MINDI_VER}-${rev}.${ARCH}.rpm"
     
    5354    cd ..
    5455    tar cvfhz ${TOPDIR}/SOURCES/mondo-${MONDO_VER}.tgz mondo-${MONDO_VER}
    55     sed "s/^Release:..*/Release:    ${rev}/" mondo-${MONDO_VER}/mondo.spec > ${TOPDIR}/SPECS/mondo.spec
     56    tar cvfhj ${TOPDIR}/SOURCES/mondo-${MONDO_VER}.tar.bz2 mondo-${MONDO_VER}
     57    sed "s/^%define mrel..*/%define mrel    ${rev}/" mondo-${MONDO_VER}/mondo.spec > ${TOPDIR}/SPECS/mondo.spec
    5658    rm -f ${TMP}/mondo-*-root
    5759    pkg="$pkg ${TOPDIR}/RPMS/${ARCH}/mondo-${MONDO_VER}-${rev}.${ARCH}.rpm"
Note: See TracChangeset for help on using the changeset viewer.