2020-08-29 18:24:23 +08:00
|
|
|
%global realname sd_notify
|
|
|
|
|
%global upstream systemd
|
|
|
|
|
Name: erlang-sd_notify
|
|
|
|
|
Version: 1.0
|
2023-07-23 10:56:33 +08:00
|
|
|
Release: 2
|
2020-08-29 18:24:23 +08:00
|
|
|
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
|
2023-07-23 10:56:33 +08:00
|
|
|
BuildRequires: erlang-eunit
|
2020-08-29 18:24:23 +08:00
|
|
|
%description
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{erlang_compile}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{erlang_install}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%{erlang_test}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{erlang_appdir}/
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-07-23 10:56:33 +08:00
|
|
|
* Sun Jul 23 2023 yaoxin <yao_xin001@hoperun.com> - 1.0-2
|
|
|
|
|
- Fix test failure
|
|
|
|
|
|
2020-08-29 18:24:23 +08:00
|
|
|
* Sat Aug 29 2020 yaokai <yaokai13@huawei.com> - 1.0-1
|
|
|
|
|
- package init
|