mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
Fix exclusion while building tarball
Also exclude the tests to use even less temp dir space.
This commit is contained in:
parent
094b6613d1
commit
7a14453ac4
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ sed -e "s/__NAME__/${name}/g" -e "s/__VERSION__/${version}/g" platform/rpm/${nam
|
|||
# FIXME: We could parse RELNOTES and create a %changelog section here
|
||||
|
||||
# Copy the source to build into a tarball
|
||||
tar czf ${tmpdir}/SOURCES/${name}-${version}.tar.gz . --transform "s/^./${name}-${version}/" --exclude='.git/*'
|
||||
tar czf ${tmpdir}/SOURCES/${name}-${version}.tar.gz . --transform "s/^./${name}-${version}/" --exclude='./.git*' --exclude='./test*'
|
||||
|
||||
# Build the files (rpm, debug rpm and source rpm)
|
||||
rpmbuild --quiet --define "_topdir ${tmpdir}" -ba ${tmp_spec_file}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue