diff -Nru glpk-java-1.12.0/debian/changelog glpk-java-1.12.0/debian/changelog --- glpk-java-1.12.0/debian/changelog 2018-03-08 09:35:41.000000000 +0000 +++ glpk-java-1.12.0/debian/changelog 2021-01-14 14:06:27.000000000 +0000 @@ -1,3 +1,14 @@ +glpk-java (1.12.0-2) unstable; urgency=medium + + * Bump to debhelper 13 + * debian/rules: simplify using debhelper 12.8’s execute_after_* rules + * disable-relax4.patch: new patch, fixes FTBFS (Closes: #978311) + * debian/watch: bump to format v4 + * debian/control: add Rules-Requires-Root: no + * Bump to S-V 4.5.1 + + -- Sébastien Villemot Thu, 14 Jan 2021 15:06:27 +0100 + glpk-java (1.12.0-1) unstable; urgency=medium * New upstream version 1.12.0 diff -Nru glpk-java-1.12.0/debian/compat glpk-java-1.12.0/debian/compat --- glpk-java-1.12.0/debian/compat 2018-03-08 09:33:24.000000000 +0000 +++ glpk-java-1.12.0/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -11 diff -Nru glpk-java-1.12.0/debian/control glpk-java-1.12.0/debian/control --- glpk-java-1.12.0/debian/control 2018-03-08 09:35:08.000000000 +0000 +++ glpk-java-1.12.0/debian/control 2021-01-14 14:05:51.000000000 +0000 @@ -3,14 +3,16 @@ Uploaders: Sébastien Villemot Section: java Priority: optional -Build-Depends: debhelper (>= 11), +Build-Depends: debhelper-compat (= 13), + debhelper (>= 12.8~), libglpk-dev (>= 4.52.1), swig, default-jdk (>= 2:1.8) -Standards-Version: 4.1.3 +Standards-Version: 4.5.1 Vcs-Browser: https://salsa.debian.org/science-team/glpk-java Vcs-Git: https://salsa.debian.org/science-team/glpk-java.git Homepage: http://glpk-java.sourceforge.net +Rules-Requires-Root: no Package: libglpk-java Architecture: any diff -Nru glpk-java-1.12.0/debian/patches/disable-relax4.patch glpk-java-1.12.0/debian/patches/disable-relax4.patch --- glpk-java-1.12.0/debian/patches/disable-relax4.patch 1970-01-01 00:00:00.000000000 +0000 +++ glpk-java-1.12.0/debian/patches/disable-relax4.patch 2021-01-14 14:01:53.000000000 +0000 @@ -0,0 +1,21 @@ +Description: Disable Relax4 test + The corresponding routine in GLPK has been disabled, due to licensing issues. +Author: Sébastien Villemot +Bug-Debian: https://bugs.debian.org/978311 +Forwarded: no +Last-Update: 2021-01-14 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/swig/Makefile.am ++++ b/swig/Makefile.am +@@ -93,10 +93,6 @@ check: + java -Djava.library.path=../../swig/.libs \ + -classpath ../../swig/glpk-java.jar:. MinimumCostFlow && \ + rm mincost.dimacs mincost.lp +- cd ../examples/java;$(JAVAC) -source 1.8 -target 1.8 \ +- -classpath ../../swig/glpk-java.jar Relax4.java +- cd ../examples/java;java -Djava.library.path=../../swig/.libs \ +- -classpath ../../swig/glpk-java.jar:. Relax4 sample.min + + check-swing: + cd ../examples/java;$(JAVAC) -source 1.8 -target 1.8 \ diff -Nru glpk-java-1.12.0/debian/patches/series glpk-java-1.12.0/debian/patches/series --- glpk-java-1.12.0/debian/patches/series 2013-12-05 17:33:48.000000000 +0000 +++ glpk-java-1.12.0/debian/patches/series 2021-01-14 14:00:37.000000000 +0000 @@ -1 +1,2 @@ +disable-relax4.patch diff -Nru glpk-java-1.12.0/debian/rules glpk-java-1.12.0/debian/rules --- glpk-java-1.12.0/debian/rules 2017-08-06 21:53:38.000000000 +0000 +++ glpk-java-1.12.0/debian/rules 2021-01-14 13:59:19.000000000 +0000 @@ -7,12 +7,10 @@ override_dh_auto_configure: dh_auto_configure -- --disable-maven JAVA_HOME="/usr/lib/jvm/default-java/" -override_dh_auto_install: - dh_auto_install +execute_after_dh_auto_install: find $(CURDIR)/debian/libglpk-java -name '*.la' -delete -override_dh_installexamples: - dh_installexamples +execute_after_dh_installexamples: find $(CURDIR)/debian/libglpk-java/usr/share/doc -name '*.class' -delete override_dh_makeshlibs: diff -Nru glpk-java-1.12.0/debian/watch glpk-java-1.12.0/debian/watch --- glpk-java-1.12.0/debian/watch 2013-12-05 17:33:48.000000000 +0000 +++ glpk-java-1.12.0/debian/watch 2021-01-14 14:03:19.000000000 +0000 @@ -1,2 +1,2 @@ -version=3 +version=4 http://sf.net/glpk-java/libglpk-java-(.*)\.tar\.gz