[Chinese-commits] [fortune-zh] 01/03: control: rename fortune-zh to fortunes-zh

Zhou Mo cdluminate-guest at moszumanska.debian.org
Mon Apr 10 06:47:35 UTC 2017


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

cdluminate-guest pushed a commit to branch master
in repository fortune-zh.

commit e80ed8019fc3498f4fcde7a17eeaab31366d933f
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Mon Apr 10 06:45:17 2017 +0000

    control: rename fortune-zh to fortunes-zh
---
 debian/TODO                                              |  2 --
 debian/changelog                                         |  3 +++
 debian/control                                           | 16 ++++++++++++++++
 debian/fortunes-zh.install                               |  1 +
 debian/{fortune-zh.links => fortunes-zh.links}           |  0
 ...h.lintian-overrides => fortunes-zh.lintian-overrides} |  2 +-
 debian/{fortune-zh.manpages => fortunes-zh.manpages}     |  0
 7 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/debian/TODO b/debian/TODO
index f86916e..fbecb06 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -1,6 +1,4 @@
 * Add more cookies -- but this task seems endless!
-* change binary package name to fortunes-zh. try apt list fortune\* to find
-  out why.
 * Fix this Chinese character:
     ack ]
       song100
diff --git a/debian/changelog b/debian/changelog
index bc6b73e..2f30338 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ fortune-zh (2.2) UNRELEASED; urgency=medium
   * Substitute the replacement Chiense characters with the original one.
     There is still a character remains to be fixed, as said in d/TODO.
     (Closes: #850905).
+  * Rename binary package "fortune-zh" to "fortunes-zh" since the other
+    fortune cookie packages are named as "fortunes-*". The binary package
+    "fortune-zh" is now a dummy transitional package.
 
  -- Zhou Mo <cdluminate at gmail.com>  Mon, 10 Apr 2017 06:12:07 +0000
 
diff --git a/debian/control b/debian/control
index 5c703af..585068d 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,22 @@ Vcs-Browser: https://anonscm.debian.org/cgit/chinese/fortune-zh.git
 Vcs-Git: https://anonscm.debian.org/git/chinese/fortune-zh.git
 
 Package: fortune-zh
+Section: oldlibs
+Priority: extra
+Architecture: all
+Depends: fortunes-zh (>= ${source:Version}), ${misc:Depends}
+Description: Chinese Data files for fortune (dummy transitional package)
+ This package contains the Chinese data files for fortune in
+ UTF-8 encoding.
+ .
+ cookies included in this package:
+  * tang300: 300 Tang Poems
+  * song100: 100 Song Poems
+  * chinese: Misc Chinese Collection
+ .
+ This is a dummy transitional package of fortunes-zh.
+
+Package: fortunes-zh
 Architecture: all
 Depends: ${misc:Depends}, fortune-mod
 Description: Chinese Data files for fortune
diff --git a/debian/fortunes-zh.install b/debian/fortunes-zh.install
new file mode 100644
index 0000000..73752c9
--- /dev/null
+++ b/debian/fortunes-zh.install
@@ -0,0 +1 @@
+usr
diff --git a/debian/fortune-zh.links b/debian/fortunes-zh.links
similarity index 100%
rename from debian/fortune-zh.links
rename to debian/fortunes-zh.links
diff --git a/debian/fortune-zh.lintian-overrides b/debian/fortunes-zh.lintian-overrides
similarity index 54%
rename from debian/fortune-zh.lintian-overrides
rename to debian/fortunes-zh.lintian-overrides
index 5702885..7e5ba44 100644
--- a/debian/fortune-zh.lintian-overrides
+++ b/debian/fortunes-zh.lintian-overrides
@@ -1,2 +1,2 @@
 # [lintian I] the "chinese" refers data file, which should not be "Chinese".
-fortune-zh: capitalization-error-in-description chinese Chinese
+fortunes-zh: capitalization-error-in-description chinese Chinese
diff --git a/debian/fortune-zh.manpages b/debian/fortunes-zh.manpages
similarity index 100%
rename from debian/fortune-zh.manpages
rename to debian/fortunes-zh.manpages

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/chinese/fortune-zh.git



More information about the Chinese-commits mailing list