components/gnu-file/file.cleanup
author Norm Jacobs <Norm.Jacobs@Sun.COM>
Wed, 12 May 2010 01:53:05 -0500
changeset 7 d42300cb8715
parent 0 a62e9e23639a
permissions -rw-r--r--
add license/copyright info for ips generation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
     1
# remove timestamps on dependencies (bug in pkgdepend)
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
     2
<transform depend -> edit fmri :2[0-9]{7}T[0-9]{6}Z "">
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
     3
# remove debugging info
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
     4
<transform depend -> delete pkg.debug.depend.reason .*>
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
     5
<transform depend -> delete pkg.debug.depend.type .*>
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
     6
<transform depend -> delete pkg.debug.depend.file .*>
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
     7
# remove timestamps on dirs (bug in pkgsend generate)
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
     8
<transform dir file link -> delete timestamp .*>
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
     9
# don't want size variations confusing pkgdiff
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
    10
<transform file -> delete pkg.size .*>
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
    11
# Add package header information
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
    12
set name=pkg.fmri value=pkg:/file/[email protected]$(PKGVERS)
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
    13
set name=pkg.description \
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
    14
    value="contains unix file command"
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
    15
set name=variant.arch value=$(ARCH)
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
    16
set name=variant.opensolaris.zone value=global value=nonglobal
a62e9e23639a first experiemental commits
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
diff changeset
    17