Skip to content

Commit 3c8aea6

Browse files
committed
initial install
1 parent 6ed7e71 commit 3c8aea6

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

packaging/debian/cvmfs-config-osg.dsc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# created by obsupdate.sh, do not edit by hand
2+
Debtransform-Tar: cvmfs-config-osg-2.0.tar.gz
3+
Format: 1.0
4+
Version: 2.0.3-1
5+
Binary: cvmfs-config-osg
6+
Source: cvmfs-config-osg
7+
Maintainer: Dave Dykstra <[email protected]>
8+
Section: config
9+
Priority: extra
10+
Standards-Version: 3.9.3.1
11+
Build-Depends: debhelper (>= 9)
12+
Homepage: http://github.conf/opensciencegrid/cvmfs-config-osg
13+
14+
Package: cvmfs-config-osg
15+
Architecture: all
16+
Provides: cvmfs-config
17+
Conflicts: cvmfs-config
18+
Description: CernVM File System configuration for OSG
19+
Files:
20+
ffffffffffffffffffffffffffffffff 99999 file1
21+
ffffffffffffffffffffffffffffffff 99999 file2

packaging/debian/obsupdate.sh

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/bin/bash
2+
# update $PKG.dsc
3+
# That file is used by build.opensuse.org's Open Build Service
4+
# After the file is updated, it needs to be separately committed to git.
5+
6+
HERE="`dirname $0`"
7+
ME="`basename $0`"
8+
PKG="`sed -n 's/^Source: //p' control`"
9+
SPECFILE="../redhat/$PKG.spec"
10+
VERSION="$(grep ^Version: $SPECFILE | awk '{print $2}')"
11+
RPMREL="$(grep '^%define release_prefix' $SPECFILE | awk '{print $3}')"
12+
if [ -z "$RPMREL" ]; then
13+
RPMREL="$(grep '^Release:' $SPECFILE | awk '{print $2}' | cut -d% -f1)"
14+
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
22+
(
23+
echo "# created by $ME, do not edit by hand"
24+
# The following two lines are OBS "magic" to use the tarball from the rpm
25+
echo "Debtransform-Tar: ${PKG}-${VERSION}.tar.gz"
26+
#echo "Debtransform-Files-Tar: "
27+
echo "Format: 1.0"
28+
echo "Version: ${VERSION}.${RPMREL}-${DEBREL}"
29+
echo "Binary: $PKG"
30+
cat control
31+
echo "Files:"
32+
echo " ffffffffffffffffffffffffffffffff 99999 file1"
33+
echo " ffffffffffffffffffffffffffffffff 99999 file2"
34+
) > $PKG.dsc
35+
#
36+
echo "Updated $PKG.dsc"

0 commit comments

Comments
 (0)