[DRE-commits] [SCM] ruby-orm-adapter.git branch, master, updated. upstream/0.4.0-2-g34c678a

Praveen Arimbrathodiyil praveen at debian.org
Fri Oct 26 15:18:01 UTC 2012


The following commit has been merged in the master branch:
commit 34c678a67cd349ef812556d563966ea6be845cf2
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Oct 26 20:46:28 2012 +0530

    tune the package to make it lintian clean
    
    - use ruby-tests.rake instead of ruby-test-files.yaml

diff --git a/debian/changelog b/debian/changelog
index 285b874..44320f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-orm-adapter (0.4.0-1) UNRELEASED; urgency=low
+ruby-orm-adapter (0.4.0-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #691497)
 
- -- Praveen Arimbrathodiyil <pravi at savannah.pnq.redhat.com>  Fri, 26 Oct 2012 20:42:41 +0530
+ -- Praveen Arimbrathodiyil <praveen at debian.org>  Fri, 26 Oct 2012 17:22:15 +0530
diff --git a/debian/control b/debian/control
index 625dd35..9ac8112 100644
--- a/debian/control
+++ b/debian/control
@@ -2,9 +2,10 @@ Source: ruby-orm-adapter
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders:  <>
+Uploaders: Praveen Arimbrathodiyil <praveen at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~),
+ rake, ruby-rspec
 Standards-Version: 3.9.3
 #Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-orm-adapter.git
 #Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-orm-adapter.git;a=summary
@@ -16,5 +17,7 @@ Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
 # bundler (>= 1.0.0, development), git (>= 1.2.5, development), yard (>= 0.6.0, development), rake (>= 0.8.7, development), activerecord (>= 3.0.0, development), mongoid (>= 2.0.0.beta.20, development), mongo_mapper (>= 0.9.0, development), bson_ext (>= 1.3.0, development), rspec (>= 2.4.0, development), sqlite3 (>= 1.3.2, development), datamapper (>= 1.0, development), dm-sqlite-adapter (>= 1.0, development), dm-active_model (>= 1.0, development)
-Description: orm_adapter provides a single point of entry for using basic features of popular ruby ORMs.  Its target audience is gem authors who want to support many ruby ORMs.
- Provides a single point of entry for using basic features of ruby ORMs
+Description: single point of entry for using basic features of ruby ORMs
+ orm_adapter provides a single point of entry for using basic features of 
+ popular ruby ORMs.  Its target audience is gem authors who want to support 
+ many ruby ORMs.
diff --git a/debian/copyright b/debian/copyright
index 9f85b98..335cca7 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,33 +1,31 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: orm_adapter
-Source: FIXME <http://example.com/>
+Source: http://rubygems.org/gems/orm_adapter
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
- This program is free software; you can redistribute it
- and/or modify it under the terms of the GNU General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later
- version.
- .
- This program is distributed in the hope that it will be
- useful, but WITHOUT ANY WARRANTY; without even the implied
- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.  See the GNU General Public License for more
- details.
- .
- You should have received a copy of the GNU General Public
- License along with this package; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- Boston, MA  02110-1301 USA
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
+Copyright: 2010-2012 Ian White and José Valim
+License: Expat
 
 Files: debian/*
-Copyright: 2012  <>
-License:
- [LICENSE TEXT]
+Copyright: 2012 Praveen Arimbrathodiyil <praveen at debian.org>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/ruby-orm-adapter.docs b/debian/ruby-orm-adapter.docs
index 0d5eab8..e475c53 100644
--- a/debian/ruby-orm-adapter.docs
+++ b/debian/ruby-orm-adapter.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.rdoc
+README.rdoc
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 31b88c9..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,9 +0,0 @@
----
-- spec/orm_adapter/adapters/active_record_spec.rb
-- spec/orm_adapter/adapters/data_mapper_spec.rb
-- spec/orm_adapter/adapters/mongo_mapper_spec.rb
-- spec/orm_adapter/adapters/mongoid_spec.rb
-- spec/orm_adapter/base_spec.rb
-- spec/orm_adapter/example_app_shared.rb
-- spec/orm_adapter_spec.rb
-- spec/spec_helper.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..89a753d
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  spec.pattern      = './spec/**/*_spec.rb'
+end
+
+task :default => :spec
diff --git a/debian/rules b/debian/rules
index a5e7dc8..61a3595 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,6 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_installchangelogs:
+	dh_installchangelogs History.txt

-- 
ruby-orm-adapter.git



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