[DRE-commits] [ruby-mysql2] 02/05: Copy example configuration in spec/ for use in tests

Cédric Boutillier boutil at moszumanska.debian.org
Tue Nov 26 17:41:17 UTC 2013


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-mysql2.

commit d198c8f7f35daeeb7ae0a0cfca31b3741244474b
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Nov 26 18:22:46 2013 +0100

    Copy example configuration in spec/ for use in tests
---
 debian/changelog | 9 +++++++++
 debian/clean     | 2 ++
 debian/rules     | 4 +++-
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f808603..b895cdc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ruby-mysql2 (0.3.14-1) UNRELEASED; urgency=low
+
+  * Team upload
+  * use canonical URI in Vcs-* fields
+  * Imported Upstream version 0.3.14
+  * Copy example configuration in spec/ for use in tests
+
+ -- Cédric Boutillier <boutil at debian.org>  Tue, 26 Nov 2013 16:16:45 +0100
+
 ruby-mysql2 (0.3.11-1) unstable; urgency=low
 
   * Initial release (Closes: #691150)
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..67f26b8
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+spec/configuration.yml
+spec/my.cnf
diff --git a/debian/rules b/debian/rules
index 56de7e2..aa19637 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,5 +19,7 @@ override_dh_installchangelogs:
 
 # need to start an mysqld instance to run the tests
 override_dh_auto_install:
+	cp spec/configuration.yml.example spec/configuration.yml
+	cp spec/my.cnf.example spec/my.cnf
 	chmod +x debian/start_mysqld_and_auto_install.sh
-	debian/start_mysqld_and_auto_install.sh
\ No newline at end of file
+	debian/start_mysqld_and_auto_install.sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-mysql2.git



More information about the Pkg-ruby-extras-commits mailing list