diff options
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 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} |