Ticket #2812: rpm.diff
File rpm.diff, 2.1 KB (added by gvy, 12 years ago) |
---|
-
rpm
old new 100 100 "|URL=%{URL}"\ 101 101 "|EPOCH=%{EPOCH}"\ 102 102 "|LICENSE=%{LICENSE}"\ 103 "|REQUIRE NAME=%{REQUIRENAME}"\103 "|REQUIRES=%{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}"\ 104 104 "|OBSOLETES=%{OBSOLETES}"\ 105 "|PROVIDES=%{PROVIDES} "\105 "|PROVIDES=%{PROVIDES} %{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}"\ 106 106 ${tag_CONFLICTS}\ 107 107 "|PACKAGER=%{PACKAGER}" \ 108 108 "`echo ${rpm_filename}| $SED "${SEDCMD}"`" … … 152 152 echo "$FILEPREF 0 $DATE INFO/URL" 153 153 echo "$FILEPREF 0 $DATE INFO/EPOCH" 154 154 echo "$FILEPREF 0 $DATE INFO/LICENSE" 155 echo "$FILEPREF 0 $DATE INFO/REQUIRE NAME"155 echo "$FILEPREF 0 $DATE INFO/REQUIRES" 156 156 echo "$FILEPREF 0 $DATE INFO/OBSOLETES" 157 157 echo "$FILEPREF 0 $DATE INFO/PROVIDES" 158 158 echo "$FILEPREF 0 $DATE INFO/CONFLICTS" … … 181 181 mcrpmfs_printOneMetaInfo "INFO/LICENSE" "LICENSE" 182 182 183 183 184 mcrpmfs_printOneMetaInfo "INFO/REQUIRE NAME" "REQUIRENAME"184 mcrpmfs_printOneMetaInfo "INFO/REQUIRES" "REQUIRES" 185 185 mcrpmfs_printOneMetaInfo "INFO/OBSOLETES" "OBSOLETES" 186 186 mcrpmfs_printOneMetaInfo "INFO/PROVIDES" "PROVIDES" 187 187 mcrpmfs_printOneMetaInfo "INFO/CONFLICTS" "CONFLICTS" … … 271 271 INFO/EPOCH) mcrpmfs_getOneTag "EPOCH" >"$2"; exit 0;; 272 272 INFO/LICENSE) mcrpmfs_getOneTag "LICENSE" >"$2"; exit 0;; 273 273 INFO/RPMVERSION) mcrpmfs_getRawOneTag "%{RPMVERSION}\n" >"$2"; exit 0;; 274 INFO/REQUIRE NAME)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;; 276 276 INFO/SCRIPTS/PREIN) mcrpmfs_getRawOneTag "%{RPMTAG_PREIN}\n" >"$2"; exit 0;; 277 277 INFO/SCRIPTS/POSTIN) mcrpmfs_getRawOneTag "%{RPMTAG_POSTIN}\n" >"$2"; exit 0;; 278 278 INFO/SCRIPTS/PREUN) mcrpmfs_getRawOneTag "%{RPMTAG_PREUN}\n" >"$2"; exit 0;;