diff -Nru libmd-1.0.1/debian/changelog libmd-1.0.1/debian/changelog --- libmd-1.0.1/debian/changelog 2019-02-16 17:58:33.000000000 +0000 +++ libmd-1.0.1/debian/changelog 2019-08-17 13:56:55.000000000 +0000 @@ -1,3 +1,12 @@ +libmd (1.0.1-3) unstable; urgency=medium + + * Switch to debhelper compatibility level 12. + * Switch from debian/compat to debhelper-commpat in Build-Depends. + * Switch to Standards-Version 4.4.0 (no changes needed). + * Switch to dh sequencer. + + -- Guillem Jover Sat, 17 Aug 2019 15:56:55 +0200 + libmd (1.0.1-2) unstable; urgency=medium * Perform a proper and correct /usr-merge transition by moving the package diff -Nru libmd-1.0.1/debian/compat libmd-1.0.1/debian/compat --- libmd-1.0.1/debian/compat 2018-01-13 18:53:58.000000000 +0000 +++ libmd-1.0.1/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -11 diff -Nru libmd-1.0.1/debian/control libmd-1.0.1/debian/control --- libmd-1.0.1/debian/control 2019-02-03 23:22:46.000000000 +0000 +++ libmd-1.0.1/debian/control 2019-08-08 21:12:06.000000000 +0000 @@ -5,10 +5,10 @@ Vcs-Browser: https://git.hadrons.org/cgit/debian/pkgs/libmd.git Vcs-Git: https://git.hadrons.org/git/debian/pkgs/libmd.git Homepage: https://www.hadrons.org/software/libmd/ -Standards-Version: 4.3.0 +Standards-Version: 4.4.0 Rules-Requires-Root: no Build-Depends: - debhelper (>= 11.1), + debhelper-compat (= 12), Package: libmd-dev Section: libdevel diff -Nru libmd-1.0.1/debian/rules libmd-1.0.1/debian/rules --- libmd-1.0.1/debian/rules 2019-02-03 23:24:30.000000000 +0000 +++ libmd-1.0.1/debian/rules 2019-08-08 21:13:45.000000000 +0000 @@ -3,87 +3,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow -DEB_CFLAGS_MAINT_PREPEND = -Wall +export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow +export DEB_CFLAGS_MAINT_PREPEND = -Wall -include /usr/share/dpkg/default.mk - -ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) - confflags += --build=$(DEB_HOST_GNU_TYPE) -else - confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) -endif - -D = $(CURDIR)/debian - -config.status: configure - dh_testdir - dh_update_autotools_config - - ./configure \ - CPPFLAGS="$(CPPFLAGS)" \ - CFLAGS="$(CFLAGS)" \ - LDFLAGS="$(LDFLAGS)" \ - $(confflags) \ - --disable-silent-rules \ - --prefix=/usr \ - --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) - -build-indep: - -build-arch: config.status - dh_testdir - -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - $(MAKE) VERBOSE=1 check -else - $(MAKE) -endif - -build: build-indep build-arch - -clean: - dh_testdir - dh_testroot - - [ ! -f Makefile ] || $(MAKE) distclean - - dh_clean - -install-indep: - -install-arch: build-arch - dh_testdir - dh_testroot - dh_prep - dh_installdirs -a - - $(MAKE) install DESTDIR=$(D)/tmp - -install: - -binary-indep: install-indep -# Nothing to do. - -binary-arch: install-arch - dh_testdir - dh_testroot - dh_install -a - dh_installchangelogs -a - dh_installdocs -a - dh_installman -a - dh_link -a - dh_strip -a - dh_compress -a - dh_fixperms -a - dh_missing -a --list-missing - dh_makeshlibs -a - dh_installdeb -a - dh_shlibdeps -a - dh_gencontrol -a - dh_md5sums -a - dh_builddeb -a - -binary: binary-arch binary-indep - -.PHONY: build-indep build-arch build clean binary-indep binary-arch binary install +%: + dh $@