2010-12-05 19:35:04 +00:00
committed by Git OBS Bridge
parent bafc86fc9e
commit 3fc3172b76
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
-------------------------------------------------------------------
Sun Dec 5 19:36:00 UTC 2010 - adrian@suse.de
- initial package of service
- fix set version, when also release number is reset

View File

@@ -71,7 +71,7 @@ for i in $FILES; do
sed "s,^Version:.*,Version: $MYVERSION," "$FILE" > "$MYOUTDIR/$FILE" || exit 1
if [ "${FILE%.spec}" != "$FILE" ]; then
# set release back to zero after version upgrade, will be increased by OBS during build
sed "s,^Release:.*,Release: 0," "$FILE" > "$MYOUTDIR/$FILE" || exit 1
sed -i "s,^Release:.*,Release: 0," "$MYOUTDIR/$FILE" || exit 1
fi
if [ "${FILE#_service:}" != "$FILE" ]; then