[caffe] 06/08: rules: bump numbers accordingly

Zhou Mo cdluminate-guest at moszumanska.debian.org
Mon Apr 17 02:52:00 UTC 2017


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

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

commit 69f451e98cc7164ecc2f28f861e60be3957adbd4
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Mon Apr 17 02:34:42 2017 +0000

    rules: bump numbers accordingly
---
 debian/changelog | 5 ++++-
 debian/rules     | 6 +++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 49396bc..18ec6d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,13 @@
 caffe (1.0.0-1) UNRELEASED; urgency=medium
 
-  * New upstream release. (The first stable release)
+  * New upstream release. The first upstream stable release.
+    The version number is imported as 1.0.0 instead of 1.0 (upstream)
+    for correct dpkg version comparison.
   * Patchset update:
     - Remove merged patch make-using-gnuinstalldirs .
     - Remove merged patch fix-more-float-comparison-precision-issue .
     - Drop patch post_rc5_upstream_updates.patch .
+  * Rules: update CAFFE_SOVER and get-orig-source accordingly.
 
  -- Zhou Mo <cdluminate at gmail.com>  Mon, 17 Apr 2017 02:21:16 +0000
 
diff --git a/debian/rules b/debian/rules
index f13d333..32ad544 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,8 +10,8 @@ export DEB_LDFLAGS_MAINT_APPEND  = -Wl,--as-needed
 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 RULES         := debian/rules
-ORIG_SOURCE   := "https://github.com/BVLC/caffe/archive/rc5.tar.gz"
-CAFFE_SOVER   := 1.0.0-rc5
+ORIG_SOURCE   := "https://github.com/BVLC/caffe/archive/1.0.tar.gz"
+CAFFE_SOVER   := 1.0.0
 BUILDDIR      := "caffe_cpu_build"
 
 TEMPLATES     := $(wildcard debian/*.in)
@@ -115,4 +115,4 @@ override_dh_fixperms:
 	chmod -x debian/tmp/usr/lib/python3/dist-packages/caffe/proto/__init__.py
 
 get-orig-source:
-	wget -c $(ORIG_SOURCE) -O caffe_1.0.0~rc5.orig.tar.gz
+	wget -c $(ORIG_SOURCE) -O caffe_1.0.0.orig.tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe.git



More information about the debian-science-commits mailing list