[DRE-commits] [ruby-zip] 06/13: Remove old 1.8 package and add 1.9 transitional one

David Suárez deiv-guest at moszumanska.debian.org
Sun Dec 29 19:42:44 UTC 2013


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

deiv-guest pushed a commit to branch master
in repository ruby-zip.

commit acaea34d61aaee0f4698bbf6a706c0b824e4b91b
Author: David Suárez <david.sephirot at gmail.com>
Date:   Sun Dec 29 20:08:27 2013 +0100

    Remove old 1.8 package and add 1.9 transitional one
---
 debian/changelog               |  1 +
 debian/control                 | 28 ++++++++++------------------
 debian/libzip-ruby1.8.docs     |  3 ---
 debian/libzip-ruby1.8.examples |  1 -
 debian/libzip-ruby1.9.1.docs   |  3 +--
 5 files changed, 12 insertions(+), 24 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 821f294..ff4eea1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ ruby-zip (1.1.0-1) unstable; urgency=medium
     - Build against supported runtimes (Closes: #730962)
     - debian/control: Add Vcs-* header
     - debian/compat: bump to version7
+  * Remove old 1.8 package and add 1.9 transitional one
 
  -- David Suárez <david.sephirot at gmail.com>  Sun, 29 Dec 2013 19:30:30 +0100
 
diff --git a/debian/control b/debian/control
index 7c2cea3..ce70209 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,9 @@ Package: ruby-zip
 Architecture: any
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Provides: libzip-ruby1.9.1
+Replaces: libzip-ruby1.9.1 (<< 1.1.0-1~)
+Breaks: libzip-ruby1.9.1 (<< 1.1.0-1~)
 Description: Ruby module for reading and writing zip files
  rubyzip is a ruby library for reading and writing zip (pkzip format)
  files, with the restriction that only uncompressed and deflated zip
@@ -21,24 +24,13 @@ Description: Ruby module for reading and writing zip files
  file format. the actual compression/decompression is handled by
  zlib. zlib is accessible from ruby thanks to ruby/zlib
 
-Package: libzip-ruby1.8
-Architecture: all
-Provides: libzip-ruby
-Depends: libruby1.8 (>= 1.8.2-3) | libzlib-ruby1.8, ${misc:Depends}
-Description: a ruby module for reading and writing zip files
- rubyzip is a ruby library for reading and writing zip (pkzip format)
- files, with the restriction that only uncompressed and deflated zip
- entries are supported. All this library does is handling of the zip
- file format. the actual compression/decompression is handled by
- zlib. zlib is accessible from ruby thanks to ruby/zlib
 
 Package: libzip-ruby1.9.1
 Architecture: all
-Provides: libzip-ruby
-Depends: libruby1.9.1, ${misc:Depends}
-Description: a ruby module for reading and writing zip files
- rubyzip is a ruby library for reading and writing zip (pkzip format)
- files, with the restriction that only uncompressed and deflated zip
- entries are supported. All this library does is handling of the zip
- file format. the actual compression/decompression is handled by
- zlib. zlib is accessible from ruby thanks to ruby/zlib
+Depends: ${misc:Depends}, ruby-zip
+Section: oldlibs
+Priority: extra
+Description: Transitional package for ruby-zip
+ This is a transitional package to ease upgrades to the ruby-zip
+ package. It can safely be removed.
+
diff --git a/debian/libzip-ruby1.8.docs b/debian/libzip-ruby1.8.docs
deleted file mode 100644
index 5502ed8..0000000
--- a/debian/libzip-ruby1.8.docs
+++ /dev/null
@@ -1,3 +0,0 @@
-NEWS
-README
-TODO
diff --git a/debian/libzip-ruby1.8.examples b/debian/libzip-ruby1.8.examples
deleted file mode 100644
index 781fb73..0000000
--- a/debian/libzip-ruby1.8.examples
+++ /dev/null
@@ -1 +0,0 @@
-samples/*
diff --git a/debian/libzip-ruby1.9.1.docs b/debian/libzip-ruby1.9.1.docs
index 5502ed8..6f77277 100644
--- a/debian/libzip-ruby1.9.1.docs
+++ b/debian/libzip-ruby1.9.1.docs
@@ -1,3 +1,2 @@
-NEWS
-README
+README.md
 TODO

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



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