diff -Nru pagein-0.01.02/debian/changelog pagein-0.01.03/debian/changelog --- pagein-0.01.02/debian/changelog 2019-07-10 09:41:23.000000000 +0000 +++ pagein-0.01.03/debian/changelog 2019-08-12 15:47:25.000000000 +0000 @@ -1,3 +1,11 @@ +pagein (0.01.03-1) unstable; urgency=medium + + * Makefile: bump version + * Debian: update compat to level 12 + * snapcraft: use automatic versioning + + -- Colin King Mon, 12 Aug 2019 16:47:25 +0100 + pagein (0.01.02-1) unstable; urgency=medium * Makefile: remove -g flag, bump version diff -Nru pagein-0.01.02/debian/compat pagein-0.01.03/debian/compat --- pagein-0.01.02/debian/compat 2019-07-10 09:41:23.000000000 +0000 +++ pagein-0.01.03/debian/compat 2019-08-12 15:47:25.000000000 +0000 @@ -1 +1 @@ -11 +12 diff -Nru pagein-0.01.02/debian/control pagein-0.01.03/debian/control --- pagein-0.01.02/debian/control 2019-07-10 09:41:23.000000000 +0000 +++ pagein-0.01.03/debian/control 2019-08-12 15:47:25.000000000 +0000 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Colin King Standards-Version: 4.1.2 -Build-Depends: debhelper (>= 11) +Build-Depends: debhelper (>= 12) Homepage: http://kernel.ubuntu.com/~cking/pagein Package: pagein diff -Nru pagein-0.01.02/Makefile pagein-0.01.03/Makefile --- pagein-0.01.02/Makefile 2019-07-10 09:42:13.000000000 +0000 +++ pagein-0.01.03/Makefile 2019-08-12 15:48:18.000000000 +0000 @@ -16,7 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -VERSION=0.01.02 +VERSION=0.01.03 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 # diff -Nru pagein-0.01.02/snapcraft/Makefile pagein-0.01.03/snapcraft/Makefile --- pagein-0.01.02/snapcraft/Makefile 2019-07-10 09:42:13.000000000 +0000 +++ pagein-0.01.03/snapcraft/Makefile 2019-08-12 15:48:18.000000000 +0000 @@ -1,18 +1,6 @@ -VERSION=$(shell git tag | tail -1 | cut -c2-) -COMMITS=$(shell git log --oneline | wc -l) -SHA=$(shell git log -1 --oneline | cut -d' ' -f1) -DATE=$(shell date +'%Y%m%d-1') -V=$(VERSION)-$(DATE)-$(COMMITS)-$(SHA) - -all: set_version +all: snapcraft -set_version: - cat snapcraft.yaml | sed 's/version: .*/version: $(V)/' > snapcraft-tmp.yaml - mv snapcraft-tmp.yaml snapcraft.yaml - clean: rm -rf setup *.snap snapcraft clean - cat snapcraft.yaml | sed 's/version: .*/version: 0/' > snapcraft-tmp.yaml - mv snapcraft-tmp.yaml snapcraft.yaml diff -Nru pagein-0.01.02/snapcraft/snapcraft.yaml pagein-0.01.03/snapcraft/snapcraft.yaml --- pagein-0.01.02/snapcraft/snapcraft.yaml 2019-07-10 09:42:13.000000000 +0000 +++ pagein-0.01.03/snapcraft/snapcraft.yaml 2019-08-12 15:48:18.000000000 +0000 @@ -1,5 +1,7 @@ name: pagein -version: 0.00.03-20170425-1-25-20f7268 +version: git +version-script: | + echo $(git describe --tags) summary: tool to force swapped out pages back into memory description: Pagein is a tool that forces pages that are in swap to be paged in back to memory. The main usecase for pagein is to exercise the VM and swap subsystems for testing purposes. confinement: devmode