File tree Expand file tree Collapse file tree 4 files changed +75
-1
lines changed
Expand file tree Collapse file tree 4 files changed +75
-1
lines changed Original file line number Diff line number Diff line change 1+ In order to build this on OBS, follow these steps:
2+
3+ 1 . Create a login for yourself at build.opensuse.org.
4+ 2 . Either use your home project or create a subproject, and select
5+ Repositories matching those of [ home:cvmfs: contrib ] ( https://build.opensuse.org/repositories/home:cvmfs:contrib ) . Edit each repository so the
6+ Architectures and Additional package repositories match those of
7+ home:cvmfs: contrib .
8+ 3 . On the Overview tab for the project, select "Branch existing package".
9+ Use "home:cvmfs: contrib " as "Name of original project" and
10+ "cvmfs-config-osg" as "Name of package in original project" and select
11+ "Create Branch". It should then build, and you can reload the page
12+ until it finishes. You can also select the "\_ service" link, click
13+ "show latest", and edit the source of the paths to be from
14+ different sources if you want to and click "Save".
15+ 4 . To find the built packages, click on Repositories back in the
16+ project and select "Go to download repository".
Original file line number Diff line number Diff line change @@ -8,5 +8,6 @@ Homepage: http://github.conf/opensciencegrid/cvmfs-config-osg
88
99Package: cvmfs-config-osg
1010Architecture: all
11- Depends:
11+ Provides: cvmfs-config
12+ Conflicts: cvmfs-config
1213Description: CernVM File System configuration for OSG
Original file line number Diff line number Diff line change 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 <dwd@fnal.gov>
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
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments