[openbsc] 01/01: Set version explicitly and make sure the clean targets cleans everything properly

Ruben Undheim rubund-guest at moszumanska.debian.org
Sun Feb 7 16:18:41 UTC 2016


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

rubund-guest pushed a commit to branch master
in repository openbsc.

commit a59147eeb16d2d1f78e4bcc30e664201628f819b
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Sun Feb 7 17:02:54 2016 +0100

    Set version explicitly and make sure the clean targets cleans everything properly
---
 debian/patches/series                       |  1 +
 debian/patches/set_version_explicitly.patch | 36 +++++++++++++++++++++++++++++
 debian/rules                                |  4 ++++
 3 files changed, 41 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index bb4e615..5409420 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 fix_include_dir.patch
 temporarily_skip_test.patch
+set_version_explicitly.patch
diff --git a/debian/patches/set_version_explicitly.patch b/debian/patches/set_version_explicitly.patch
new file mode 100644
index 0000000..7aebfa4
--- /dev/null
+++ b/debian/patches/set_version_explicitly.patch
@@ -0,0 +1,36 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ openbsc (0.15.0-1) UNRELEASED; urgency=low
+ .
+   * Initial release (Closes: #806583)
+Author: Ruben Undheim <ruben.undheim at gmail.com>
+Bug-Debian: https://bugs.debian.org/806583
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- openbsc-0.15.0.orig/openbsc/configure.ac
++++ openbsc-0.15.0/openbsc/configure.ac
+@@ -1,6 +1,6 @@
+ dnl Process this file with autoconf to produce a configure script
+ AC_INIT([openbsc],
+-	m4_esyscmd([./git-version-gen .tarball-version]),
++	0.15.0,
+ 	[openbsc at lists.osmocom.org])
+ 
+ AM_INIT_AUTOMAKE([dist-bzip2])
diff --git a/debian/rules b/debian/rules
index 66b6b0f..10e8a29 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 override_dh_auto_configure:
 	dh_auto_configure --sourcedirectory=openbsc -- --enable-nat --enable-osmo-bsc --enable-smpp
 
+override_dh_clean:
+	rm -f openbsc/.version openbsc/tests/package.m4 openbsc/tests/testsuite
+	dh_clean
+
 #override_dh_installman:
 #	cd debian/man ; CHANGELOG_DATE="$(CHANGELOG_DATE)" ./genmanpages.sh
 #	dh_installman

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



More information about the debian-science-commits mailing list