mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
mkspec-wrapper.sh: Remove -dev from release, because it confused rpmbuild
This commit is contained in:
parent
d702d91080
commit
ee616728a5
1 changed files with 2 additions and 2 deletions
|
|
@ -53,14 +53,14 @@ shift
|
|||
if [ -z "$V" ]; then
|
||||
if [ -f $TOPDIR/VERSION ]; then
|
||||
VERSION="`cat $TOPDIR/VERSION | cut -d- -f1`"
|
||||
RELEASE="`cat $TOPDIR/VERSION | cut -d- -f2-`"
|
||||
RELEASE="`cat $TOPDIR/VERSION | cut -d- -f2- | sed 's/[-_].*//'`"
|
||||
else
|
||||
VERSION=noversion
|
||||
RELEASE=norelease
|
||||
fi
|
||||
else
|
||||
VERSION="`echo $V | cut -d- -f1`"
|
||||
RELEASE="`echo $V | cut -d- -f2-`"
|
||||
RELEASE="`cat $TOPDIR/VERSION | cut -d- -f2- | sed 's/[-_].*//'`"
|
||||
fi
|
||||
|
||||
if [ -z "$NAME" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue