mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
parent
2373fcd74d
commit
282bab5ced
3 changed files with 5 additions and 3 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*' --exclude='./test*'
|
||||
tar --exclude='./.git*' --exclude='./test' --transform "s/^./${name}-${version}/" -czf ${tmpdir}/SOURCES/${name}-${version}.tar.gz .
|
||||
|
||||
# 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