From 1490c8d6dd94f1b58718f6bc61ba78cf8a0a2e26 Mon Sep 17 00:00:00 2001 From: Antoine Beaupré Date: Thu, 14 Jan 2016 14:59:00 -0500 Subject: fix makefile version patterns to ignore non-native version numbers (cherry picked from commit 70289c2491fee8aa5dbae4cc5c7425556d60f319) --- Makefile | 4 ++-- debian/changelog | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c95d51a..007faae 100644 --- a/Makefile +++ b/Makefile @@ -59,11 +59,11 @@ clean: etckeeper.spec etckeeper.version rm -rf build etckeeper.spec: - sed -i~ "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/';m/\((.*?)(-.*)?\)/;print $$1;';print m/\((.*?)\)/';m/\((.*?)(-.*)?\)/;print $$1;' Mon, 21 Sep 2015 16:38:03 -0400 -- cgit v1.2.3