diff --git a/debian/watch b/debian/watch index 5bf7c2b..303bfea 100644 --- a/debian/watch +++ b/debian/watch @@ -6,7 +6,6 @@ # Compulsory line, this is a version 3 file version=3 -# Find new releases on GitHub -# (uses redirector service from Gunnar Wolf: -# http://githubredir.debian.net) -http://githubredir.debian.net/githubredir.cgi?author=dailab&project=libsml (.*).tar.gz +# adapted from https://github.com/gwolf/dh-make-drupal/blob/master/debian/watch +opts="filenamemangle=s/(?:.*)?v?(\d[\d\.]*)\.tar\.gz/libsml-$1.tar.gz/" + https://github.com/volkszaehler/libsml/tags (?:.*/)?v?(\d[\d\.]*).tar.gz diff --git a/sml.pc b/sml.pc index 4980c97..277da6a 100644 --- a/sml.pc +++ b/sml.pc @@ -5,7 +5,7 @@ includedir=${prefix}/include Name: libSML Description: Library for the Smart Messaging Language (SML) -Version: 0.1 +Version: 1.0 URL: http://github.com/volkszaehler/libsml Requires: uuid >= 2.16 Libs: -L${libdir} -lsml