add package specific fixes
This commit is contained in:
parent
999c22b420
commit
a0fe5dd71d
@ -277,6 +277,17 @@ sed -i "/%description/i Provides: $SOURCEPKG" "$TARGETPKG.spec"
|
||||
# - change Source: to new standard of tar.gz
|
||||
#sed -i "/^Source:/ s/tar.xz/tar.gz/" "$TARGETPKG.spec"
|
||||
|
||||
# package specific changes
|
||||
if [[ $TARGETPKG == "smeserver-grub" ]] ; then
|
||||
sed -i '/Source1:/d' "$TARGETPKG.spec"
|
||||
sed -i '/Source2:/d' "$TARGETPKG.spec"
|
||||
sed -i '/[SME: 12359]/i - Remove Source1 & Source2' "$TARGETPKG.spec"
|
||||
fi
|
||||
if [[ $TARGETPKG == "smeserver-lib" ]] ; then
|
||||
sed -i '/mkdir *e-smith-lib-update/d' "$TARGETPKG.spec"
|
||||
sed -i '/[SME: 12359]/i - Remove create e-smith-lib-update event' "$TARGETPKG.spec"
|
||||
fi
|
||||
|
||||
# tell git about the changes
|
||||
git add "$TARGETPKG.spec"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user