Use automatic dh_makeshlib version dependency

This will default to the current package version number.
This commit is contained in:
Russell Sim 2014-03-09 22:29:18 +11:00
parent af4ddbe4df
commit 53e01caec5
2 changed files with 3 additions and 2 deletions

1
debian/changelog vendored
View File

@ -4,6 +4,7 @@ libgit2 (0.20.0-1) UNRELEASED; urgency=medium
* debian/patches/disable_online_tests.patch: Renamed to * debian/patches/disable_online_tests.patch: Renamed to
disable_tests.patch. disable_tests.patch.
* debian/patches/disable_tests.patch: Disabled blame test. * debian/patches/disable_tests.patch: Disabled blame test.
* debian/rules: Use automatic dh_makeshlib version dependency.
-- Russell Sim <russell.sim@gmail.com> Thu, 13 Feb 2014 09:17:02 +1100 -- Russell Sim <russell.sim@gmail.com> Thu, 13 Feb 2014 09:17:02 +1100

4
debian/rules vendored
View File

@ -26,7 +26,7 @@ override_dh_auto_configure:
override_dh_makeshlibs: override_dh_makeshlibs:
dh_makeshlibs -V 'libgit2-0 (>= 0.19.0)' dh_makeshlibs -V
override_dh_auto_build : override_dh_auto_build :
dh_auto_build --builddirectory=build-debian-release dh_auto_build --builddirectory=build-debian-release
@ -43,5 +43,5 @@ override_dh_installexamples:
dh_installexamples --exclude .gitignore dh_installexamples --exclude .gitignore
%: %:
dh $@ --parallel --buildsystem cmake --dbg-package=libgit2-dbg --builddirectory=build-debian-release dh $@ --parallel --buildsystem cmake --dbg-package=libgit2-dbg --builddirectory=build-debian-release
dh $@ --parallel --buildsystem cmake --builddirectory=build-debian-devel dh $@ --parallel --buildsystem cmake --builddirectory=build-debian-devel