Skip to content

Commit 5562929

Browse files
committed
Exclude rpm folder from Ubuntu source package
1 parent da57534 commit 5562929

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

ubuntu/package.sh

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,32 @@ fixup() {
4848
}
4949

5050
sourcepackage() {
51-
tar --create --verbose --gzip --exclude=.git --exclude=.gitignore --exclude=.github --exclude=debian --exclude=Doxyfile --exclude=test --exclude=ubuntu --file ${TARBALL} ${SOURCE_DIR}
51+
tar --create --verbose --gzip \
52+
--exclude=.git \
53+
--exclude=.gitignore \
54+
--exclude=.github \
55+
--exclude=debian \
56+
--exclude=Doxyfile \
57+
--exclude=rpm \
58+
--exclude=test \
59+
--exclude=ubuntu \
60+
--file ${TARBALL} ${SOURCE_DIR}
5261
}
5362

5463
deb() {
5564
pushd ${SOURCE_DIR}
5665
# -S: Build source package
57-
# -sd: This option is passed by debuild to dpkg-buildpackage, which passes it
58-
# through to dpkg-genchanges. It "forces the exclusion of the original
59-
# source and includes only the diff".
60-
#
66+
# -sa: This option is passed by debuild to dpkg-buildpackage, which passes it
67+
# through to dpkg-genchanges. It "forces the inclusion of the original
68+
# source".
69+
70+
6171
# audiowaveform_1.2.2-1trusty1.debian.tar.xz
6272
# audiowaveform_1.2.2-1trusty1.dsc
6373
# audiowaveform_1.2.2-1trusty1_source.build
6474
# audiowaveform_1.2.2-1trusty1_source.changes
6575
# -- Debian upload control file, produced by dpkg-genchanges
6676

67-
# debuild -S -sd
6877
debuild -S -sa
6978
popd
7079
}

0 commit comments

Comments
 (0)