[DRE-commits] [ruby-semverse] 02/02: Upload to unstable

Miguel Landaeta nomadium at moszumanska.debian.org
Sat Jul 26 21:44:27 UTC 2014


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

nomadium pushed a commit to branch master
in repository ruby-semverse.

commit 78fbd4ac66ca6084279f94cdfb4651e035f43ed6
Author: Miguel Landaeta <nomadium at debian.org>
Date:   Sat Jul 26 17:56:02 2014 -0300

    Upload to unstable
---
 debian/changelog                                   |  4 +-
 debian/compat                                      |  2 +-
 debian/control                                     | 17 ++++----
 debian/copyright                                   | 47 ++++++++++------------
 .../01_disable_bundler_rubygems_and_spork.diff     | 34 ++++++++++++++++
 debian/patches/series                              |  1 +
 debian/ruby-semverse.docs                          |  3 +-
 debian/ruby-test-files.yaml                        |  5 ---
 debian/ruby-tests.rb                               |  4 ++
 9 files changed, 75 insertions(+), 42 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d0db02b..7d07be2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-semverse (1.1.0-1) UNRELEASED; urgency=medium
+ruby-semverse (1.1.0-1) unstable; urgency=medium
 
-  * Initial release (Closes: #nnnn)
+  * Initial release. (Closes: #756157)
 
  -- Miguel Landaeta <nomadium at debian.org>  Sat, 26 Jul 2014 17:02:07 -0300
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index ade6683..1687f3a 100644
--- a/debian/control
+++ b/debian/control
@@ -2,11 +2,11 @@ Source: ruby-semverse
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders:  <nomadium at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~)
+Uploaders: Miguel Landaeta <nomadium at debian.org>
+Build-Depends: debhelper (>= 9~), gem2deb (>= 0.7.5~)
 Standards-Version: 3.9.5
-#Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-semverse.git
-#Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-semverse.git;a=summary
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-semverse.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-semverse.git;a=summary
 Homepage: https://github.com/berkshelf/semverse
 XS-Ruby-Versions: all
 
@@ -14,6 +14,9 @@ Package: ruby-semverse
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-# bundler (~> 1.5, development), rake (>= 0, development)
-Description: An elegant library for representing and comparing SemVer versions and constraints
- An elegant library for representing and comparing SemVer versions and constraints
+Description: Ruby library for representing SemVer versions and constraints
+ semverse is a Ruby library that allow to manipulate, compare
+ and validate versions in concordance with SemVer (Semantic Versioning)
+ specification.
+ .
+ For more information about SemVer please refer to http://semver.org/.
diff --git a/debian/copyright b/debian/copyright
index d184041..e7f57e5 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,32 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: semverse
-Source: FIXME <http://example.com/>
+Source: https://github.com/berkshelf/semverse
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2014 Jamie Winsor <amie at vialstudios.com>
+License: Expat
 
 Files: debian/*
-Copyright: 2014  <nomadium at debian.org>
-License: GPL-2+ (FIXME)
+Copyright: 2014 Miguel Landaeta <nomadium at debian.org>
+License: Expat
 Comment: the Debian packaging is licensed under the same terms as the original package.
 
-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.
+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:
  .
- 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.
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
  .
- 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'.
+ 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/patches/01_disable_bundler_rubygems_and_spork.diff b/debian/patches/01_disable_bundler_rubygems_and_spork.diff
new file mode 100644
index 0000000..50a04cb
--- /dev/null
+++ b/debian/patches/01_disable_bundler_rubygems_and_spork.diff
@@ -0,0 +1,34 @@
+Description: Disable rubygems, bundler and spork libraries
+Author: Miguel Landaeta <nomadium at debian.org>
+Forwarded: no
+Last-Update: 2014-07-26
+
+--- ruby-semverse-1.1.0.orig/spec/spec_helper.rb
++++ ruby-semverse-1.1.0/spec/spec_helper.rb
+@@ -1,8 +1,9 @@
+-require 'rubygems'
+-require 'bundler'
+-require 'spork'
++#require 'rubygems'
++#require 'bundler'
++#require 'spork'
++require 'semverse'
+ 
+-Spork.prefork do
++#Spork.prefork do
+   require 'rspec'
+ 
+   APP_ROOT = File.expand_path('../../', __FILE__)
+@@ -18,8 +19,8 @@ Spork.prefork do
+     # Run specs in a random order
+     config.order = :random
+   end
+-end
++#end
+ 
+-Spork.each_run do
+-  require 'semverse'
+-end
++#Spork.each_run do
++#  require 'semverse'
++#end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2ee58a1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_disable_bundler_rubygems_and_spork.diff
diff --git a/debian/ruby-semverse.docs b/debian/ruby-semverse.docs
index 07b3c9e..b43bf86 100644
--- a/debian/ruby-semverse.docs
+++ b/debian/ruby-semverse.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.md
+README.md
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index c5be4bd..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,5 +0,0 @@
----
-- spec/spec_helper.rb
-- spec/unit/semverse/constraint_spec.rb
-- spec/unit/semverse/version_spec.rb
-- spec/unit/semverse_spec.rb
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..99b4155
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,4 @@
+require 'rspec'
+$: << 'lib' << '.'
+
+RSpec::Core::Runner.run ['spec']

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



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