Ticket #2812: rpm.diff

File rpm.diff, 2.1 KB (added by gvy, 12 years ago)

/usr/lib/mc/extfs.d/rpm patch

  • rpm

    old new  
    100100"|URL=%{URL}"\ 
    101101"|EPOCH=%{EPOCH}"\ 
    102102"|LICENSE=%{LICENSE}"\ 
    103 "|REQUIRENAME=%{REQUIRENAME}"\ 
     103"|REQUIRES=%{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}"\ 
    104104"|OBSOLETES=%{OBSOLETES}"\ 
    105 "|PROVIDES=%{PROVIDES}"\ 
     105"|PROVIDES=%{PROVIDES} %{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}"\ 
    106106${tag_CONFLICTS}\ 
    107107"|PACKAGER=%{PACKAGER}" \ 
    108108    "`echo ${rpm_filename}| $SED "${SEDCMD}"`" 
     
    152152    echo "$FILEPREF 0 $DATE INFO/URL" 
    153153    echo "$FILEPREF 0 $DATE INFO/EPOCH" 
    154154    echo "$FILEPREF 0 $DATE INFO/LICENSE" 
    155     echo "$FILEPREF 0 $DATE INFO/REQUIRENAME" 
     155    echo "$FILEPREF 0 $DATE INFO/REQUIRES" 
    156156    echo "$FILEPREF 0 $DATE INFO/OBSOLETES" 
    157157    echo "$FILEPREF 0 $DATE INFO/PROVIDES" 
    158158    echo "$FILEPREF 0 $DATE INFO/CONFLICTS" 
     
    181181    mcrpmfs_printOneMetaInfo "INFO/LICENSE" "LICENSE" 
    182182 
    183183 
    184     mcrpmfs_printOneMetaInfo "INFO/REQUIRENAME" "REQUIRENAME" 
     184    mcrpmfs_printOneMetaInfo "INFO/REQUIRES" "REQUIRES" 
    185185    mcrpmfs_printOneMetaInfo "INFO/OBSOLETES" "OBSOLETES" 
    186186    mcrpmfs_printOneMetaInfo "INFO/PROVIDES" "PROVIDES" 
    187187    mcrpmfs_printOneMetaInfo "INFO/CONFLICTS" "CONFLICTS" 
     
    271271        INFO/EPOCH)             mcrpmfs_getOneTag "EPOCH" >"$2"; exit 0;; 
    272272        INFO/LICENSE)           mcrpmfs_getOneTag "LICENSE" >"$2"; exit 0;; 
    273273        INFO/RPMVERSION)        mcrpmfs_getRawOneTag "%{RPMVERSION}\n" >"$2"; exit 0;; 
    274         INFO/REQUIRENAME)       mcrpmfs_getRawOneTag "[%{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}\n]" >"$2"; exit 0;; 
    275         INFO/PROVIDES)          mcrpmfs_getRawOneTag "[%{PROVIDES}\n]" >"$2"; exit 0;; 
     274        INFO/REQUIRES)          mcrpmfs_getRawOneTag "[%{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}\n]" >"$2"; exit 0;; 
     275        INFO/PROVIDES)          mcrpmfs_getRawOneTag "[%{PROVIDES} %{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}\n]" >"$2"; exit 0;; 
    276276        INFO/SCRIPTS/PREIN)     mcrpmfs_getRawOneTag "%{RPMTAG_PREIN}\n" >"$2"; exit 0;; 
    277277        INFO/SCRIPTS/POSTIN)    mcrpmfs_getRawOneTag "%{RPMTAG_POSTIN}\n" >"$2"; exit 0;; 
    278278        INFO/SCRIPTS/PREUN)     mcrpmfs_getRawOneTag "%{RPMTAG_PREUN}\n" >"$2"; exit 0;;