Merge lp:~ignacio-nin/percona-xtrabackup/2.1-dpkg-revamp into lp:percona-xtrabackup/2.1

Proposed by Ignacio Nin
Status: Merged
Approved by: Stewart Smith
Approved revision: no longer in the source branch.
Merged at revision: 552
Proposed branch: lp:~ignacio-nin/percona-xtrabackup/2.1-dpkg-revamp
Merge into: lp:percona-xtrabackup/2.1
Prerequisite: lp:~ignacio-nin/percona-xtrabackup/2.1-dpkg-dummy-revamp
Diff against target: 229 lines (+49/-102)
8 files modified
utils/debian/changelog (+12/-0)
utils/debian/compat (+1/-1)
utils/debian/control (+1/-1)
utils/debian/copyright (+25/-24)
utils/debian/info (+0/-1)
utils/debian/percona-xtrabackup-test.dirs (+1/-0)
utils/debian/percona-xtrabackup.dirs (+0/-1)
utils/debian/rules (+9/-74)
To merge this branch: bzr merge lp:~ignacio-nin/percona-xtrabackup/2.1-dpkg-revamp
Reviewer Review Type Date Requested Status
Stewart Smith (community) Approve
Review via email: mp+160222@code.launchpad.net

Description of the change

Revamp of debian/ files

To post a comment you must log in.
Revision history for this message
Stewart Smith (stewart) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'utils/debian/changelog'
2--- utils/debian/changelog 2012-10-15 16:14:59 +0000
3+++ utils/debian/changelog 2013-04-22 22:03:36 +0000
4@@ -1,3 +1,15 @@
5+percona-xtrabackup (2.1.0) unstable; urgency=low
6+
7+ * Update compat level to 7
8+ * Update Standards-Version to 3.9.1.
9+ * Use dh targets and overrides.
10+ * Remove the obsolete debian/info file
11+ * Move the /usr/share/percona-xtrabackup-test directory to
12+ the percona-xtrabackup-test package.
13+ * Update the copyright file to a machine-readable format.
14+
15+ -- Ignacio Nin <ignacio.nin@percona.com> Mon, 22 Apr 2013 16:14:20 -0300
16+
17 percona-xtrabackup (2.0.0) lucid; urgency=low
18
19 * General polishing of debian/ directory
20
21=== modified file 'utils/debian/compat'
22--- utils/debian/compat 2011-10-05 02:29:27 +0000
23+++ utils/debian/compat 2013-04-22 22:03:36 +0000
24@@ -1,1 +1,1 @@
25-5
26+7
27
28=== modified file 'utils/debian/control'
29--- utils/debian/control 2013-04-03 14:50:52 +0000
30+++ utils/debian/control 2013-04-22 22:03:36 +0000
31@@ -4,7 +4,7 @@
32 Maintainer: Percona Development <mysql-dev@percona.com>
33 Build-Depends: debhelper (>= 7.3), autotools-dev, libaio-dev, wget, automake,
34 libtool, bison, libncurses-dev, libz-dev, cmake, bzr, libgcrypt-dev
35-Standards-Version: 3.8.4
36+Standards-Version: 3.9.3
37 Homepage: https://launchpad.net/percona-xtrabackup
38 Vcs-Browser: http://bazaar.launchpad.net/~percona-dev/percona-xtrabackup/release-1.4/files
39 Vcs-Bzr: bzr+ssh://bazaar.launchpad.net/~percona-dev/percona-xtrabackup/release-1.4/
40
41=== modified file 'utils/debian/copyright'
42--- utils/debian/copyright 2013-01-11 12:56:00 +0000
43+++ utils/debian/copyright 2013-04-22 22:03:36 +0000
44@@ -1,40 +1,41 @@
45-This package was debianized by Alex <aleksandr.kuzminsky@percona.com> on
46-Sun, 28 Jun 2009 14:20:17 -0700.
47-
48-Its current debian maintainer is Ignacio Nin <ignacio.nin@percona.com>
49-
50-It was downloaded from lp:percona-xtrabackup (bzr repo)
51-
52-Author:
53-
54- Percona, Inc. <info@percona.com>
55-
56+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
57+Upstream-Contact: Percona Development <mysql-dev@percona.com>
58+Source: https://launchpad.net/percona-xtrabackup
59+Comment:
60+ This package was debianized by Alex <aleksandr.kuzminsky@percona.com> on
61+ Sun, 28 Jun 2009 14:20:17 -0700. Its current debian maintainer is
62+ Ignacio Nin <ignacio.nin@percona.com>.
63 Copyright:
64-
65- Copyright (C) 2009 2010 2011 Percona, Inc., except for the
66+ Copyright (C) 2009-2013 Percona, LLC, except for the
67 innobackupex script (innobackupex-1.5.1), which is
68 Copyright (C) 2003, 2009 Innobase Oy. All rights reserved.,
69 published under the GNU General Public License Version 2.
70-
71-License:
72-
73+License: GPL-2
74 This program is free software; you can redistribute it and/or modify
75 it under the terms of the GNU General Public License as published by
76 the Free Software Foundation; either version 2 of the License, or
77 (at your option) any later version.
78-
79+ .
80 This program is distributed in the hope that it will be useful,
81 but WITHOUT ANY WARRANTY; without even the implied warranty of
82 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83 GNU General Public License for more details.
84-
85+ .
86 You should have received a copy of the GNU General Public License with
87 the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
88 if not, write to the Free Software Foundation, Inc., 51 Franklin St,
89 Fifth Floor, Boston, MA 02110-1301 USA
90-
91-On Debian systems, the complete text of the GNU General Public
92-License, version 2, can be found in /usr/share/common-licenses/GPL-2.
93-
94-The Debian packaging is Copyright © 2009 2010 2011 Percona Ireland Ltd.
95-and is licensed under the GNU General Public License, version 2.
96+ .
97+ On Debian systems, the complete text of the GNU General Public
98+ License, version 2, can be found in /usr/share/common-licenses/GPL-2.
99+ .
100+ The Debian packaging is Copyright © 2009-2013 Percona, LLC
101+ and is licensed under the GNU General Public License, version 2.
102+
103+Files: innobackupex
104+Copyright: Copyright (C) 2003, 2009 Innobase Oy. All rights reserved.
105+License: GPL-2
106+
107+Files: *
108+Copyright: Copyright (C) 2009-2013 Percona, LLC
109+License: GPL-2
110
111=== removed file 'utils/debian/info'
112--- utils/debian/info 2010-07-04 12:15:06 +0000
113+++ utils/debian/info 1970-01-01 00:00:00 +0000
114@@ -1,1 +0,0 @@
115-Docs/mysql.info
116
117=== added file 'utils/debian/percona-xtrabackup-test.dirs'
118--- utils/debian/percona-xtrabackup-test.dirs 1970-01-01 00:00:00 +0000
119+++ utils/debian/percona-xtrabackup-test.dirs 2013-04-22 22:03:36 +0000
120@@ -0,0 +1,1 @@
121+usr/share/percona-xtrabackup-test
122
123=== modified file 'utils/debian/percona-xtrabackup.dirs'
124--- utils/debian/percona-xtrabackup.dirs 2012-10-15 16:14:59 +0000
125+++ utils/debian/percona-xtrabackup.dirs 2013-04-22 22:03:36 +0000
126@@ -2,4 +2,3 @@
127 usr/share
128 usr/share/doc
129 usr/share/doc/percona-xtrabackup
130-usr/share/percona-xtrabackup-test
131
132=== modified file 'utils/debian/rules'
133--- utils/debian/rules 2013-04-22 22:03:36 +0000
134+++ utils/debian/rules 2013-04-22 22:03:36 +0000
135@@ -22,23 +22,10 @@
136
137 MAKE_J = -j$(shell if [ -f /proc/cpuinfo ] ; then grep -c processor.* /proc/cpuinfo ; else echo 1 ; fi)
138
139-
140-config.status:
141- dh_testdir
142- # Add here commands to configure the package.
143-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
144- cp -f /usr/share/misc/config.sub config.sub
145-endif
146-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
147- cp -f /usr/share/misc/config.guess config.guess
148-endif
149- #./configure --enable-local-infile --enable-thread-safe-client --with-plugins=innobase --with-zlib-dir=bundled --with-extra-charsets=complex
150-
151-
152-build: build-stamp
153-
154-build-stamp: config.status
155- dh_testdir
156+override_dh_auto_configure:
157+
158+
159+override_dh_auto_build:
160
161 ifeq "$(DEB_DUMMY)" ""
162 AUTO_DOWNLOAD=yes ./utils/build.sh xtradb
163@@ -60,61 +47,9 @@
164
165 #docbook-to-man debian/xtrabackup.sgml > xtrabackup.1
166
167- touch $@
168-
169-clean:
170- dh_testdir
171- dh_testroot
172- rm -f build-stamp
173-
174- # Add here commands to clean up after the build process.
175- #[ ! -f Makefile ] || $(MAKE) distclean
176- rm -f config.sub config.guess
177-
178- dh_clean
179-
180-install:
181- dh_testdir
182- dh_testroot
183- dh_clean -k
184- dh_installdirs
185- dh_install
186-
187-# Build architecture-independent files here.
188-binary-indep: install
189-# We have nothing to do by default.
190-
191-# Build architecture-dependent files here.
192-binary-arch: install
193- dh_testdir
194- dh_testroot
195- dh_installchangelogs
196- dh_installdocs
197-# dh_installexamples
198- dh_install
199-# dh_installmenu
200-# dh_installdebconf
201-# dh_installlogrotate
202-# dh_installemacsen
203-# dh_installpam
204-# dh_installmime
205-# dh_python
206-# dh_installinit
207-# dh_installcron
208-# dh_installinfo
209-# dh_installman
210- dh_link
211+override_dh_strip:
212 dh_strip --dbg-package=percona-xtrabackup-dbg
213- dh_lintian
214- dh_compress
215- dh_fixperms
216-# dh_perl
217-# dh_makeshlibs
218- dh_installdeb
219- dh_shlibdeps
220- dh_gencontrol
221- dh_md5sums
222- dh_builddeb
223-
224-binary: binary-indep binary-arch
225-.PHONY: build clean binary-indep binary-arch binary install
226+
227+%:
228+ dh $@
229+

Subscribers

People subscribed via source and target branches