|
27 | 27 | fi
|
28 | 28 |
|
29 | 29 | if [ "$branch" = develop ]
|
| 30 | +then |
30 | 31 | pparepo=ethereum/ethereum-dev
|
31 | 32 | ppafilesurl=https://launchpad.net/~ethereum/+archive/ubuntu/ethereum-dev/+files
|
32 | 33 | else
|
@@ -57,7 +58,7 @@ commitdate=`git show --format=%ci HEAD | head -n 1 | cut - -b1-10`
|
57 | 58 |
|
58 | 59 | # TODO store the commit hash in a file so that the build info mechanism can pick it up even without git
|
59 | 60 |
|
60 |
| -if [ $branch = develop] |
| 61 | +if [ $branch = develop ] |
61 | 62 | then
|
62 | 63 | debversion="$version-nightly-$commitdate-$commithash"
|
63 | 64 | else
|
|
67 | 68 | # gzip will create different tars all the time and we are not allowed
|
68 | 69 | # to upload the same file twice with different contents, so we only
|
69 | 70 | # create it once.
|
70 |
| -if [ -n -e /tmp/${packagename}_${debversion}.orig.tar.gz ] |
| 71 | +if [ ! -e /tmp/${packagename}_${debversion}.orig.tar.gz ] |
71 | 72 | then
|
72 | 73 | tar --exclude .git -czf /tmp/${packagename}_${debversion}.orig.tar.gz .
|
73 | 74 | fi
|
@@ -117,6 +118,8 @@ Package: solc
|
117 | 118 | Architecture: any-i386 any-amd64
|
118 | 119 | Multi-Arch: same
|
119 | 120 | Depends: \${shlibs:Depends}, \${misc:Depends}, $jsoncpplib
|
| 121 | +Replaces: lllc (<< 1:0.3.6) |
| 122 | +Conflicts: libethereum (<= 1.2.9) |
120 | 123 | Description: Solidity compiler.
|
121 | 124 | The commandline interface to the Solidity smart contract compiler.
|
122 | 125 | EOF
|
@@ -194,7 +197,7 @@ mkdir debian/source
|
194 | 197 | echo "3.0 (quilt)" > debian/source/format
|
195 | 198 | chmod +x debian/rules
|
196 | 199 |
|
197 |
| -versionsuffix=0ubuntu4~${distribution} |
| 200 | +versionsuffix=0ubuntu1~${distribution} |
198 | 201 | # bump version / add entry to changelog
|
199 | 202 | EMAIL="$email" dch -v 1:${debversion}-${versionsuffix} "git build of ${commithash}"
|
200 | 203 |
|
|
0 commit comments