[DRE-commits] [foodcritic] 08/12: Use an absolute require in the spec file, so the autopkgtest can run against the system install.

Stefano Rivera stefano at rivera.za.net
Sun Jan 3 18:13:07 UTC 2016


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

stefanor pushed a commit to branch master
in repository foodcritic.

commit ffab9321e2343e075bf2333638e14315140a8880
Author: Stefano Rivera <stefanor at debian.org>
Date:   Sun Jan 3 18:37:48 2016 +0200

    Use an absolute require in the spec file, so the autopkgtest can run against the system install.
---
 debian/changelog                     | 2 ++
 debian/patches/system-install-layout | 8 ++++++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 712fb3c..668ae51 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ foodcritic (5.0.0-1) UNRELEASED; urgency=medium
   * Point Vcs-Browser at https cgit.
   * Bump debhelper compat level to 9.
   * Use https in the watch file.
+  * Use an absolute require in the spec file, so the autopkgtest can run
+    against the system install.
 
  -- Stefano Rivera <stefanor at debian.org>  Sun, 03 Jan 2016 18:01:56 +0200
 
diff --git a/debian/patches/system-install-layout b/debian/patches/system-install-layout
index 252859d..235b880 100644
--- a/debian/patches/system-install-layout
+++ b/debian/patches/system-install-layout
@@ -32,3 +32,11 @@ Last-Updated: 2013-06-05
      end
  
      def resource_check?(key, resource_type, field)
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -11,4 +11,4 @@
+ require 'minitest/pride'
+ require 'minitest/spec'
+ 
+-require_relative '../lib/foodcritic'
++require 'foodcritic'

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



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