diff options
author | Jon Griffiths <jon_p_griffiths@yahoo.com> | 2016-03-03 00:18:03 +1300 |
---|---|---|
committer | Jon Griffiths <jon_p_griffiths@yahoo.com> | 2016-03-03 00:18:06 +1300 |
commit | 7a14453ac472c49d97d6d525505375c56f34d61d (patch) | |
tree | 298390125312b20d532be0f078432f0bd8b59da0 /platform/rpm | |
parent | Strip version number suffixes (diff) | |
download | firejail-7a14453ac472c49d97d6d525505375c56f34d61d.tar.gz firejail-7a14453ac472c49d97d6d525505375c56f34d61d.tar.zst firejail-7a14453ac472c49d97d6d525505375c56f34d61d.zip |
Fix exclusion while building tarball
Also exclude the tests to use even less temp dir space.
Diffstat (limited to 'platform/rpm')
-rwxr-xr-x | platform/rpm/mkrpm.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/rpm/mkrpm.sh b/platform/rpm/mkrpm.sh index 3ac4458d0..b63340e43 100755 --- a/platform/rpm/mkrpm.sh +++ b/platform/rpm/mkrpm.sh | |||
@@ -33,7 +33,7 @@ sed -e "s/__NAME__/${name}/g" -e "s/__VERSION__/${version}/g" platform/rpm/${nam | |||
33 | # FIXME: We could parse RELNOTES and create a %changelog section here | 33 | # FIXME: We could parse RELNOTES and create a %changelog section here |
34 | 34 | ||
35 | # Copy the source to build into a tarball | 35 | # Copy the source to build into a tarball |
36 | tar czf ${tmpdir}/SOURCES/${name}-${version}.tar.gz . --transform "s/^./${name}-${version}/" --exclude='.git/*' | 36 | tar czf ${tmpdir}/SOURCES/${name}-${version}.tar.gz . --transform "s/^./${name}-${version}/" --exclude='./.git*' --exclude='./test*' |
37 | 37 | ||
38 | # Build the files (rpm, debug rpm and source rpm) | 38 | # Build the files (rpm, debug rpm and source rpm) |
39 | rpmbuild --quiet --define "_topdir ${tmpdir}" -ba ${tmp_spec_file} | 39 | rpmbuild --quiet --define "_topdir ${tmpdir}" -ba ${tmp_spec_file} |