Package: src:libcmis Version: 0.5.0-3 Severity: important Tags: patch * Bump the standards version. * Remove cruft in the debian directory. * Enable parallel builds. * Stop building with -O0 on armhf. * Really use dpkg-buildflags.
* Bump the standards version. * Remove cruft in the debian directory. * Enable parallel builds. * Stop building with -O0 on armhf. * Really use dpkg-buildflags. diff -Nru libcmis-0.5.0/debian/control libcmis-0.5.0/debian/control --- libcmis-0.5.0/debian/control 2015-08-03 14:34:29.000000000 +0200 +++ libcmis-0.5.0/debian/control 2015-09-11 11:22:30.000000000 +0200 @@ -2,7 +2,7 @@ Priority: optional Maintainer: Rene Engelhard <r...@debian.org> BuIld-Depends: debhelper (>= 8.0.0), autotools-dev, libxml2-dev, libboost-dev, libboost-program-options-dev, libcurl4-gnutls-dev, libcppunit-dev (= 1.13.2-2.1), docbook-to-man, libboost-date-time-dev, dpkg-dev (>= 1.16.1), pkg-config, dh-autoreconf -Standards-Version: 3.9.2 +Standards-Version: 3.9.6 Section: libs Homepage: http://libcmis.sourceforge.net/ diff -Nru libcmis-0.5.0/debian/libcmis-0.5-5.postinst.debhelper libcmis-0.5.0/debian/libcmis-0.5-5.postinst.debhelper --- libcmis-0.5.0/debian/libcmis-0.5-5.postinst.debhelper 2015-04-05 08:57:14.000000000 +0200 +++ libcmis-0.5.0/debian/libcmis-0.5-5.postinst.debhelper 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -# Automatically added by dh_makeshlibs -if [ "$1" = "configure" ]; then - ldconfig -fi -# End automatically added section diff -Nru libcmis-0.5.0/debian/libcmis-0.5-5.postrm.debhelper libcmis-0.5.0/debian/libcmis-0.5-5.postrm.debhelper --- libcmis-0.5.0/debian/libcmis-0.5-5.postrm.debhelper 2015-04-05 08:57:14.000000000 +0200 +++ libcmis-0.5.0/debian/libcmis-0.5-5.postrm.debhelper 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -# Automatically added by dh_makeshlibs -if [ "$1" = "remove" ]; then - ldconfig -fi -# End automatically added section diff -Nru libcmis-0.5.0/debian/libcmis-0.5-5.substvars libcmis-0.5.0/debian/libcmis-0.5-5.substvars --- libcmis-0.5.0/debian/libcmis-0.5-5.substvars 2015-04-05 08:57:17.000000000 +0200 +++ libcmis-0.5.0/debian/libcmis-0.5-5.substvars 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -shlibs:Depends=libboost-date-time1.55.0, libc6 (>= 2.14), libcmis-0.5-5, libcurl3-gnutls (>= 7.16.2), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.9), libxml2 (>= 2.7.4) -misc:Depends= diff -Nru libcmis-0.5.0/debian/rules libcmis-0.5.0/debian/rules --- libcmis-0.5.0/debian/rules 2015-08-03 14:16:52.000000000 +0200 +++ libcmis-0.5.0/debian/rules 2015-09-11 11:34:58.000000000 +0200 @@ -11,15 +11,16 @@ include /usr/share/dpkg/architecture.mk +DPKG_EXPORT_BUILDFLAGS=1 include /usr/share/dpkg/buildflags.mk -ifneq (,$(findstring arm,$(DEB_HOST_ARCH))) - CXXFLAGS += -O0 - export CXXFLAGS +COMMA = , +ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) + NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) endif %: - dh $@ --with autoreconf + dh $@ --parallel --with autoreconf override_dh_clean: rm -f libcmis-0.4.pc @@ -34,10 +35,10 @@ endif override_dh_auto_build: - $(MAKE) + $(MAKE) $(NJOBS) override_dh_auto_test: - $(MAKE) check + $(MAKE) $(NJOBS) check override_dh_auto_install: dh_auto_install