Skip to content

Commit

Permalink
Merge pull request #27 from systemd/erlang-sd_notify-26
Browse files Browse the repository at this point in the history
Change package version to 1.0
  • Loading branch information
Gsantomaggio authored Apr 13, 2017
2 parents 7ce8a5a + f0ac281 commit 34d9db8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packaging/centos/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FINAL_OUTPUT_DIR=FINAL_RPMS



VERSION=0.14
VERSION=1.0

# Directory names
RPM_BUILD_DIR=rpm-build
Expand Down
5 changes: 4 additions & 1 deletion packaging/centos/erlang-sd_notify.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%global realname sd_notify
%global upstream systemd
%global upstream_version 0.14
%global upstream_version 1.0



Expand Down Expand Up @@ -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 <[email protected]> - 1.0
- build for 1.0

* Wed Dec 14 2016 Gabriele Santomaggio <[email protected]> - 0.14
- build for 0.14

Expand Down
2 changes: 1 addition & 1 deletion packaging/deb/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=0.14
VERSION=1.0

# Directory names
DEB_BUILD_DIR=deb-build
Expand Down
4 changes: 2 additions & 2 deletions packaging/deb/debian/changelog
Original file line number Diff line number Diff line change
@@ -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 <[email protected]> Wed, 14 Dec 2016 11:54:18 +0000
-- Gabriele Santomaggio <[email protected]> Thu, 13 Apr 2017 11:54:18 +0000

2 changes: 1 addition & 1 deletion test/sd_notify_test.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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),

Expand Down

0 comments on commit 34d9db8

Please sign in to comment.