CVS patchset: 2098
CVS date: 1998/04/30 15:20:58
- missed a few unlink() when scripts failed
- freePrefixes wasn't initialized in runScript()
- fix typo in %triggerpostun generation
+ - include icons in source packages
2.4.108 -> 2.4.109:
- remove icons with --rmsource
struct stat sb;
HeaderIterator hi;
int tag, type, count;
+ Package pkg;
void * ptr;
sourceFiles = newStringBuf();
srcPtr = srcPtr->next;
}
+ pkg = spec->packages;
+ while (pkg) {
+ srcPtr = pkg->icon;
+ while (srcPtr) {
+ sprintf(buf, "%s%s/%s",
+ srcPtr->flags & RPMBUILD_ISNO ? "!" : "",
+ rpmGetVar(RPMVAR_SOURCEDIR), srcPtr->source);
+ appendLineStringBuf(sourceFiles, buf);
+ srcPtr = srcPtr->next;
+ }
+ pkg = pkg->next;
+ }
+
spec->sourceCpioList = NULL;
spec->sourceCpioCount = 0;