-e's|@pkg_var_dir@|$(PKG_VAR_DIR)|g' \
-e's|@pkg_share_dir@|$(PKG_SHARE_DIR)|g' \
-e's|@pkg_log_dir@|$(PKG_LOG_DIR)|g' \
+ -e's|@pkg_doc_dir@|$(PKG_DOC_DIR)|g' \
+ -e's|@pkg_man_dir@|$(PKG_MAN_DIR)|g' \
-e's|@pkg_tmp_dir@|$(PKG_TMP_DIR)|g' \
-e's|@make@|$(MAKE)|g' < $< > $@
{
sort | uniq | awk '
$1 == "d" { printf ("%%%%dir %%%%attr(%s,%s,%s) %s\n", $2, $3, $4, $5); }
-$1 == "f" { if (match ($6, "@pkg_man_dir@") || match ($6, "@pkg_doc_dir@")) {
+$1 == "f" { if (match ($6, "@pkg_man_dir@") || match ($6, "@pkg_doc_dir@"))
printf ("%%%%doc ");
- }
- printf ("%%%%attr(%s,%s,%s) %s\n", $2, $3, $4, $6); }
-$1 == "l" { print "%attr(0777,root,root)", $3; }'
+ if (match ($6, "@pkg_man_dir@"))
+ printf ("%%%%attr(%s,%s,%s) %s*\n", $2, $3, $4, $6);
+ else
+ printf ("%%%%attr(%s,%s,%s) %s\n", $2, $3, $4, $6); }
+$1 == "l" { if (match ($3, "@pkg_man_dir@") || match ($3, "@pkg_doc_dir@"))
+ printf ("%%%%doc ");
+ if (match ($3, "@pkg_man_dir@"))
+ printf ("%attr(0777,root,root) %s*\n", $3);
+ else
+ printf ("%attr(0777,root,root) %s\n", $3); }'
}
set +x
files < "$DIST_INSTALL" > files.rpm
+xfsprogs-1.1.1 (30 January 2001)
+ - minor rpm and deb packaging work
+
xfsprogs-1.1.0 (15 January 2001)
- rework xfs-cmds package into base, devel and dump packages
- completed Debian packaging