diff --git a/debian/changelog b/debian/changelog index 46410cd..e6ad316 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +jawn (0.10.4-2) UNRELEASED; urgency=medium + + * Team upload. + * Standards-Version updated to 4.2.1 + + -- Emmanuel Bourg Tue, 13 Nov 2018 12:40:26 +0100 + jawn (0.10.4-1) experimental; urgency=medium * Initial release. (Closes: #855299) diff --git a/debian/control b/debian/control index ccb15f4..f7e78f5 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ default-jdk, javahelper, maven-repo-helper -Standards-Version: 3.9.8 +Standards-Version: 4.2.1 Homepage: https://github.com/non/jawn Package: libjawn-java diff --git a/debian/rules b/debian/rules index 59ae2e5..cc5fd89 100755 --- a/debian/rules +++ b/debian/rules @@ -7,14 +7,6 @@ PKD = $(abspath $(dir $(MAKEFILE_LIST))) SRCPKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source)) BINPKG = lib$(SRCPKG)-java -PKGVER ?= $(shell dpkg-parsechangelog -l$(PKD)/changelog -SVersion | cut -d- -f1) -SBTVER ?= $(shell grep sbt.version= $(CURDIR)/project/build.properties | sed 's/.*=//') -URL = https://dl.bintray.com/sbt/native-packages/sbt/$(SBTVER)/sbt-$(SBTVER).tgz - -PKG_ORIG = $(CURDIR)/../$(SRCPKG)_$(PKGVER).orig.tar.gz -BOOTSTRAP_SBT = $(CURDIR)/../$(SRCPKG)_$(PKGVER).orig-bootstrapsbt.tar.xz -BOOTSTRAP_DEPS = $(CURDIR)/../$(SRCPKG)_$(PKGVER).orig-bootstrapdeps.tar.xz -BOOTSTRAP_DEPS_SOURCES = $(CURDIR)/../$(SRCPKG)_$(PKGVER).orig-bootstrapdeps-sources.tar.xz %: dh $@ --with javahelper --with maven_repo_helper @@ -32,52 +24,3 @@ override_dh_clean: rm -fr .git $(SBTHOME) project/project $(shell find ./ -name target -type d) debian/$(BINPKG).poms dh_clean - -.PHONY: get-orig-source - -get-orig-source: $(PKG_ORIG) $(BOOTSTRAP_DEPS) $(BOOTSTRAP_DEPS_SOURCES) - -$(PKG_ORIG): - @echo - @echo "Downloading latest $(SRCPKG)-$(PKGVER)" - uscan --noconf --verbose --rename --check-dirname-level=0 --download-version $(PKGVER) $(PKD) - -$(BOOTSTRAP_SBT): - @echo - @echo "Fetching sbt binary for bootstrap" - wget -q $(URL) - rm -fr bootstrapsbt - mkdir bootstrapsbt - tar -C bootstrapsbt --strip-components=1 -zxf sbt-$(SBTVER).tgz - tar -JcC bootstrapsbt -f $(BOOTSTRAP_SBT) . - rm -fr sbt-$(SBTVER).tgz - -$(BOOTSTRAP_DEPS) $(BOOTSTRAP_DEPS_SOURCES): $(BOOTSTRAP_SBT) - @echo - @echo "Fetching online sbt project build dependancies" - rm -fr bootstrapsbt bootstrapdeps-sources - mkdir bootstrapsbt - tar -Jx -C bootstrapsbt -f $(BOOTSTRAP_SBT) - mkdir -p $(SBTHOME)/.ivy2/cache - mkdir $(SBTHOME)/.sbt - $(SBTCMD) update - #$(SBTCMD) update updateSbtClassifiers - # "update" compiles compiler-interface jar with the scala defined by - # the project, so we remove it and store all jar srcs into a dedicated - # debian source component that will be copied before compiling the - # whole project, including the compiler-interface jar - # After bootstrap, we intend to provide this compiler-interface, built - # with debian's scala - rm -fr $(SBTHOME)/.ivy2/cache/org.scala-sbt/org.scala-sbt-compiler-interface-* - # .properties and .xml.original will be regenerated and that will avoid unnecessary debian/copyright work - find $(SBTHOME)/.ivy2/cache \( -name '*.properties' -o -name '*.xml.original' \) -delete - # remove path with no jar file - find $(SBTHOME)/.ivy2/cache/ -name '*.xml' |while read DIR; do \ - if [ ! -d $${DIR%/*}/jars -a ! -d $${DIR%/*}/bundles -a ! -d $${DIR%/*}/orbits ]; then rm -fr $${DIR%/*}; fi done - cd $(SBTHOME)/.ivy2/cache ; find . -type d -name 'srcs'| while read DIR; do \ - mkdir -p $(CURDIR)/bootstrapdeps-sources/$$DIR ; \ - mv $$DIR/* $(CURDIR)/bootstrapdeps-sources/$$DIR ; \ - rm -fr $$DIR ; \ - done - tar -JcC $(SBTHOME)/.ivy2/cache/ -f $(BOOTSTRAP_DEPS) . - tar -Jc -f $(BOOTSTRAP_DEPS_SOURCES) bootstrapdeps-sources