Merge lp:~ignacio-nin/percona-server/5.6-debian---epoch into lp:percona-server/5.6

Proposed by Ignacio Nin
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 342
Proposed branch: lp:~ignacio-nin/percona-server/5.6-debian---epoch
Merge into: lp:percona-server/5.6
Diff against target: 36 lines (+5/-2)
1 file modified
build/build-dpkg.sh (+5/-2)
To merge this branch: bzr merge lp:~ignacio-nin/percona-server/5.6-debian---epoch
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+161965@code.launchpad.net

Description of the change

--epoch parameter for dpkg builder

To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'build/build-dpkg.sh'
--- build/build-dpkg.sh 2013-04-15 12:12:53 +0000
+++ build/build-dpkg.sh 2013-05-01 22:03:32 +0000
@@ -12,12 +12,14 @@
12set -ue12set -ue
1313
14# Examine parameters14# Examine parameters
15go_out="$(getopt --options "kK:bH" --longoptions key:,nosign,binary \15go_out="$(getopt --options "k:Ke:b" \
16 --longoptions key:,nosign,epoch:binary \
16 --name "$(basename "$0")" -- "$@")"17 --name "$(basename "$0")" -- "$@")"
17test $? -eq 0 || exit 118test $? -eq 0 || exit 1
18eval set -- $go_out19eval set -- $go_out
1920
20BUILDPKG_KEY=''21BUILDPKG_KEY=''
22EPOCH=''
21BINARY=''23BINARY=''
2224
23for arg25for arg
@@ -26,6 +28,7 @@
26 -- ) shift; break;;28 -- ) shift; break;;
27 -k | --key ) shift; BUILDPKG_KEY="-pgpg -k$1"; shift;;29 -k | --key ) shift; BUILDPKG_KEY="-pgpg -k$1"; shift;;
28 -K | --nosign ) shift; BUILDPKG_KEY="-uc -us";;30 -K | --nosign ) shift; BUILDPKG_KEY="-uc -us";;
31 -e | --epoch ) shift; EPOCH="$1:"; shift;;
29 -b | --binary ) shift; BINARY='-b';;32 -b | --binary ) shift; BINARY='-b';;
30 esac33 esac
31done34done
@@ -103,7 +106,7 @@
103 chmod +x debian/rules106 chmod +x debian/rules
104107
105 # Update distribution name108 # Update distribution name
106 dch -m -D "$DEBIAN_VERSION" --force-distribution -v "$MYSQL_VERSION-$PERCONA_SERVER_VERSION-$BB_PERCONA_REVISION.$DEBIAN_VERSION" 'Update distribution'109 dch -m -D "$DEBIAN_VERSION" --force-distribution -v "$EPOCH$MYSQL_VERSION-$PERCONA_SERVER_VERSION-$BB_PERCONA_REVISION.$DEBIAN_VERSION" 'Update distribution'
107110
108 DEB_CFLAGS_APPEND="$CFLAGS" DEB_CXXFLAGS_APPEND="$CXXFLAGS" \111 DEB_CFLAGS_APPEND="$CFLAGS" DEB_CXXFLAGS_APPEND="$CXXFLAGS" \
109 dpkg-buildpackage $BINARY -rfakeroot $BUILDPKG_KEY112 dpkg-buildpackage $BINARY -rfakeroot $BUILDPKG_KEY

Subscribers

People subscribed via source and target branches