Skip to content

Commit 0627408

Browse files
committed
Debian builds refuse a version with a dash
1 parent 7d076d5 commit 0627408

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

debian/cvmfs-config-osg.dsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# created by obsupdate.sh, do not edit by hand
22
Debtransform-Tar: cvmfs-config-osg-2.1.tar.gz
33
Format: 1.0
4-
Version: 2.1.1-1
4+
Version: 2.1.1
55
Binary: cvmfs-config-osg
66
Source: cvmfs-config-osg
77
Maintainer: Dave Dykstra <dwd@fnal.gov>

debian/obsupdate.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,13 @@ RPMREL="$(grep '^%define release_prefix' $SPECFILE | awk '{print $3}')"
1212
if [ -z "$RPMREL" ]; then
1313
RPMREL="$(grep '^Release:' $SPECFILE | awk '{print $2}' | cut -d% -f1)"
1414
fi
15-
# if the version is current, increment the release number, else choose 1
16-
DEBREL="`sed -n "s/^Version: ${VERSION}\.${RPMREL}-//p" $PKG.dsc 2>/dev/null`"
17-
if [ -z "$DEBREL" ]; then
18-
DEBREL=1
19-
else
20-
let DEBREL+=1
21-
fi
2215
(
2316
echo "# created by $ME, do not edit by hand"
2417
# The following two lines are OBS "magic" to use the tarball from the rpm
2518
echo "Debtransform-Tar: ${PKG}-${VERSION}.tar.gz"
2619
#echo "Debtransform-Files-Tar: "
2720
echo "Format: 1.0"
28-
echo "Version: ${VERSION}.${RPMREL}-${DEBREL}"
21+
echo "Version: ${VERSION}.${RPMREL}"
2922
echo "Binary: $PKG"
3023
cat control
3124
echo "Files:"

0 commit comments

Comments
 (0)