diff options
author | rusty-snake <print_hello_world+Public@protonmail.com> | 2019-08-26 09:23:04 +0200 |
---|---|---|
committer | rusty-snake <print_hello_world+Public@protonmail.com> | 2019-08-26 09:23:04 +0200 |
commit | 282bab5ced6aececc4f999acf3c077887a47f341 (patch) | |
tree | d18890f8e9f06349059a8abb5360b097ac9e435b /platform/rpm/mkrpm.sh | |
parent | many profile fixes (1) (diff) | |
download | firejail-282bab5ced6aececc4f999acf3c077887a47f341.tar.gz firejail-282bab5ced6aececc4f999acf3c077887a47f341.tar.zst firejail-282bab5ced6aececc4f999acf3c077887a47f341.zip |
misc fixes
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 b63340e43..351b92beb 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*' --exclude='./test*' | 36 | tar --exclude='./.git*' --exclude='./test' --transform "s/^./${name}-${version}/" -czf ${tmpdir}/SOURCES/${name}-${version}.tar.gz . |
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} |