diff options
author | 2020-10-24 23:27:08 +0200 | |
---|---|---|
committer | 2020-10-24 23:27:08 +0200 | |
commit | 8ec77242d97211985542e22d3dc33f7fc00e53d5 (patch) | |
tree | e1f7f64ecf0916662f79cffef70ba42526e11089 /platform/rpm/mkrpm.sh | |
parent | add new Makefile.in to distributed files (diff) | |
download | firejail-8ec77242d97211985542e22d3dc33f7fc00e53d5.tar.gz firejail-8ec77242d97211985542e22d3dc33f7fc00e53d5.tar.zst firejail-8ec77242d97211985542e22d3dc33f7fc00e53d5.zip |
include tests in rpm source tarball
Diffstat (limited to 'platform/rpm/mkrpm.sh')
-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 2bdead7a8..c9b90dbe3 100755 --- a/platform/rpm/mkrpm.sh +++ b/platform/rpm/mkrpm.sh | |||
@@ -44,7 +44,7 @@ sed -e "s/__NAME__/${name}/g" \ | |||
44 | # FIXME: We could parse RELNOTES and create a %changelog section here | 44 | # FIXME: We could parse RELNOTES and create a %changelog section here |
45 | 45 | ||
46 | # Copy the source to build into a tarball | 46 | # Copy the source to build into a tarball |
47 | tar --exclude='./.git*' --exclude='./test' --transform "s/^./${name}-${version}/" -czf ${tmpdir}/SOURCES/${name}-${version}.tar.gz . | 47 | tar --exclude='./.git*' --transform "s/^./${name}-${version}/" -czf ${tmpdir}/SOURCES/${name}-${version}.tar.gz . |
48 | 48 | ||
49 | # Build the files (rpm, debug rpm and source rpm) | 49 | # Build the files (rpm, debug rpm and source rpm) |
50 | rpmbuild --quiet --define "_topdir ${tmpdir}" -ba ${tmp_spec_file} | 50 | rpmbuild --quiet --define "_topdir ${tmpdir}" -ba ${tmp_spec_file} |