%global realname sd_notify %global upstream systemd Name: erlang-sd_notify Version: 1.0 Release: 1 Summary: Erlang interface to systemd notify subsystem License: MIT URL: https://github.com/systemd/erlang-sd_notify Source0: https://github.com/systemd/erlang-sd_notify/archive/v%{version}/erlang-sd_notify-%{version}.tar.gz BuildRequires: erlang-rebar BuildRequires: gcc BuildRequires: systemd-devel %description %{summary}. %prep %autosetup %build %{erlang_compile} %install %{erlang_install} %check %{erlang_test} %files %license LICENSE %{erlang_appdir}/ %changelog * Sat Aug 29 2020 yaokai - 1.0-1 - package init