projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cd62c8
)
rpm: remove read-only generated .spec file before recreating it
author
Sylvain Beucler
<sylvain.beucler@inria.fr>
Wed, 24 Sep 2014 16:19:48 +0000
(18:19 +0200)
committer
Sylvain Beucler
<sylvain.beucler@inria.fr>
Wed, 24 Sep 2014 16:19:48 +0000
(18:19 +0200)
src/rpm/gen_spec.sh
patch
|
blob
|
history
diff --git
a/src/rpm/gen_spec.sh
b/src/rpm/gen_spec.sh
index 895124daefb0fd1b070a5548ffb803590ccfa51b..d66902efe6a731d1b3d79b9e3c9844574c8c841b 100755
(executable)
--- a/
src/rpm/gen_spec.sh
+++ b/
src/rpm/gen_spec.sh
@@
-23,6
+23,7
@@
snapshot=$2 # e.g. '+201408281835'; spec needs static tarball extract dir
if [ -z "$version" ]; then version=$(make version); fi
if [ -z "$autobuild" ]; then autobuild=''; fi
+rm -f fusionforge.spec
(
for i in $(sed -n 's/^%package plugin-//p' rpm/plugins); do
sed -n -e '/^#/d' -e "/^%package plugin-$i/,/^$/p" rpm/plugins \