From f0ac281370a1351c14bc055e390dd1c0c08995d9 Mon Sep 17 00:00:00 2001 From: Gabriele Santomaggio Date: Thu, 13 Apr 2017 15:20:46 +0200 Subject: Change package version to 1.0 --- packaging/centos/Makefile | 2 +- packaging/centos/erlang-sd_notify.spec | 5 ++++- packaging/deb/Makefile | 2 +- packaging/deb/debian/changelog | 4 ++-- test/sd_notify_test.erl | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/packaging/centos/Makefile b/packaging/centos/Makefile index 8055c42..f562389 100644 --- a/packaging/centos/Makefile +++ b/packaging/centos/Makefile @@ -2,7 +2,7 @@ FINAL_OUTPUT_DIR=FINAL_RPMS -VERSION=0.14 +VERSION=1.0 # Directory names RPM_BUILD_DIR=rpm-build diff --git a/packaging/centos/erlang-sd_notify.spec b/packaging/centos/erlang-sd_notify.spec index 5bdf0f6..ea2cd26 100644 --- a/packaging/centos/erlang-sd_notify.spec +++ b/packaging/centos/erlang-sd_notify.spec @@ -1,6 +1,6 @@ %global realname sd_notify %global upstream systemd -%global upstream_version 0.14 +%global upstream_version 1.0 @@ -46,6 +46,9 @@ install -m 755 -p priv/%{realname}_drv.so $RPM_BUILD_ROOT%{_libdir}/erlang/lib/% %changelog +* Thu Apr 13 2017 Gabriele Santomaggio - 1.0 +- build for 1.0 + * Wed Dec 14 2016 Gabriele Santomaggio - 0.14 - build for 0.14 diff --git a/packaging/deb/Makefile b/packaging/deb/Makefile index 0395dc6..dd8bf0a 100644 --- a/packaging/deb/Makefile +++ b/packaging/deb/Makefile @@ -1,4 +1,4 @@ -VERSION=0.14 +VERSION=1.0 # Directory names DEB_BUILD_DIR=deb-build diff --git a/packaging/deb/debian/changelog b/packaging/deb/debian/changelog index e298565..35fb080 100644 --- a/packaging/deb/debian/changelog +++ b/packaging/deb/debian/changelog @@ -1,6 +1,6 @@ -erlang-sd-notify (0.14-1) UNRELEASED; urgency=medium +erlang-sd-notify (1.0-1) UNRELEASED; urgency=medium * Update for stub for NIF upgrade improvement - -- Gabriele Santomaggio Wed, 14 Dec 2016 11:54:18 +0000 + -- Gabriele Santomaggio Thu, 13 Apr 2017 11:54:18 +0000 diff --git a/test/sd_notify_test.erl b/test/sd_notify_test.erl index 72a4d3f..4ae437a 100644 --- a/test/sd_notify_test.erl +++ b/test/sd_notify_test.erl @@ -8,7 +8,7 @@ sd_notify_test_() -> sd_notify_test_local("19") -> {ok, CWD} = file:get_cwd(), - FakeNotifyUnixSockName = CWD ++ "/fake-notify-udp-sock-" ++ integer_to_list(erlang:phash2(make_ref())), + FakeNotifyUnixSockName = CWD ++ "/fake-sock-" ++ integer_to_list(erlang:phash2(make_ref())), {ok, FakeNotifyUnixSock} = gen_udp:open(0, [{ifaddr, {local, FakeNotifyUnixSockName}}, {active, false}, list]), os:putenv("NOTIFY_SOCKET", FakeNotifyUnixSockName), -- cgit v1.2.1